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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,059)