Thursday, 5 June 2008

Publishing Feature Properties

Various Features referenced in ONET.XML site definition files can be activated with Properties.

One example is the publishing feature which makes use of properties like ChromeMasterUrl, AvailablePageLayouts, SimplePublishing etc. etc.

I've tried looking online for a listing of these feature properties but there's not much out there.

One example I found was someone making use of a EnableApprovalWorflowOnPages feature property.

http://www.sharepointblogs.com/niklas/archive/2007/09/06/using-scheduling-of-pages-but-not-the-authoring-workflow.aspx


So where can I get a full listing of the properties I can specify in ONET.XML ?

I fired up Reflector and had a look into the Publishing Feature Receiver code and came up with the following list -

AlternateCssUrl
AvailablePageLayouts
AvailableWebTemplates
ChromeMasterUrl
EnableApprovalWorkflowOnDocuments
EnableApprovalWorkflowOnImages
EnableApprovalWorkflowOnPages
EnableModerationOnDocuments
EnableModerationOnImages
EnableModerationOnPages
EnableSchedulingOnDocuments
EnableSchedulingOnImages
EnableSchedulingOnPages
MigrationOverride
PagesListUrl
RequireCheckoutOnDocuments
RequireCheckoutOnImages
RequireCheckoutOnPages
SimplePublishing
VersioningOnDocuments
VersioningOnImages
VersioningOnPages

Some property names are descriptive enough to work out what they do.

No comments: