We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Hide MRVS columns

Ariomar de Deus
Tera Contributor

I have a MRVS database that has some hidden vari

ables, and when I add an item to this MRVS database, these variables end up appearing in the MRVS columns. How can I hide these columns from the MRVS database?

 

I wrote this code, but it doesn't work:

 

function onLoad() {
    //Type appropriate comment here, and begin script below
    var mrvs = g_mrvs.getTableBySysId('92a6fa09dbdb7114afc6ad341496190a');
    //    if (mrvs){
    //  mrvs.hideColumn('valor_por_equipamento');
 
    //}
 
    if (!mrvs) return;
    mrvs.hideColumnById('cf56aed28737f210f0a584c60cbb3593');
 
}
1 ACCEPTED SOLUTION
2 REPLIES 2

Michelle Lam
ServiceNow Employee

Tanushree Maiti
Tera Patron

If you are talking something like this  - from MRVS grid , you want to hide a column, It is not supported feature.

if the variable is not required, already you made it hidden, deactivate it.

 

TanushreeMaiti_0-1776355109588.png

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti