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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gandiddi
Copy link
Collaborator

@gandiddi gandiddi commented Feb 6, 2025

Fixes #minor

Description

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

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 botbuilder.core is the base class for developing a bot powered ACE. Users of this base class will need to implement the following 5 methods:
on_sharepoint_task_get_card_view
on_sharepoint_task_get_quick_view
on_sharepoint_task_get_property_pane_configuration
on_sharepoint_task_set_property_pane_configuration
on_sharepoint_task_handle_action

Testing

Below image shows the new unit tests are passing.
Tests_SharePoint adaptive card experience

@gandiddi gandiddi requested a review from a team as a code owner February 6, 2025 11:58
@gandiddi gandiddi requested a review from tracyboehrer February 7, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant