Blog

Execute .NET Compiled code from PowerShell

I was troubleshooting some third party software the other day, it was some .NET code that was written by another vendor. Their logging scheme was lacking and the error on the browser side was less than helpful. I was mulling over the problem and the thought occurred to me, can’t I just load the DLL in to PowerShell and start executing methods until I find the problem? After a little…

Bondbyte.Shredder – Logging System

How it works The logging system uses the Windows Event viewer for logging transactions that occur during execution. These messages are unique to each type of connection and transformation definition. Transformation messages & errors that may during message processing are normally specific to our application. Connection related messages & errors are more specific to the underlying framework. In other words, FTP connections may reveal FTP type messages and errors while…

VS2012Logo

Visual Studio SharePoint List Rich HTML Field

I couldn’t figure out how to add Rich HTML field to a List I was deploying in a project. I searched MSDN, it’s literary reference for the Type property was “DataType”. I threw my hands up. I remembered a trick I used somewhere else when I creating site templates though. So I went to SharePoint. Created a quick list and Added the field I wanted. I Saved the field as…

SharePoint 2013 place holder

SharePoint 2013 Modal Dialogs that work.

Customer request modal dialogs from time to time in their applications. We use Twitter Bootstrap pretty heavy but sometimes we don’t have complete control over the JavaScript Framework. In those cases you’re forced to use the OOB SharePoint Modal implementation. The default SharePoint Master Page(s) do not include a reference to SP.UI.Modal.js. You can add the reference in the master page but then it loads on every page. New to…

Add browser compatability warning to SSRS

Explains how to tweak SQL Server Reporting Services to include a custom message. In this example we show how to add a custom message that displays a browser compatibility message. <!– js library imports – jeremy and ryan —> <scriptsrc=”http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.3.min.js”type=”text/javascript”></script> <linkrel=”stylesheet”href=”//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css”> <scriptsrc=”//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js”></script> <!– sniffs the browser for IE if not then throws the alert up of not on IE —> <scriptlanguage=”javascript”type=”text/javascript”> var agentString = navigator.userAgent.toLowerCase(); $(document).ready( function() { if (agentString.indexOf(“trident”)…

SharePoint 2007 Master Page Inheritance

Problem: When Creating Sites within a Web Applications Site Collection the Master Page can be set to inerhit but new sites do not enherit from the master page as expected. This is due to a bug in Microsoft sharepoint and has been deemed as a low priority. You can read more information below. http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/46ae97fe-0dda-4122-a725-acacb687c74a/#page:2 Reproduce: Defined a new master page and set it as default for the main site. Any…

Add more than two levels to SharePoint navigation control

Problem: Sharepoint out of the box only allows you to create Menus with a single Sub Menu within the navigation bar. Menu – | -Sub Menu Solution: If you are looking for something like this. Menu – | -Sub Menu – | -Sub Menu 1. Open the master page in SharePoint Designer. 2. Locate the SharePoint:ASPMenu within TopNavContainer. Or simply click the nav bar within the page. 3. Locate the…

Publish MySite Master page changes

Assume you have to make changes to a Mysite default.aspx or default.master page. Assume then that you have to publish your changes to all my sites. There is not link within SharePoint to access the mysite structure for all site users. Use the link below to navigate to site pages store. http://mysite/_layouts/sitemanager.aspx

Use webpart settings in all webparts

Problem: When you create or modify a webpart for a page it is only available for that page. Assume you create a list on your site and want to share that list with other sites within the collection. Solution: 1. Select Edit Page 2. Select Edit within the Webpart and then select Export 3. Save the Webpart 4. Go to the top level of your site 5. Under Galleries select…