Jun 30 2020 09:22 PM
Hi,
We are using adaptive cards to present information to users in Teams. The cards have Action.OpenUrl and Action.ShowCard buttons. However, we see that the cards are rendering the buttons differently. We would like to know how is rendering controlled?
For eg, the following image shows one card with all Action.OpenUrl buttons rendered in filled-purple
This next image shows a different card with only 1 button. The button is also an Action.OpenUrl button but it is rendered in white
The JSON for both cards' action body does not have any rendering controls. Would it be possible to apply consistent styling to the same action type: in this case, Action.OpenUrl?
Thank You
Jun 30 2020 11:00 PM
Solution@voonsionglum - When you add button using action set the button will be rendered with background purple, If button is directly added to card then the card will be rendered with the white background. This is by design.
Jun 30 2020 11:17 PM
Jun 30 2020 11:00 PM
Solution@voonsionglum - When you add button using action set the button will be rendered with background purple, If button is directly added to card then the card will be rendered with the white background. This is by design.