hide a variable from variable set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 10:42 AM
Hello,
Across many catalog items we use variable set with several variables in it. I am creating now a catalog item that does not use all of those variables so I am looking for the ways of hiding it.
What is the best solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 11:49 AM
@dev_K ,
You can usr
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 10:59 AM
Hi @dev_K
g_service_catalog
Example
function onLoad() {
if (g_service_catalog.parent.getValue("address_type") == "ipv4") {
g_form.setValue("ipv4_address", "XX.XX.XX.XX");
g_form.setVisible("ipv6_address", "false");
}
}
Please mark this response as correct or helpful if I'm able to resolve your issue.
Regards,
Siddharam Takali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 11:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 11:24 AM
Hi @dev_K this should work. I've tried on my PDI its working. Make sure your catalog Client Script UI Type as ALL
Field is not displaying in MRVs
Regards,
Siddharam