How to disable "Remove" button (Cross mark button) on the Multi row variable set in Service portal

sridevi10
Mega Contributor

We need to hide or disable the "Remove" button (Cross mark button) on the Multi row variable set in Service portal. 

We are auto populating some rows in the MRVS, user can edit those rows but shouldn't delete that row.

Please let me know if anyone has already done this.

2 REPLIES 2

asifnoor
Kilo Patron

Hi Sridevi,

By default it is not possible to do it. You have to pla around with DOM manipulations to hide the icons.

Check out these variables, this might help you to debug.

https://docs.servicenow.com/bundle/newyork-application-development/page/script/server-scripting/conc...

Mark the comment as a correct answer and helpful if it helps.

Hi,

I have written an article on how you can disable the buttons in the MRVS. Kindly refer to this.

https://community.servicenow.com/community?id=community_article&sys_id=376e4dfadb7698d0fa192183ca961...

Mark the comment as helpful if it helps.