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

Push Notifications V2 Parameter function not executed or coming true

Hi there,

 

Making a app and we like to share updates to the items with the creators. Therefore i like to send push notifications with a parameter to redirect them directly to the item in the app. we've looked at it with some specialists already but don't seem to get it right. How can i make it work configured from the app directly.

 

Currently when redirecting adding a param in the browser URL: it works fine but coming from the push notification v2, the param is not passed through or picked up. 

 

OnStart: Set(VarID,Value(Param("varID")));If(VarID<>0,Set(VarRecord,LookUp(MydataSource,ID = VarID)));

StartScreen: If(IsBlank(Param("varID")),If(IsBlank(Param("varIDEdit")),Start_Screen,Action_Screen),Detail_Screen)

 

on submitting a comment:

 

OnSelect: PowerAppsNotificationV2.SendPushNotificationV2("PowerApps","{appIdentifier: ""25108a25-3b4d-419a-b533-123456789012"",type:""CanvasApp"",displayName:""MyAppName""}",Table({Value:User().Email},{Value:VarRecord.Idea_Owner.Email}),"A new comment is added to idea: " & VarRecord.Title & " ID: " & VarRecord.ID,true,{varID:VarRecord.ID})

 

hope to see you reactions..

 

 

 

1 REPLY 1
SamuelZhou
Regular Visitor

 

I think you can accomplish this using FLow

 

And referencing this article should be helpful

 

https://www.matthewdevaney.com/power-apps-deep-links-email-direct-link-to-a-specific-record/

 

In my flow

flow sample.jpg

 

Tesk OK in Android phone,Good Luck!!!

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (4,242)