Oct 07 2019 02:49 AM
Oct 07 2019 02:49 AM
Hi all,
I was wondering of there's an ootb or "easy" way to show Teams cards (here: Praise bot cards) on a classic SharePoint intranet home page. I've gotten requests from Teams that would like to show praise from a central Team/Channel on our intranet home page and I'm looking for your input.
Thanks a lot in advance.
Oct 07 2019 02:53 AM
Oct 07 2019 03:39 AM
Oct 07 2019 04:14 AM
SolutionI don't think there is an out-of-the-box or even an easy way to do this.
If this is a make-or-break functionality and development is an option, probably this would be my approach/architecture:
1. Create an Azure Function that runs on a timer and uses List channel messages and Get channel messages delta to fetch the latest messages, and filter on "Praise Bot" (there is no change notification/webhook support). Downside: this would be limited to a specific channel, you can't get all messages for a user/bot through Microsoft Graph.
2. For a Group connected site: use the Connector webpart and let the Function post as a Adaptive Card
3. For a Classic/Non-group connected site/Communication site: create an SPFx web part that can accept this data and present it
It's not the best experience...
Oct 09 2019 03:29 AM
Thanks a lot for your responses guys, that gave me some helpful pointers that I can follow up on.
Oct 07 2019 04:14 AM
SolutionI don't think there is an out-of-the-box or even an easy way to do this.
If this is a make-or-break functionality and development is an option, probably this would be my approach/architecture:
1. Create an Azure Function that runs on a timer and uses List channel messages and Get channel messages delta to fetch the latest messages, and filter on "Praise Bot" (there is no change notification/webhook support). Downside: this would be limited to a specific channel, you can't get all messages for a user/bot through Microsoft Graph.
2. For a Group connected site: use the Connector webpart and let the Function post as a Adaptive Card
3. For a Classic/Non-group connected site/Communication site: create an SPFx web part that can accept this data and present it
It's not the best experience...