Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Component default fields

Avatar

Level 2

I am working with List component and would like to remove the "max items" field from the dialog - since we won't be using it. If I remove it in CRX, it is still being populated by the resourceSuperType. How can I turn this field off?

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi, 

You could use Sling Resource Merger property "sling:hideResource"

https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/sling-resource-mer...

 

akaash2512_0-1633382270288.png

 

3 Replies

Avatar

Correct answer by
Level 2

Hi, 

You could use Sling Resource Merger property "sling:hideResource"

https://experienceleague.adobe.com/docs/experience-manager-64/developing/platform/sling-resource-mer...

 

akaash2512_0-1633382270288.png

 

Avatar

Administrator

@akaash2512 Great reply. Keep assisting others in AEM community. 

Avatar

Community Advisor

Hi @majohns0321 ,

           Try to use sling resource merger and hide those properties.

 

Regards,

Sanjay