Ankur Bawiskar
Tera Patron
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 12-12-2024 11:54 PM
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:
Output in Native:
Output in Portal:
- 981 Views