Forum Discussion
marcusyoung
Jul 23, 2020Copper Contributor
Microsoft Teams Adaptive Card Not Opening URL
I created a messaging extension that creates an pop up adaptive card that gives three options and opens a link based on the option chosen. Currently I just want the Open Sync Room button to open up t...
- Jul 23, 2020
marcusyoung , Can you try using "https://kloud.com/" instead of "kloud.com/" for action: url property. It expect a valid URI.
subhasish-MSFT
Microsoft
Jul 23, 2020marcusyoung , Can you try using "https://kloud.com/" instead of "kloud.com/" for action: url property. It expect a valid URI.
- marcusyoungJul 23, 2020Copper Contributor
subhasish-MSFT, Thanks for your help, It worked! Another question, how do I access the option that I have chosen in the card? Ideally I'd like the open sync room button to go to a different website depending on what option is chosen. Is there a way to do this?
- subhasish-MSFTJul 24, 2020
Microsoft
marcusyoung ,
Adaptive card "OpenURL" action can not be modified with selected value. You could keep three different buttons with different URLs.
Or you could render a HTML page inside the task module and modify the button URL based on user selection of choice.- marcusyoungJul 31, 2020Copper ContributorWhere can I find more info on rendering the HTML page? I have more than 6 links so the buttons won't work