Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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