MRVS - How to use annotations in MRVS
This content was last updated in 2023. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 02:48 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 02:59 AM
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");
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 03:15 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 03:21 AM
Hi @sek86 ,
Unfortunately, there is no other way apart from using below as a workaround to meet your requirement :
in MRVS variable : Add text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 05:09 AM