SOLVED

Adaptive Cards in Teams using "Only show when" option

Brass Contributor

Visible/Hidden
I've got an MS flow that sends an Adaptive Cards based on the date on the list. When the Adaptive card is sent, I want three separate images to be visible/hidden based on a multiple choice column (Checkboxes (allow multiple selections)). 

When I use the Adaptive Card Designer, I see the option that says "Only show when" and a checkbox that says "Initially visible". I want to know how to configure those settings so the social media icons (images) I see on the card are based on that platforms column. 

 

Jake_Hembree_0-1650383819084.png

 

Optional but would also like:
It would be ideal if the icons were aligned based on availability. For example Facebook is the center icon, but it Twitter and Instagram were the only ones chosen, I wouldn't want a big gap in the center. Or if Facebook and Twitter were the only options chosen, I wouldn't like having the gap on the far left.  At this rate, I'd be happy to at least know how to get the basic functionality of visibility/hidden so if there isn't an easy way to do this, that's fine.  

 

I've attached some images including the entire flow if that's helpful.
Thank you so much for any help!

Jake

1 Reply
best response confirmed by Jake_Hembree (Brass Contributor)
Solution

@Jake_Hembree 

I totally forgot that I posted this question over a year ago. Well, I figured out a workaround in this other tread that I posted.
https://techcommunity.microsoft.com/t5/power-apps-power-automate/adaptive-card-quot-only-show-when-q...

Just in case someone wants to know how to fix this.

1 best response

Accepted Solutions
best response confirmed by Jake_Hembree (Brass Contributor)
Solution

@Jake_Hembree 

I totally forgot that I posted this question over a year ago. Well, I figured out a workaround in this other tread that I posted.
https://techcommunity.microsoft.com/t5/power-apps-power-automate/adaptive-card-quot-only-show-when-q...

Just in case someone wants to know how to fix this.

View solution in original post