I'm working on displaying the Categories that have been applied to a given page, but I'm having issues with ordering the collection in the page transformation when using a macro.Here's the macro in...
hello kentico i have this structure in page Mypage==@CitiesContainer==@Toronto==@LocationContainer==@ Apple Sonyin mypage i want get locations of everycity is there any macro like(toronto have appl...
How do I get a field value (CourseID) from the code behind of a custom web user control which has been registered in a custom form layout?I’ve been using the following code which inherit from CMSAb...
Not sure why this isn't working this time because it did prior but I want to set visibility of some fields on the Form tab of a document. {% if(CurrentDocument.NodeLevel == 2 @@ CurrentDocument.N...
Hi,When i call DocumentContext.CurrentDocument.Children[6] the filds that i created in that pageType are empty.
I'm trying to figure out how to determine if a page is the first child of its parent and I can't seem to get it.I have the parent page set up to redirect to the first child. The using portal page i...
Hello, I've defined a new property, let's say @identifier@, for the document type @Page (menu item)@. I want to use this property in more than one web part inside the page. I use the following: {%C...
Hello, I'm trying to programmatically find all the children of a specific page in my content tree.I've used both DocumentContext.CurrentDocument.Children and DocumentContext.CurrentDocument.AllChil...