Catalog item functional Req
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 03:26 AM
Hi team,
I have created a catalog item with few variable like asset management,tag,API,group,connector
when i select asset management user name is not mandatory but its visible,
when i select group management group management have create,delete, change, when i select create user name should not visible, and fir others it should be visible
If i select tag Management & others the user name should not be visible, but for me its showing visible
UI policy is given below
this is catalog client script i have written
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 07:12 AM
Along with OR condition in UI policy, make mandatory also false. Also deactivate where client script (g_form.setDisplay('User name.user_name',false))
If it still does'nt work check other UI policy if someone is making this field visible.
Please mark my answer correct/helpful if it helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 04:43 AM - edited 02-12-2024 04:44 AM
Hi Rajesh,
instead of this g_form.setDisplay('User name.user_name',false); , you can try to use Internal (backend) name of variable set if this variable belongs to variable set to hide it. g_form.setDisplay('backendname of variable set.user_name',false);
you should also look for any other ui policies running on user_name variable and change order of the ui policies to avoid conflict.
Warm Regards,
Shivambi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 04:12 AM
Hi @Rajesh77 ,
U just need one UI policy where condition is type is one of Tag & other & just uncheck the onLoad checkbox & give it a try.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 04:27 AM
i am sorry, i don't get you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 04:34 AM
Still its not working 😞