Hello,I'd like to ask if it's possible to somehow dybnamically set available pages. I have container page which is used for multiple pages and under it, i can have pagetypes, but they are dependant on the parent. To iliustrate:PageType1 -> ContainerPage ->ChildPage1
PageType2 -> ContainerPage ->ChildPage2I'd like to be able to allow only ChildPage1 on first container page and allow only ChildPage2 on second container page. Using attributes I can only set both. I can obviuosly create diferent container page types, but i don't think that it's a good solution.
Is it possible to somehow control availability in code?Regards,Giedrius
I think that would be hard.
I think your suggestion to have a specific container page type is probably the easiest way to achive this.
There is another option and that is too hook events on DataFactory to check if it is allowed to create content at that location. This will interrupt the creation but I think the support to get the Cancel Reason displayed in the user interface might be lacking.