Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How can hide group details based on catalog item

Lakshmi53
Tera Contributor

Hi All,

 

I have a variable set. In that variable set I have a field is requested for.

I used that variable set in all catalog items. But based on catalog item few of the users I need to hide on requestor variables.

 

How can I do that. I tried with reference qualifier and script include but it's not working 

8 REPLIES 8

Community Alums
Not applicable

Just remove the variable set from those catalog items you don't need the requested for in,  or create a new variable set with only those variables you need in those catalog items. You can Alternatively create a ui policy for those catalog items too to hide the field.

I need to use same for all catalog items.

Hi @Lakshmi53 did you try the catalog client script?

g_form.setDisplay('variables.firstName', false);

Gangadhar Ravi
Giga Sage

@Lakshmi53 Please write onLoad client script to hide it.