cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TomLU123
Frequent Visitor

Customize the Message in Push Notification

Hi Experts, 

 

I am developing an announcement function with push notification. Screenshot 3.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I want to use the text just edited in the "Content" of the edit form as the messages of the push notification. Is it possible to achieve that? How should we write the formula?

 

Many thanks!

 

Best regards,

Tom 

4 REPLIES 4
v-micsh-msft
Community Support
Community Support

Hi @TomLU123,

 

Have you checked the following article?

Send a push notification in PowerApps

 

Assuming the content TextInput box is named TextInput1, then the formula should be:

PowerAppsNotification.SendPushNotification({recipients:["Email Address"],message:TextInput1.Text,openApp:true})

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Michael,

 

Thanks for your active reply!

 

I tried the formula, but when I finishing editing and subit, it shows erro in the "message" as showed in the picture. My content text input is called: DataCardValue18.


Screen Announcement.png

 

 

Could you provide some suggestions?

 

Many thanks!

 

Best regards, 

Tom

Hi Michael, 

 

And one more question, if I want the user to open a certain page (e.g. the page is called "Announcement") after clicking the push notification, how should I configure the Param in the formular?

 

Many thanks!

 

Best regards, 

Tom

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,340)