My question is about Ability for an author to reorder each tab within the component dialog in aem | Community
Skip to main content
Level 2
Feb 7, 2020 7:56 AM UTC
Solved

My question is about Ability for an author to reorder each tab within the component dialog in aem

I want to know how to provide the numbering for each tab, so that author can provide the number to the tab as per their requirement/preference/relevance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Nirmal_Jose
Nirmal_JoseAccepted solution
Employee
Feb 11, 2020 11:24 PM UTC

As per the screenshot the number of tabs are fixed, so you can have another tab - order selector - where you can configure the order. 

Btw, I would prefer this to be done as a container and subcomponent structure instead of a blobbed up dialog.

2 replies

Nirmal_Jose
Nirmal_JoseAccepted solution
Employee
Feb 11, 2020 11:24 PM UTC

As per the screenshot the number of tabs are fixed, so you can have another tab - order selector - where you can configure the order. 

Btw, I would prefer this to be done as a container and subcomponent structure instead of a blobbed up dialog.

Translate
Employee
Feb 7, 2020 2:03 PM UTC

Have you looked into using the "sling:orderBefore (String)" proeprty and update it dynamically using Sling Models?

 

sling:orderBefore (String)

Contains the name of the sibling node that the current node should be positioned in front of."

 

More details at [1]

 

[1] https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/sling-resource-merger.html

 

 

Translate