[UI Builder]-How to get the selected Checklist items using Script and show it in the page

ankit-kumar-528
Tera Contributor

Hi,

 

I am using Checklist component (UI Builder) to select multiple items. I want to access the selected items from checklist component using script and need to show it somewhere in the page. I am using page script but I am not able to access the checklist by component_id. Here's the checklist: 

ankitkumar528_0-1696341608273.png

The items are stored in JSON format. I thought I will use "checked" , "itemId" and "label" to access the items but no idea how to do it. Any help would be highly appreciated. 

ankitkumar528_1-1696341876908.png

 

Thanks in advance

2 REPLIES 2

aklepic
Tera Contributor

Hi,

 

any updates on this?

No @aklepic