Feeds:
Posts
Comments

Posts Tagged ‘onet.xml’

There are lots of reasons this error message can occur, see: http://www.google.com/search?q=sharepoint+Server+Out+Of+Memory. In my case it happened when a new site was being provisioned using a custom site definition during the ApplyWebTemplate call. Turned out the there were subtle errors in my onet.xml. In particular I was referencing some document templates using an incorrect path:

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.