cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Hide an attribute on layout customization?

Newbie

Hide an attribute on layout customization?

Hello everyone,

I have to hide an attribute on a layout when another attribute change the value.

for exemple :

Attribute A : boolean

Attribue B : String

If attribute A is false, Attribute B is hidden on the layout.

Thanks,

A.B

3 REPLIES 3

Re: Hide an attribute on layout customization?

I think you can't hide attribute, but you can make Attribute 2 not editable thanks Data Utility.

Highlighted

Re: Hide an attribute on layout customization?

Thanks for you reply

I found out a method preValidateAttribute in DefaultUIComponentValidator, i found no documentation about that. But i will try to use this validator on my attribute.

Re: Hide an attribute on layout customization?

Hi Anas Bennis‌,

It is ok if we make second attribute non-editable on editable and it depends on first attribute value we select?

For example:

IBA Not Editable.jpg

I remember I had done something like this in recent past. If that is ok for you I can again give it a try and share my findings.

Regards,

Shirish