MRVS - How to use annotations in MRVS

sek86
Tera Contributor

Hi,

 

I am using a MRVS and it has got a log list of variables in it. i want to segregate the variables section wise so it looks better. could you let me know how can i use annotations to do that or is there any other way?

9 REPLIES 9

Community Alums
Not applicable

Hi @sek86 ,

add a Catalog Client script (on the Catalog Item level) with the following:

function onLoad() {
   //Type appropriate comment here, and begin script below
   this.my_g_form = g_form;
}

 

And change your onLoad script to:

function onLoad() {
    //Type appropriate comment here, and begin script below
    if (parent.g_form) {
        g_form.addInfoMessage("message");
    }
    else if (this.my_g_form) {
        this.my_g_form.addInfoMessage("message");
    }
}

Hi @Community Alums ,

Thanks for your reply.

Unfortunately, above code is not helping.

 

is there any other way we can add a line with a header, so it looks like sections. 

Community Alums
Not applicable

Hi @sek86 ,

Unfortunately, there is no other way apart from using below as a workaround to meet your requirement :

in MRVS variable : Add text

SandeepDutta_0-1672831282959.png

 

 

Hi @Community Alums ,

the above code working for the message pop-up. but i'm looking for section separation.

i have too many variables in my MRVS. i want to separate few few variables into sections.