How do I get the page level of an inherited page property
I am using WCMUtils.getInheritedProperty to get an inherited page property.
Is there a way to get the page level of which that property is being inherited from?
Thank you.
I am using WCMUtils.getInheritedProperty to get an inherited page property.
Is there a way to get the page level of which that property is being inherited from?
Thank you.
Not through the WCMUtils API - if you needed that implementation you'd have to write your own inheritance logic that not only walks up the tree and gets the property value, but also returns the level. It wouldn't be the complicated - you'd have the same inputs as the WCMUtils method, but instead of returning a String you'd return some sort of object that contained both the String and the level, or perhaps the String and the Page object.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.