since ‎20-08-2020
‎21-08-2020
fraudoudou
Level 1
Re: Hide inherited property in page properties dialog (To... fraudoudou - Adobe Experience Manager
I managed to find a solution and actually the example from Adobe works with adjustments 🙂 You have to use the Sling Resource Merger with /mnt/override and an absolute path to inherit from the parent super component. In the XML for the tabs, all properties can be used as expected. For example: <items jcr:primaryType="nt:unstructured" sling:hideChildren="[hideinnav]" /> It is essential to use the Sling Resource Merger with an override and to use an absolute path there!
81
Views
2
Likes
0
Answers
Re: Hide inherited property in page properties dialog (Touch UI) fraudoudou - Adobe Experience Manager
I managed to find a solution and actually the example from Adobe works with adjustments 🙂 You have to use the Sling Resource Merger with /mnt/override and an absolute path to inherit from the parent super component. In the XML for the tabs, all properties can be used as expected. For example: <items jcr:primaryType="nt:unstructured" sling:hideChildren="[hideinnav]" /> It is essential to use the Sling Resource Merger with an override and to use an absolute path there!
104
Views
0
Likes
0
Comments
Re: Hide inherited property in page properties dialog (To... fraudoudou - Adobe Experience Manager
@Nikhil-Kumar Do you have a more detailed example explicitly for targeting properties from an include? I'm having the problem, that I cannot target the property inside the inherited tab, even if I would write a render condition, I'd still need to target that property somehow.
109
Views
0
Likes
0
Comments
Re: Hide inherited property in page properties dialog (To... fraudoudou - Adobe Experience Manager
I also tried this one, but it does not seem to work. I've used these properties before on custom dialogs and they worked fine.However, I'm trying to do changes to the basic tab from the Foundation page and I have no clue why it's not working here. Can you maybe point me in the right direction because none of the examples below are working? <items jcr:primaryType="nt:unstructured"> <!-- that does not work --> <title jcr:primaryType="nt:unstructured" sling:hideProperties="*"/> </items> ...
128
Views
0
Likes
0
Comments
Hide inherited property in page properties dialog (Touch UI) fraudoudou - Adobe Experience Manager
I'd like to hide a property within a certain tab that is inherited from /libs/wcm/foundation/components/basicpage/v1/basicpage (e.g. hideInNav property in basic tab). This change should only affect one page-rendering component, so I tried using sling:hideChildren, but did not manage to accomplish it. I also tried this example from Adobe, but it does not work at all.https://github.com/Adobe-Marketing-Cloud/aem-authoring-extension-page-dialog Any ideas?
149
Views
0
Likes
6
Answers and Comments
Likes from