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

Anubhav24
Mega Sage

Hi @Rajesh77 ,

Can you check in the browser console if there is any error in your scripts.

 

 

hi,

i don't knw how to check it can you pls tell me step by step or with the screenshot pls 

 

swathisarang98
Giga Sage

Hi @Rajesh77 ,

 

You can do this with client script or UI policy but don't create both because there will be clash between ui policy and client script when there is order of execution.

 

So I suggest that you deactivate the Client script and in your UI policy put condition like "Please select the type of your requirement  'is one of'  Tab management , others  " , leave the ui action as it is.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

 

 

Hi,

its not working yet,

Rajesh77_0-1707745255703.png


 
Updating Media

 

Hi @Rajesh77 ,

 

If you have configured any other ui policy could you please share the snippet of  those ui policy  aswell, it might be clashing so

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang