Custom Property and PageType


Is it possible to get PageTypeId with in a Custom Property? (EPiServer 5)


Feb 11, 2009 14:52
You might try this:

int myPageTypeID = EPiServer.DataAbstraction.PageDefinition.Load( this.PageDefinitionId ).PageTypeID;

Feb 11, 2009 15:12
* 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.