- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2016 09:01 AM
Hello all,
Has anyone had any issues creating a UI Policy to hide/show a checkBox field for a service catalog item? I will document my UI Policy below.
Condition:
test_selectbox = new or
test_selectbox = old
Catalog UI Policy Actions
test_checkbox: Mandatory: Leave alone Read-Only:Leave alone Visible: True
test_reference field: Mandatory: True Read-Only:True Visible: True
When the test_selectbox condition matches, the test_reference field is visible but the test_checkBox remains not visible.
What is weird is that the UI policy works correctly when I created an additional test checkBox and removed both order values. This creates both checkBoxs on the top of the form which is not intended and only used for testing.
Thanks again
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2016 07:24 PM
Hi William,
I actually was able to get my issue fixed with some assistance. I had to wrap my checkbox with two containers(container start & container end). Try to wrap your checkboxes in additional containers. Hopefully this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2016 07:24 PM
Hi William,
I actually was able to get my issue fixed with some assistance. I had to wrap my checkbox with two containers(container start & container end). Try to wrap your checkboxes in additional containers. Hopefully this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2016 07:33 PM
I just tried this step...It works ONLY if you show and hide the container only. I had to take out the checkbox variable to get it to work. Long story short.....UI policy on value condition make visible container start and container end. Reverse if false. As long as checkboxes are inside container the checkbox will show and hide. So weird. As I have an incident open now I will remove work around and see what SN says. Sounds like extra work for no reason.
Marshall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2016 08:43 PM
That's the one thing I forgot to mention. Yes you have to make the UI policy on the containers and not the checkboxes. Glad to hear you found a solution.
Sent from my iPhone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 06:21 AM
Thanks, Travuswarren. This worked!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2016 05:03 AM
So apply the UI policy to the container start, got it. I'll implement that and report back. Thanks guys!