How to get Form Section to only show on certain services

Rylie Markle
Tera Contributor

I am creating a new service, and I have made a new Form Section for this service. The only problem is the section is showing up on every service within the table I'm working on (HR Payroll Case), instead of just my new service. Is there a way to configure this new section to only be visible on 1 service? 

find_real_file.png

find_real_file.png

3 REPLIES 3

Jaspal Singh
Mega Patron
Mega Patron

Did you check SNGuru link

geoffcox
Giga Guru

You can use this command in a client script to show or hide a section by name:

g_form.setSectionDisplay('<section_name>', true); //to show or 

g_form.setSectionDisplay('<section_name>', false); //to hide

I added a UI Action with this script, and it took the tab off one of the services but it is still showing for another. I can't figure out why it still shows on the other. 

 

find_real_file.pngfind_real_file.png