Hide entire variable editor in RITM and TASK

Saranya Suresh
Kilo Expert

Hi All,

I want to hide the entire variable editor and display no variables on the requested item table and task table for a particular catalog item. When i checked in design, it is a formatter type and if i hide all variables using below command,

g__form.setDisplay(variable.variablename,false), still it leaves blank editor in a form and it is visible in the form. Please suggest.

1 ACCEPTED SOLUTION

Saranya Suresh
Kilo Expert

Hi All,


Appreciate all of your time and effort for responding me and providing your suggestion.



I have found out my way for hiding the entire variable editor including all variables in it for a particular catalog item without doing DOM manipulation.


What i did is i have created a new view for the RITM form without variable editor and applied the view rule for loading that created view only for that particular catalog item's RITM. Am going to repeat the same for Task.


View solution in original post

9 REPLIES 9

Sharique Azim
Mega Sage

Hi Saranya,


You can create an onLoad script with only applies to RITM and TASK checked



And hide all the required field .



If the variable editor needs to be hidden, create two UI policy and hide the variable editor based upon the catalog item..


Hi Shariq,


Why two ui policy need to be created?


Can you pls explain in detail?


For two tables, RITM and TASK..


In UI action under UI policy of the particular sc_req_item table, I could see only requested item's field names in it. Could not get variable names of that particular catalog item. How can I get that and make visible false?