Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Ankur Bawiskar
Tera Patron

Sometimes there is a need to access variables defined on catalog item within MRVS client script to show/hide variables within MRVS.

You can access the variables with this syntax. This works in both Native + Portal

var applicationType = g_service_catalog.parent.getValue("variableName");

Example: I have used an onLoad catalog client script which applies to MRVS and it gave me the value of outside variable when the MRVS form was loaded.

Client Script:

AnkurBawiskar_2-1734076296775.png

 

Output in Native:

AnkurBawiskar_4-1734076392421.png

 

Output in Portal:

AnkurBawiskar_3-1734076337861.png

 

 

 

Comments
Manoharmanu
Tera Contributor

Thanks, this helped me.

Version history
Last update:
‎12-12-2024 11:54 PM
Updated by:
Contributors