- My View
Is it possible to hide or disable some tabs on a form, not the customizable section but the out of the box tabs, ie: on Project form I wantwould like to hide some tabs such as:
- User resources
Any suggestion is very welcome.
I think you mean the Related Lists at the bottom of the form:
*** Please Like and/or tag responses as being Correct.
And don't be shy about tagging reponses as Helpful if they were, even if it was not a response to one of your own questions ***
Here is the script example that helps to understand how to hide a form section:
http://wiki.servicenow.com/index.php?title=GlideForm_%28g_form%29#getSections (the code there is for client script, runs in agent browser)
Briefly speaking - you need to know the section number (order) to be able to hide it and then hide it.
For hiding related lists you may probably use this gform object method: http://wiki.servicenow.com/index.php?title=GlideForm_%28g_form%29#hideRelatedList
Independent ServiceNow Consultant Europe, Russia & CIS
My SNC Articles on LinkedIn: http://tinyurl.com/ztp6q7o
I know this is a fairly old post, but I came across it when I wanted to "disable" a section on a form and was hoping not to have to write code to "hide it" but avoid deleting it as I invested a lot in the section and thought the client may want to keep it around. To do this, I did the following:
1. Went to Form Sections and found the section I wanted to "disable"
2. There is a related list called Form Sections allowing a user to relate a section to to a table in a certain position. I removed the Form Section record for the one section I wanted to disable such that the related Form Sections list was empty. Note that the Section Elements are still there. I did not lost them.
3. When I went to the form with this section, I noticed that the section was still there . I did a Configure > Form Layout and noticed it wasn't in the Sections list. I saved and the form now no longer had the section, but the section has been preserved for later use.
In addition to the above replies,
to disable the perticular section or tab or related list from the form view, you can
Right click on the form header, Go to Configure-->related lists.
Then move the required tab or section from right slush bucket to left slush bucket and "Save".
Right. There are two sets of tabs on a form as was mentioned earlier:
1. Form Sections
2. Related Lists
It would be nice if there were similar interfaces to add and disable entries from these lists, but it appears that a UI exists for only the Related Lists. For Form Sections, it's easy to add one, but not so easy to "disable" one unless the Designer provides that ability which I'm not sure of as I only saw "New" in the designer and not "Remove".