MultiRow Variable Set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 02:13 AM
Hi all,
Need a help, so in MRVS, when I click on 'edit row'
the equipment action should by default get set to 'Remove'
2) when I choose 'Add' - the equipment action should by default get set to 'Add'
3) when the 'x' cross mark is chosen, the equipment action should by default get set to 'Remove' instead it should not remove the row
the equipment action variable -
- this is the requirement
Thanks in adavance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 02:51 AM
Responses inline
1) when I click on 'edit row' the equipment action should by default get set to 'Remove'
-> you should use onLoad catalog client script on MRVS and detect if the variables already have value; if yes then set the value to Remove
2) when I choose 'Add' - the equipment action should by default get set to 'Add'
-> check this link on how to detect the Add/Remove button and then handle your logic
MRVS detect when a row is removed or deleted
3) when the 'x' cross mark is chosen, the equipment action should by default get set to 'Remove' instead it should not remove the row
-> as soon as you click x row will get removed; that OOB behavior
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 12:12 AM - edited 09-27-2023 12:19 AM
Hi @Ankur Bawiskar ,
Could you please let me know how to hide that remove icon (x) beside the pencil icon from actions
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 12:33 AM
check this
Disable buttons in MultiRow Variable Set
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 02:07 AM
i used below script but it is not working on native and it is not working on ritm. Could you please help.