We are currently using composer and quite frankly the documentation isnt the best and examples are hard to get.
Problem:
Im using a EPiserver:PageList in a contentblock which i need to get a page's children in code behind. Code:
string URL = ContentFunctionData.Property["propertyname"].ToString(); if (String.IsNullOrEmpty(URL)) { return null; }
return GetChildren(new PageReference(URL));
Im not sure how to get a ContentFunctionData property converted so i can get a pageid or something in order to getchildren OR how to use it with pageLinkProperty.
I do know how to do it with PageData objects but when it comes to composer and the ExtensionPageData im kind of lost...
Hi!
We are currently using composer and quite frankly the documentation isnt the best and examples are hard to get.
Problem:
Im using a EPiserver:PageList in a contentblock which i need to get a page's children in code behind. Code:
Im not sure how to get a ContentFunctionData property converted so i can get a pageid or something in order to getchildren OR how to use it with pageLinkProperty.
I do know how to do it with PageData objects but when it comes to composer and the ExtensionPageData im kind of lost...