I have extended the List core component and we have added a custom field, that I have wrapped with a header/well to group the fields together. However, the fields at the top of the screen shot are coming in from the core component -- can I turn those off somehow?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @majohns0321 ,
We can use sling resource merger properties (sling:hideResource / sling:hideChildren) to hide it.
http://www.sgaemsolutions.com/2017/09/sling-resource-merger-in-aem-63.html?m=1
Unfortunately I have not been able to get the Sling Resource Merger to work. I applied sling:hideResource to the field, but that just hides the one I want to keep. Using slide:hideChildren didn't work either - perhaps I was putting it on the wrong node.
In the core List component, we want to group the existing fields of orderBy and sortOrder, with the custom field we are adding (feature), so they are in that shaded gray area. How can we add this formatting to the dialog while suppressing the dialog from the extended component? Our CRX fields are the ones that are in the gray area. How can I remove the fields in the white area without losing the ones in the gray?
Views
Likes
Replies