Hide card view image section if no image set

Hi,

In card view, when no image set, the image section still there but blank.
3X_4_8_481b40566765d804c1740bb0e9e33bc4f4154c9b.png

I do not want to show this useless image section if no image is set, is this possible?

Solved Solved
2 6 577
  • UX
1 ACCEPTED SOLUTION

Usually in the show if expression you can use an expression… Something like… I’m on my phone, so you’ll need to fill in the gaps on this expression…

NOT(
AND(
CONTEXT(ViewType)=“Card”,
ISBLANK([_THIS])
)
)

View solution in original post

6 REPLIES 6

Usually in the show if expression you can use an expression… Something like… I’m on my phone, so you’ll need to fill in the gaps on this expression…

NOT(
AND(
CONTEXT(ViewType)=“Card”,
ISBLANK([_THIS])
)
)

Isn’t this going to remove the entire card? Or maybe I’m just not getting what the “show if” means?

If you only want to hide the image on the cards where there is no value in the image column, how is that done?

Thanks

There’s a Show? setting in the column configuration.

In the app editor, go to Data >> Columns, to the table with the image to conditionally hide, to the column that contains the image. Click on the pencil icon at the left end of the column’s row to open the column’s configuration. Find the Show? setting and click on the flask to enable conditional display (also known as Show_If😞

3X_4_a_4a4b24bac5d8fa72a6ffe820a89aaf2ed5e9362e.png

3X_3_c_3c31e6da5564b4f67efc1105c70ecc29d85de619.png

See also:

Oh thanks - completely missed that pencil on the column row. It works!

I’m glad that did the trick!

how to apply this in desktop view?

Top Labels in this Space