Trust ID PBCEX logo 300x102

Variable Images still not working

8 years 4 months ago
Paul
Fresh Boarder
Fresh Boarder
Posts: 15
More
Topic Author
Variable Images still not working #2553
I am trying to create a card that will display a different background or logo depending on the CardType variable.

See the attached screen shots. Any ideas why the logo is not changing?

Thanks,
Paul
8 years 4 months ago
Paul
Fresh Boarder
Fresh Boarder
Posts: 15
More
Topic Author
Variable Images still not working #2554
Let me know if you want larger images of the screen shots. I could not figure out how to insert images into the message.
8 years 4 months ago 8 years 3 months ago by Sergio Agostinho.
Sergio Agostinho
Administrator
Administrator
Posts: 508
More
Variable Images still not working #2559
Hi Paul,

yes you can reach the solution for that requirements making a card design with 2 or more layout pages. Then on the page settings of each layout at the expressions tab you can define a layout expression that validates the database field to be used to show, like Type=='Staff'. When the database fields has that value that layout will be used.

You can find at this link a zip with a sample data folder, you can rename your actual one to DataBack and use this one. On it you can find a card called conditional layout which makes exactly what you want to do with your layouts.

With best regards
Sergio Agostinho