Skip to main content
Inspiring
Apr 27, 2023 6:32 PM UTC
Question

In summary view the field should not be visible is it is null

Hi

I have requirement where i don't want to show the field if it was null in summary view if it has the data it has to be displayed. the source of the view is interface in that interface the source of the fields is View. so could you please help on how can display this accordingly

2 replies

sanchitg0002
Inspiring
Apr 27, 2023 6:43 PM UTC

You can write an expression in showwhen parameter of the component in which you are showing this field.

This should be as simple as 

showWhen: a!isNotNullOrEmpty(/*field value*/)

stefanhelzle0001
Brainy
Apr 27, 2023 6:44 PM UTC

Each component in Appian has a showWhen parameter. Putting a a!isNullOrEmpty() in it should get you there.