How to programmatically check if a inheritance in cancelled on the path provided?
Hi,
I have a component with has a parsys inside it.
Now on breaking the inheritance on a page for this component works flawlessly as expected.
Now for a different requirement i am provided a path, but i need to check if the provided path's inheritance is broken or on. How to achieve that?
FYI: I have been checking "cq:LiveSyncCancelled" mixin type is present or not. However it doesnt seem to work for the below scenario:
- Component: I have a parsys inside the component
- Authored the above component on a page
- Inside the components parsys, i authored multiple components
- Now break the inhertitance of the parent component
- I notice that cq:LiveSyncCancelled gets added to the parent node but not for the components authored inside the parsys
So my assumption of checking if the cq:LiveSyncCancelled is present or not is not a viable solution. Any API?
Thanks