The CreatorCon Call for Content is officially open! Get started here.

How to add accordion in record producer

DevanshT
Tera Contributor
 
4 REPLIES 4

svirkar420
Tera Guru

@DevanshT , Can you be more specific about your requirement.

 

If this solution helped you Please Mark this solution as accepted and helpful as it will be helpful for other users and readers as well.
Best Regards.
Saurabh V.

Ankur Bawiskar
Tera Patron
Tera Patron

@DevanshT 

it's not available OOTB.

You will have to customize it and it will require heavy customizations which I will recommend to avoid.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

M Iftikhar
Giga Sage

Hi @DevanshT ,

 

You can create accordions directly in a record producer using the built-in Accordion container variable. Steps:

  1. Add a Container Start variable.

  2. Set Type to Accordion.

  3. Add your variables inside the container.

  4. Close the section with a Container End variable.

This creates a collapsible section in Service Portal without any custom scripts.



Relevant references i found which can help:
https://www.servicenow.com/community/developer-forum/how-to-add-arrows-that-expand-or-collapse-the-c...

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



Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.