- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 10:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 10:57 PM
I was able to achieve this with onLoad catalog client script.
var disableAddButton = g_form.getField("variable_set_name");
disableAddButton.max_rows_size = 0; // 0 number indicates you can not add entries in mrvs. If 1, than you can add 1 entry in mrvs with help of add button after than add button will be disable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 10:57 PM
I was able to achieve this with onLoad catalog client script.
var disableAddButton = g_form.getField("variable_set_name");
disableAddButton.max_rows_size = 0; // 0 number indicates you can not add entries in mrvs. If 1, than you can add 1 entry in mrvs with help of add button after than add button will be disable

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 10:57 PM
Hi @Harshal Sonawa1 ,
Please refer this detailed article from asifnoor :https://www.servicenow.com/community/developer-articles/disable-buttons-in-multirow-variable-set/ta-...
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 10:58 PM
Thank You. I found the answer