Collapsible box in Catalog item

SohaP
Tera Contributor

Dear Community,
I am trying to add a collapsible box widget having multiple choices to select a category in a catalog item. I tried adding a variable with type HTML but it is not working. 
Does anyone know the solution for this?

 

 

Thank you in advance!

1 ACCEPTED SOLUTION

Sujatha V M
Kilo Patron
Kilo Patron

@SohaP  Please try the steps below 

 

1. Create variable with "Container Start" and "End" and make sure that "Display title" is set to "True" for container start. 

 

SujathaVM_1-1712561811677.png

 

2. Define all the other checkboxes within as below. 

 

SujathaVM_0-1712561764989.png

 

3. The form looks like, 

Native UI : 

SujathaVM_2-1712561880188.png

Portal View : 

For making the collapsible container in Service Portal refer the link below for creation of a catalog client script, 

 

SujathaVM_3-1712561950700.png

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.

View solution in original post

3 REPLIES 3

Sujatha V M
Kilo Patron
Kilo Patron

@SohaP  Please try the steps below 

 

1. Create variable with "Container Start" and "End" and make sure that "Display title" is set to "True" for container start. 

 

SujathaVM_1-1712561811677.png

 

2. Define all the other checkboxes within as below. 

 

SujathaVM_0-1712561764989.png

 

3. The form looks like, 

Native UI : 

SujathaVM_2-1712561880188.png

Portal View : 

For making the collapsible container in Service Portal refer the link below for creation of a catalog client script, 

 

SujathaVM_3-1712561950700.png

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.

Thank you so much @Sujatha V M ,
It works! 🙂

Sujatha V M
Kilo Patron
Kilo Patron

@SohaP  

Please  "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.