Hi I was wondering if there's a list somewhere of properties on a document?
I'm trying to check if a document is of a given document type in a transform.
Yes, it's not available in ascx transformation.
Try DataItem.Parent.ClassName, maybe it helps
Look at CMS.DocumentEngine.TreeNode class.
If you want to check type, use ClassName property
Thanks very much Anton!
Any idea why Documents[NodeAliasPath].Parent.ClassName doesn't work in an ascx transformation?
Documents doesn't seem to be available?
Thanks Anton I really appreciate it
Please, sign in to be able to submit a new answer.