How can I modify (add/remove) the RITM "Variables" section which is displayed after the RITM is created and shows the details which are entered by end user? (Attached snippet for reference)

Pritish Moharan
Kilo Contributor

I wish to add/ remove some variables from the RITM page which is displayed after one creates a Req >> RITM. Sometimes, some fields are not required to be displayed whatever user has entered. Please see attached snippet.

1 ACCEPTED SOLUTION

dvp
Mega Sage
Mega Sage

On Catalog UI Policies enable only for requested items

find_real_file.png

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

You can use "Onload " Catalog Client Script for this purpose. Check "" checkbox only and use below sample script : 

g_form.setMandatory('requested_for',false);

g_form.setDisplay('requested_for',false);

 

Hope, this answers the question!!!

Hi,

 

I wish to set a particular field visibility to false only on Requested Item View. 

 

I wish to get the data in the service catalog form, once it gets submitted, we check the request--> requested item --> 'Variables' (at this place, I wish to make the field visibility false).

 

client script worked on catalog form view itself, but i wish to NOT make that on catalog form view where user will input values, but once it gets submitted, it should not show on the RITM ticket.

 

Hope, you get my requirement. 🙂

 

 

dvp
Mega Sage
Mega Sage

On Catalog UI Policies enable only for requested items

find_real_file.png

Hi,

 

My requirement was to get the field values from service catalog form but after submission, some fields should not show in the REQ --> RITM --> 'Variables'

 

I have used a ui policy and checked the on requested items but still it shows in the RITM form.

 

As I wish that policy to always work, so have kept no condition.

 

Snips attached. Is there an error?