How to hide specific variables from RITM Preview Icon catalog task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 05:27 AM
Hello,
I was wondering if someone knew how to hide specific variables from RITM Preview Icon through a TASK?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 05:40 AM
Hello @sivanagalakshmi
Do you want to hide variables from RITM or fields from RITM?
If fields from RITM then you can configure that from sys_popup view
If its about just hiding variables from RITM then I think I will suggest you hide the preview option itself on task for RITM because in order to satisfy this you will need to put efforts in client script DOM manipulations (not a recommended approach) .
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 06:44 AM
Thanks for response @sushantmalsure
I want hide some variables not fields , can you help how hide the preview option on task for RITM on role based
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 06:59 AM
Try this
Go to the table that the reference field points to (the 'sc_req_item' table for example) and open the form view for any record.
Right-click on the list header, and choose Configure->Form Layout.
In the "Form view and section" area, select the View name drop-down list.
In this list, look for sys_popup.
You might need to create it if you don’t have it.
In the slushbucket, remove the variables you want to hide from the Selected list.
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 07:20 AM
There is no straightforward way to do this.
If you want this then you will have to write onLoad() and locate the element of the variable.
I have tried on my PDI:
In above case I tried hiding variable 'Please Specify an operating system'
I created onLoad() catalog client script which will run only for catalog task and isolate script set to false and added following:
document.getElementById('element.ni.VE3c0ee58307062110cdb1f16c7c1ed01b_read_only').hide()
Now you have to get your variables elementID and replace it above and then test
Regards,Sushant Malsure