MRVS ReadOnly

VNK1216
Tera Guru

Hello All,

 

I have a MRVS which i want to make it readonly with edit/add/remove all buttons disabled.

g_form.setReadOnly('mrvs_name', true); doesnt work.

Any idea how to achieve this?

 

Thanks,

VNK

4 REPLIES 4

Anurag Tripathi
Mega Patron
Mega Patron

IS mrvs_name an oob field, if not then the name probably would be u_mrvs_name

g_form.setReadOnly('u_mrvs_name', true);

-Anurag

VNK1216
Tera Guru

Hi Anurag,

 

mrvs_name is name of variable set.

I tried to set it to readonly but that doesnt work 😞

 

readonly here i mean is, it should disable edit, delete, add and remove all buttons.

Hi Mate,

You cannot add variables with read roles in a multi-row variable set.

 

https://docs.servicenow.com/bundle/london-it-service-management/page/product/service-catalog-management/concept/c_ServiceCatalogVariableSets.html

 

 

 

 

 

Juan5
Kilo Explorer

VNK,

Were you able to accomplish this? 

We are looking to do the same thing.  MRVS ReadOnly with all buttons disabled on subsequent OnLoads.

Regards,

Juan