Is it possible to programmatically determine if a TreeNode is of a Container Page Type?

Samuel Hii asked on May 24, 2023 19:52

I see there's a TreeNode TypeInfo property of type ObjectTypeInfo.

But I'm not sure if there's a property in that object or the TreeNode object that indicates a container page type.

Recent Answers


Eric Dugre answered on May 25, 2023 21:34

To determine whether a page is a container, you can reference the IsCoupled page property. This corresponds with the CMS_Class.ClassIsCoupledClass column of the page's type- when a page type doesn't have a coupled data table, it is considered a container page type.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.