cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Is there a way to make a choice set in an adaptive card visible depending on the selection in another choice set?

Hello. I have an adaptive card that has multiple choice sets. 

Screenshot 2021-05-12 114947.png

 

Is it possible to make one of the choice sets visible or invisible depending on the value selected in another choice set? Is this doable with adaptive cards? Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
v-duann-msft
Community Support
Community Support

Hi @Mgodby 

 

Thank you for posting.

 

According to your description, you would like to control option visibility based on user selection in adaptive cards using flow. If any misunderstanding, please kindly let me know.

 

Actually, your requirement is related to adaptive card customization. I’m afraid it’s not feasible right now as it has relatively fixed format in flow.

 

I do some research, we do have a related property called ‘Action.ToggleVisibility’ in REST API which is the only parameter to hide specific elements of a card.

v-duann-msft_0-1620873975770.png

https://docs.microsoft.com/en-us/outlook/actionable-messages/adaptive-card

 

Unfortunately, this property doesn’t support for choice set. In other words, there is no way to achieve your purpose no matter you use flow or development.

v-duann-msft_1-1620873975774.png

 

v-duann-msft_2-1620873975778.png

https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation

https://adaptivecards.io/explorer/Action.ToggleVisibility.html

 

I tried to check our adaptive card roadmap but still couldn’t find related feature for you. I’m afraid there is no plan to deploy this feature in a short time.

https://portal.productboard.com/adaptivecards/1-adaptive-cards-features/tabs/4-under-consideration

 

Sorry for the inconvenience caused and thank you for your understanding.

 

Hope the content above may help you.

 

Please click Accept as Solution if my post is helpful to you. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

 

Best regards,

Anna

View solution in original post

1 REPLY 1
v-duann-msft
Community Support
Community Support

Hi @Mgodby 

 

Thank you for posting.

 

According to your description, you would like to control option visibility based on user selection in adaptive cards using flow. If any misunderstanding, please kindly let me know.

 

Actually, your requirement is related to adaptive card customization. I’m afraid it’s not feasible right now as it has relatively fixed format in flow.

 

I do some research, we do have a related property called ‘Action.ToggleVisibility’ in REST API which is the only parameter to hide specific elements of a card.

v-duann-msft_0-1620873975770.png

https://docs.microsoft.com/en-us/outlook/actionable-messages/adaptive-card

 

Unfortunately, this property doesn’t support for choice set. In other words, there is no way to achieve your purpose no matter you use flow or development.

v-duann-msft_1-1620873975774.png

 

v-duann-msft_2-1620873975778.png

https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation

https://adaptivecards.io/explorer/Action.ToggleVisibility.html

 

I tried to check our adaptive card roadmap but still couldn’t find related feature for you. I’m afraid there is no plan to deploy this feature in a short time.

https://portal.productboard.com/adaptivecards/1-adaptive-cards-features/tabs/4-under-consideration

 

Sorry for the inconvenience caused and thank you for your understanding.

 

Hope the content above may help you.

 

Please click Accept as Solution if my post is helpful to you. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

 

Best regards,

Anna

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,619)