Make the reference variable show no data unless another variable is populated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 04:14 AM
Hello,
I have a requirement to make it so only the servers related to the selected SID on a catalog item are showing. I can do this an have added the code below, but the requester would like it so that if no SID is selected, the field shows blank. I have added the reference qualifier that I have now but need to adjust it so it shows no data if it does not match this. Does anyone know if this is possible?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 04:51 AM
Hi,
Why dont you make it read only unless SID is selected, and once user selects SID, the other field becomes editable , and maybe mandatory too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 06:29 AM
Hi @Patrick Cavanau ,
You can call a script include and inside si function you can add if else, in IF you can check whether the dependent field is selected if selected return your query in else return null.
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang