Catalog item functional Req

Rajesh77
Tera Contributor

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 

Rajesh77_0-1707737038625.png

UI policy is given below

Rajesh77_2-1707737108461.png

 

this is catalog client script i have written 

g_form.setDisplay('User name.user_name',false);
still it is not working 
 
what i need now is when i select Tag management & Others the user name should not be visible 
 
17 REPLIES 17

@Rajesh77 

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.

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

Danish Bhairag2
Tera Sage

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

 

i am sorry, i don't get you

Still its not working 😞