Help on Multi Row Variable Set

siva_
Giga Guru

Is there a way to access the value of the catalog item variable  in a Multi row variable sets variable (which is of reference type ) so that i can have a reference qualifier based out of that value .

Thanks in advance.

1 ACCEPTED SOLUTION

siva_
Giga Guru

It looks like the common requirement that we do have while implementations or development. 

I got it fixed by performing writing some DOM level scripts where , i was able to access the field value from the form using window.parent.g_form.getValue('varName');

Note : ISOLATE SCRIPT checkbox needs to be considered here. 

 

However as DOM Manipulation is not supported by service portal, i am waiting for a better approach, but for now going ahead with this way.

Hope this would be helpful to some one looking for the same. 

 

Regards, 

Siva

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@Siva Kalyan Chatakonda 

Hope you are doing good.

Let me know if I have answered your question.

If so, please mark appropriate response as correct & helpful so others with similar questions/issues can find your posting quickly.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Siva Kalyan Chatakonda 

Hope you are doing good.

Let me know if I have answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

If not, please let us know if you need some more assistance.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

siva_
Giga Guru

It looks like the common requirement that we do have while implementations or development. 

I got it fixed by performing writing some DOM level scripts where , i was able to access the field value from the form using window.parent.g_form.getValue('varName');

Note : ISOLATE SCRIPT checkbox needs to be considered here. 

 

However as DOM Manipulation is not supported by service portal, i am waiting for a better approach, but for now going ahead with this way.

Hope this would be helpful to some one looking for the same. 

 

Regards, 

Siva

suvro
Mega Sage
Mega Sage

You can use below no DOM manipulation is required. This way you can fetch variables which are not part of mrvs

g_service_catalog.parent.getValue("variable_name");