How to add Collapse(-)  and Expend(+) option to grouping variable in service portal

pradeep37
Tera Contributor

Hi 

I have one requirement to add Collapse(-)  and Expend(+) option to grouping variable. 

I tried with Display title in the container start it works in the Native UI, but not works in service portal.

can you please help me on this.

 

Thanks& Regards

Pradeep Sharma

1 REPLY 1

Sujatha V M
Kilo Patron
Kilo Patron

Hi @pradeep37 In order to make the collapsible containers to work on Native UI and Service Portal, you need to have two different scripts. 

 

Refer the below link : 

 

https://www.servicenow.com/community/developer-forum/how-to-make-collapse-of-container-in-service-po...

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.