why UI policy is not working on variable sets?

jennyjenny
Kilo Contributor

Hi All,

I have created one variable set having 9 variables.

I want to display this variable set based on the condition.I have used UI Ploicy for this.But when form loads this variable set is displaying.

may I know how to make this work.

 

Thanks,

Jenny

1 ACCEPTED SOLUTION

Pankaj Bisht1
Giga Guru

The best practice is NOT to make any variable Mandatory and  Visible . Do that using the UI policy only.

This way there will be no clash with the conditions and states of the variable. 

 

In the UI policy use the Variable Set Name to apply action to it . That way it will be easier to work and keep a track . Make sure you tick "Reverse if False"

 

Thank you,

Pankaj Bisht

View solution in original post

5 REPLIES 5

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

Do you want to hide whole variable set or only Variables based on condition?

Thanks,
Ashutosh

Hi ,

I want to hide whole variable set

 

thanks

Pankaj Bisht1
Giga Guru

The best practice is NOT to make any variable Mandatory and  Visible . Do that using the UI policy only.

This way there will be no clash with the conditions and states of the variable. 

 

In the UI policy use the Variable Set Name to apply action to it . That way it will be easier to work and keep a track . Make sure you tick "Reverse if False"

 

Thank you,

Pankaj Bisht

Sachin58
Giga Contributor

Hey Jenny,

I hope you have not missed the corresponding UI action for that.

Remember that if its a catalog UI policy then you have to create UI actions for all the corresponding fields to change its visibility.

 

BR,

Sachin Hegde