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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

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