question

Bhawana-9253 avatar image
0 Votes"
Bhawana-9253 asked RaytheonXie-MSFT commented

Show notification for ms teams personal app cum SharePoint app

Hi All,

I have created one SharePoint SPFX web part and same web part is converted into ms teams personal app. now I need to show the bubble notification in ms teams for the same app. I have seen few blogs which says to use ms graph but none of them gives example for personal app.

below configuration settings I have done in WebPart.manifest.json file so that SPFX web part can be used on both SharePoint and MS teams

"supportedHosts": ["SharePointWebPart","TeamsPersonalApp"]

now I need to show notification in ms teams app. please see below image



103979-image.png




any help and suggestions are appreciated.

office-sharepoint-onlineoffice-teams-app-devsharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RaytheonXie-MSFT avatar image
0 Votes"
RaytheonXie-MSFT answered RaytheonXie-MSFT commented

Hi @Bhawana-9253 ,
I found a video shows you how to send Teams notification using Microsoft Graph, you can see if is helpful to you. The following link also show the components of activity feed notification for your reference.
https://www.youtube.com/watch?v=3MCAKzHkdWU&t=471s

Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
And please go through this documentation as reference
https://docs.microsoft.com/en-us/graph/teams-send-activityfeednotifications


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RaytheonXie-MSFT . Thankyou for your response. my requirement is different. I already have on SPFX web part which i am using as ms teams personal app reference doc




now I need notifications highlight for this app in ms teams. the solution provided by you is compatible with ms teams tabs / teams / bot.

any suggestion / guidance in this respect is appreciated.

Thankyou

0 Votes 0 ·

Hi @Bhawana-9253 ,
Could you provide more details about "notifications highlight"?If you want to show notification on personal app like teams chat app?

1 Vote 1 ·

Hi @RaytheonXie-MSFT ,

Yes. I am looking to show notification on personal app like teams chat app? request you to please suggest if this is possible to achieve or any alternate options are there?

Thanks

0 Votes 0 ·
Show more comments