Override fieldorder on built in properties like pagename and starts publish date etc.

Hi, I would like to take control in which order properties are displayed in edit mode for a page, I would like to control that the built in properties like pagename, start publish date etc are displayed after some other page properties on a page in edit mode. Is this possibly? Best Regards Anders
Dec 18, 2007 16:46
I havent tried myself, but here is some sample code you could try out: PageType pageType = PageType.Load(pageTypeID); foreach(PageDefinition def in pageType.Definitions) { if (def.Name == "PageName") { //set explicitly def.FieldOrder = 111; //mode down def.MoveDown(); //move up def.MoveUp(); } }
Dec 19, 2007 11:19
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.