- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
not possible without DOM manipulation
DOM is not recommended
I shared solution for something similar earlier in 2021, check and enhance
Change the Add Row Button title on MRVS
onLoad Catalog client script
a) Applies to Catalog Item
1) Ensure Isolate Script field is set to false
2) This field is not on form but from list you can make it false
function onLoad() {
//Type appropriate comment here, and begin script below
setTimeout(function(){
var classDetails;
if(window != null){
classDetails = document.getElementsByTagName('button');
}
else{
classDetails = this.document.getElementsByTagName('button');
}
var k;
for (k = 0; k < classDetails.length; k++) {
var value = classDetails[k].innerHTML;
if(value == 'Add'){
classDetails[k].innerHTML = 'Add Candidate details:';
break;
}
}
}, 3000);
}
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Hafsa1 ,
In the MRVS modal pop - renaming button is not supported feature .
MRVS modal is built using internal Angular components, and the Add button event is not exposed with us.
So this requirement is not feasible to implement.
In Catalog form , for MRVS , you can change Add Row to Add Candidate details: NOT IN Pop-UP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi Hafsa1,
If you want to change the label like “Add Candidate details”, you can achieve it using the Variable Set Title
Go to your Variable Set:
- Title → Add Candidate details
- This will change the heading above MRVS
For changing the “Add Row” button text
ServiceNow does not provide an out-of-box option to rename the “Add” button in MRVS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
not possible without DOM manipulation
DOM is not recommended
I shared solution for something similar earlier in 2021, check and enhance
Change the Add Row Button title on MRVS
onLoad Catalog client script
a) Applies to Catalog Item
1) Ensure Isolate Script field is set to false
2) This field is not on form but from list you can make it false
function onLoad() {
//Type appropriate comment here, and begin script below
setTimeout(function(){
var classDetails;
if(window != null){
classDetails = document.getElementsByTagName('button');
}
else{
classDetails = this.document.getElementsByTagName('button');
}
var k;
for (k = 0; k < classDetails.length; k++) {
var value = classDetails[k].innerHTML;
if(value == 'Add'){
classDetails[k].innerHTML = 'Add Candidate details:';
break;
}
}
}, 3000);
}
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
44m ago
@Ankur Bawiskar got it . slight modification
