Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How To hide module based on reference field in ServiceNow

Not applicable

How To hide module based on reference field in ServiceNow

2 REPLIES 2

Samaksh Wani
Giga Sage

Hello @Community Alums 

 

pls explain your requirement in brief

Netaji Kadam
Tera Contributor

Hi @Community Alums 

 

To hide modules and sections in a specific template, you'll need to add a list of hiddenModules and hiddenSections in the template annotations. For example:

// example template file

<!--

templateType: page

isAvailableForNewContent: true

label: Ticket listing

screenshotPath: ../images/template-previews/ticket-listing.png

hiddenModules:

- '@hubSpot/follow_me'

- ../modules/form

hiddenSections:

- ../sections/card

-->

 

Regards 

Netaji Kadam