Add support for the Action.Execute command and various flows, including the action/execute invoke and auth flows.
OBI spec is here: microsoft/botframework-obi#128
Hacked up webchat that can do AC 1.4 cards: https://github.com/clearab/CateringDemo
@kaerm when will the schema spec be merged in?
semi-dupe of #3828
not sure if there is a specific date. @clearab might know
@compulim I'm assuming it's safest to wait until the schema is updated - thoughts?
@DDEfromOR @p-nagpal Is there any info from the service side on a schedule for supporting this on DirectLine?
DirectLine currently supports the 1.4 protocol, it is necessary for the new Outlook and Search channels. The 1.4 schema itself is already GA.
@Jeffders has done the work on the service/DirectLine side.
Sorry for the confusion, folks. Spoke with DDEfromOR offline and he clarified about the service/DirectLine side. I've added this to R14 candidates (which was the hopeful plan already), and we'll probably consolidate this with 3828 in the next several days. :)
The latest version of adaptivecards package on NPM is 2.9.0 as of now. The README only say it support up to 1.3, but not 1.4.
We generally wait until our deps is in production before we move to the newer version. It reduce risks on our customers, also reduce risks on release. But sometimes, we will simul-ship (2+ products goes to production at the same time), usually, if the management think a bigger splash outweigh its risks, or, if we can take the opportunity to provide feedbacks for them.
As we are close to Build, please let us know sooner. From our experiences, bumping AC usually takes us a few days due to breaking changes or accessibility issues. As AC 1.4 introduce new features, it will also requires new code, i.e. more time to integrate, plus upgrading our test bot to support new commands.
Checked with the team, 2.9 is supposed to support 1.4.
The table in the readme is mapping prior versions to card schema versions - I do know that Teams, Outlook, and Search are all rev'ing to support 1.4 schema cards by build.
Please let us know when the spec is finalized. David from Adaptive Cards team is still commenting on the spec.
Do you know if there are any sample apps on how to use Adaptive Cards renderer 2.9 with Action.Execute? I mean, I know how it works on the protocol level, but I don't know how to use the 2.9 package and integrate it with the protocol.
The spec is as finalized as it is going to be for this iteration I believe - Teams, Outlook, and Search are all building to it. We can schedule a meeting with David if you've got specific questions you need answered, and probably connect you with the folks doing the Teams implementation.
For the app, I believe @Jeffders has a couple working demo apps for this (and can probably also help answer any spec questions).
List of stuff we do after Adaptive Cards rendered the card (from adaptiveCardRenderer.js):
keypressaria-press="true"role="button" (when rendered by AC, it set role="menuitem")actionPerformedClassName, we will set it to the button className after the button is pushedrole="menubar"?document.activeElement)actionPerformedClassName or disabled is changeduseParseAdaptiveCardJSON.tsAdaptiveCard.parse, we call updateRTLInline to walk the AC-specific DOM tree to add rtl property to every element of type AdaptiveCard.ContainerExtra notes:
Action.OpenUrl (default, it will become window.open)Action.Submit become postBack and imBack
Most helpful comment
DirectLine currently supports the 1.4 protocol, it is necessary for the new Outlook and Search channels. The 1.4 schema itself is already GA.