Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support for SharePoint (Viva) Adaptive Card Extension #6695

Merged
merged 17 commits into from
Nov 1, 2023

Conversation

AJIXuMuK
Copy link
Contributor

@AJIXuMuK AJIXuMuK commented Oct 4, 2023

Fixes #6613

Description

SharePoint Framework is adding a new adaptive card experience (ACE) where it is powered by a Bot. In order to be able to implement the bot we are updating the BotBuilder Framework to natively support these API's to make it easier for end users to add a bot powered ACE.

Specific Changes

We support 5 new BotInvoke activities:
"cardExtension/getCardView"
"cardExtension/getQuickView"
"cardExtension/getPropertyPaneConfiguration"
"cardExtension/setPropertyPaneConfiguration"
"cardExtension/handleAction"

The SharePointActivityHandler in Microsoft.Bot.Builder.SharePoint is the base class for developing a bot powered ACE. Users of this base class will need to implement the following 5 methods:

OnSharePointTaskGetCardViewAsync
OnSharePointTaskGetQuickViewAsync
OnSharePointTaskGetPropertyPaneConfigurationAsync
OnSharePointTaskSetPropertyPaneConfigurationAsync
OnSharePointTaskHandleActionAsync

Testing

This was tested using a test app.

@AJIXuMuK AJIXuMuK marked this pull request as ready for review October 31, 2023 22:59
@AJIXuMuK AJIXuMuK requested a review from a team as a code owner October 31, 2023 22:59
@tracyboehrer tracyboehrer added the Automation: No parity PR does not need to be applied to other languages. label Nov 1, 2023
@tracyboehrer tracyboehrer merged commit 4d64c20 into microsoft:main Nov 1, 2023
12 checks passed
@tracyboehrer tracyboehrer changed the title SharePoint ACE Activity Handler feat: Support for SharePoint (Viva) Adaptive Card Extension Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automation: No parity PR does not need to be applied to other languages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The bot builder framework should support SharePoint bot driven ACEs
2 participants