Catalog UI Policy Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 06:42 AM - edited 11-23-2023 09:28 AM
Hello everyone!
Can someone help me with the catalog UI policy script? I need to show the download link field if the product field is not VPN. However, the product field is populated through a client script. How can I make a script for this one? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 10:16 AM
The dependency can be solved with reference qualifier.
The script also needs an else - to hide the app_req_template when the product is not VPN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 10:20 AM - edited 11-23-2023 09:30 AM
Still not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 10:41 AM
Well there are quite a few conditions that must be met for this to work. Applies on Requested Items (and Applies on Catalog Tasks) must be checked. On load must be checked. The value of variable product must indeed be VPN. There must be no conditions defined in the Catalog UI Policy. There must be no other UI Policies or Catalog Client Script or Client Scripts that might override this Catalog UI Policy.
I mean the script is sound, but I have no way of knowing the data or the environment - for that you need to share way more configuration details.