cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Muffeljupp
New Member

PowerAppsNotification failes by using params

Hi there,

 

i play with the PowerAppsNotification and everything is well.
But when i will use params: then i get an error.

this is my Code:

 

 

PowerAppsNotification.SendPushNotification(
            {
                recipients: ["Mail-Adress"]; 
                message: "Word App! It's your turn to make a word!"; 
                openApp: true;
                params: Table({key:"Screen2";value:"Val1"})
            }
        )

 

 

Muffeljupp_1-1595593018957.png

 


The Error says, that the Table ist OK, but needs a "key" column as "text".
Without the params: everything is OK and works.

Same connector in PowerAutomate works well.

Muffeljupp_0-1595592976615.png

Any suggestions?

4 REPLIES 4

It is expecting the key to be a variable and the value to be something like DataCardValue10.Text

 

If it works in Power Automate as you wish, why not use Power Automate?

Screen2 appears to be a screen reference, and would not be considered a text value.

 

Use logic (Switch, If, etc.) to determine the "screen" to use and pass it as text.

 

On the receiving side, you may need to map the string back to an appropriate Screen reference, should be easy if you're developing all the apps/Flows used.

 

You are all right, but my Problem is the error in the first screen. The Text in the key and table field is only for demonstrations.

 

I would like to use Pushnotification in PowerApps with the params: 

v-siky-msft
Community Support
Community Support

Hi @Muffeljupp ,

 

I just made a test but it works well without any error messages. 

Snipaste_2020-08-03_16-34-25.png

Have you enabled the experimental feature of enhanced formula bar or anything else?

Could you please try to change another browser, and turn off all related experimental and preview features to see if the issue is fixed?

Hope this help.

Sik

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,678)