- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 02:23 AM
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.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 05:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 02:32 AM
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!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 09:22 PM
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. 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 05:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 09:15 PM
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?