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

Vote:
 
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
#15936
Mar 25, 2008 19:07
Vote:
 
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(); } }
#16664
Mar 25, 2008 19:13
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.