You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the __init__ method for class OpenUrl in Adaptive Card Actions the variable url is not being set. This results in the card being "malformed" as the Action UrlSubmit element will be missing the url attribute.
I am not entirely sure if I am doing something wrong while instantiating OpenUrl.
I am just calling it like this,
Version: 1.6
The Problem
In the
__init__
method for class OpenUrl in Adaptive Card Actions the variableurl
is not being set. This results in the card being "malformed" as the Action UrlSubmit element will be missing the url attribute.I am not entirely sure if I am doing something wrong while instantiating OpenUrl.
I am just calling it like this,
And this does not work.
Workaround:
TextBlock("[Click Me](https://myurl)")
OR
And if there is any dynamic content, use string replace
Potential Fix??
I was able to sort of "fix" it by
self.url = url
in the__init__
method."url"
to the list being assigned tosimple_properties
in thesuper().__init__
call.Here's an excerpt from file actions.py
Here's what I did to make it work
The text was updated successfully, but these errors were encountered: