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

harshinielath
Tera Expert

Please expand your question and requirement.I don't understand.Why are tables visible in the form


Hi Harshini,


I want to hide the entire variable editor and display no variables on the requested item form and on   catalog task form for a particular catalog item. How can I achieve this?


Hi Saranya,



I don't quite understand your requirement. You don't want the variables to be shown on both requested item and catalog task,



1. for all users?


2. after the request has been submitted? ( If you don't want variables for a particular catalog on the request form itself, why to create them in first place?)


3. on the service portal?



Darshak


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.


Yes,i was about to suggest that! Nevermind