Thursday, 3 July 2008

X3 How To Series: How to get the page reference of a content function


You can access a content function just like a page within EPiServer using the following piece of code. I used this in an xform x3 control to set the statistics information.

Statistics.PageLink = new PageReference(ContentFunctionData.ContentFunctionLink.ID);

No comments: