cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PatrickDammin
Regular Visitor

Another question about PushNotifications

Hi all.

Hope now the post is at the correct place. sorry for double-posting.

I read all the help docs and everything.
But in no case I can get the PushNotification to work.

- Are there known problems with using a Trial License?
- Is there a problem starting the Notification with OnSelect on a button?

I have a so very simple need to fullfill:
The User has many options in the App - one of it is "Request a Callback".
In this case the button is pushed I wanted to add the code:

 

PowerAppsNotification.SendPushNotification({ recipients:["94b1260a-xxxx-xxxxx-8bd1-98fedbbc9573"], message:"Please call back User xxxxx", openApp:true })

The App ID was manipulated in this Example...

Anyone can helpo me out?
In the Receiving App I already added the connection as data source.

2 ACCEPTED SOLUTIONS

Accepted Solutions
dimi
Impactful Individual
Impactful Individual

I still can't see what the actual error is, you can click the red cross or hover over the comma ',' this will show what i need to know.

 

Now my guess is that your browser is in another language and requires a ';' (semicolon) and not a ',' (comma) but it could be something else. What language is your browser in? If not, try to set it in English and see if the error persists.

 

On my side it is working, see attachment (test).

View solution in original post

dimi
Impactful Individual
Impactful Individual

I just see that you mention "App id" , this isn't going to work, you would want either a Email Id or a Email address

View solution in original post

13 REPLIES 13
dimi
Impactful Individual
Impactful Individual

On what device are you trying to have the notification (IOS or Android?)

Also take note (from here) that there are known limitations:

- For Windows Phone client the notifications don't show currently.

- We do not provide push notifications yet for users who only run apps in the web browser.

- https://stackoverflow.com/questions/53308062/powerapps-push-notification-not-working-for-android-dev...

 

 

I am running the app in iOS on iPad.
But I already have kind of syntax error message from powerapps.
I have no idea what maybe wrong here.

dimi
Impactful Individual
Impactful Individual

Thank you for the info.

Can you show us what the error is that you are having?

A screenshot or the content is enough.

 

Thank you!

There I have a screenshot.
I have a very boring app at a customers desk and all that this button has to do is push a notification to the app o nmy phone 😉

dimi
Impactful Individual
Impactful Individual

I can't see what the actual error is saying but i can see that you have a double quote to much on your Id.

Look at the attachment (quote.png) i included.

 

 

 

yah sorry. I just saw the double Quote... but that was not the Thing... Another screenie from another form...

dimi
Impactful Individual
Impactful Individual

I still can't see what the actual error is, you can click the red cross or hover over the comma ',' this will show what i need to know.

 

Now my guess is that your browser is in another language and requires a ';' (semicolon) and not a ',' (comma) but it could be something else. What language is your browser in? If not, try to set it in English and see if the error persists.

 

On my side it is working, see attachment (test).

View solution in original post

i had to use semicolon...
and the app ID is not working - I had to use eMail Adress...
Thank you !

 


 

now if you also know why the ID is rejected you are the best 😉

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 (78,443)