question

AkashKale-7783 avatar image
0 Votes"
AkashKale-7783 asked SharonZhao-MSFT edited

How to show a notification in spfx teams app?

Hi All,

I have created a teams personal app using spfx. The app shows list item from a SharePoint list based on some calculation and conditions, that is working properly.
What I want to achieve is whenever a new item is added in the list in SharePoint, my app in teams would show a notification like in the image below.

103979-image.png


Could you please help with this?

Regards,
Akash

office-sharepoint-onlineoffice-teams-app-dev
image.png (2.8 KiB)
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

JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered ChetanaMSFT-1947 commented

Hi @AkashKale-7783

Our forum is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your issue is also related to the development. Considering the app you developed which we do not support, I will add team-app-dev tag to your thread.

Meanwhile, 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.

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.


If the response 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.

Hi @AkashKale-7783 Thanks for bringing up this insights, Let us check this at our end and will get back to you.

0 Votes 0 ·

@AkashKale-7783

It has been a while, how is everything going?
If you have any update about this issue, please feel free to post back.

0 Votes 0 ·

Hi @ AkashKale-7783 Could you please go through this documentation and this video guides you to resolve your issue.


0 Votes 0 ·

jHi @JimmyYang-MSFT Could you please let us know if your issue got resolved.

0 Votes 0 ·