cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (22,567)