Custom Property and PageType

Vote:
 

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

/Jonas

#27878
Feb 11, 2009 14:52
Vote:
 
You might try this:

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

/johan
 
#27879
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.