Feeds:
Posts
Comments

Posts Tagged ‘webpart’

I came across this problem on a web application that had been working fine, then all of a sudden the “Target Audiences” property disappeared from the web part tool pane.   To solve this problem I re-associated the web application with the Shared Service Provider (SSP) and bounced IIS. 1. Web applications are associated with [...]

Read Full Post »

Got stuck on this one for a long time, more than an hour Microsoft.SharePoint.WebPartPages.WebPartPageUserException: The file is not checked out.  You must first check out this document before making changes.   at Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChangesCore(SPLayoutProperties layoutProperties, Boolean httpGet, Boolean saveCompressed, Boolean skipRightsCheck, Guid& newTypeId, Byte[]& newAllUsersProperties, Byte[]& newPerUserProperties, String[]& newLinks)   at Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChangesCore(SPLayoutProperties layoutProperties, Boolean httpGet, Boolean saveCompressed, Boolean [...]

Read Full Post »

From time to time you might want to provision your WebParts using the CAML markup and then modify them in a feature later on. Most examples on the web find the webpart based on it’s title. i.e. However you can specify the ID of a web part in your onet.xml / element manifest like so: [...]

Read Full Post »

Properties of note: ImageLinkUrl to image, can be relative. Note tokens are supported in this xml element, i.e. ~SiteCollections/SiteCollectionImages/logo.gif

Read Full Post »

The important part here is to remember to html encode the Content element. You can encode html online using this handy website: http://www.opinionatedgeek.com/dotnet/tools/htmlencode/Encode.aspx

Read Full Post »

BaseViewID: Optional Integer. Specifies the ID of the base view. BaseViewID has a corresponding property on SPView For more information hit up MSDN: http://msdn.microsoft.com/en-us/library/ms441170.aspx

Read Full Post »

Follow

Get every new post delivered to your Inbox.