Hi,
Can anyone help me to iterate multi-value drop-down values to sightly from multi-field touch ui dialog(AEM6.3)
sightly code
<section class="lfa-panel-container gcss-theme-${properties.theme} row" data-sly-use.component="${'**********' @compName='******'}" data-sly-list="${componentmultifieldlist}"> Iterating Multifield items
<div data-sly-list.child="${item['hideTile']}}"> -- Trying to iterate multi value dropdown item ([desktop,mobile])
<div class="${child} " >
</div>
</div>
</section>
AEM - QuestionsAdobe Experience ManagerAdobe Experience Cloud
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You can iterate multivalued property in HTL like below:
<dl data-sly-list="${properties.bgcolor}">
<dt>index: ${itemList.index}</dt>
<dd>value: ${item}</dd>
</dl>
If you are using java you can create a list for multiplied and another array or list for multivalued and parse through data-sly-list
Views
Replies
Total Likes
Hi,
You can iterate multivalued property in HTL like below:
<dl data-sly-list="${properties.bgcolor}">
<dt>index: ${itemList.index}</dt>
<dd>value: ${item}</dd>
</dl>
If you are using java you can create a list for multiplied and another array or list for multivalued and parse through data-sly-list
Views
Replies
Total Likes