Blog

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…

Customize SharePoint 2007 Search Look

Create a panel and store default Search within that panel Set Visible attribute to False so that the default search is hidden Add new Search Locate Core.css using in the Hive or use SharePoint Designer Controls the light blue border around the search box td.ms-sbcell{ padding:0px; padding-left:2px; white-space:nowrap; border:solid 0px #7f9db9; } Controls the Textbox size and text format within the search box .ms-sbplain{ font-family:Tahoma; font-size:11pt; border:none; } Controls the…

Updating MySite Master Pages and Design

After much head banging!! I have drawn the conclusion that MySites do not work like your typical SharePoint Portal Sites. Normally one would simply check out a page whether its was a master page or an ASPX page and modify it using sharepoint designer.   While this is okay in practice this hardly holds true when dealing with MySites. If you would like to make changes to your mysites post…