Hi all,
Hope you can be of some help.
I have two apps, that I have been trying to create deep links between. Below is the process that I'm trying to follow.
APP 1 is the main app, filled with the front end personal details and will be used more often.
APP 1 - Onstart;
Set(VarEmpID, Value(Param("EmpID")));
If(VarEmpID <> 0, Set(VarRecord, LookUp('People We Support', CustomID = VarEmpID)));
If(Param("Screen") = "10", Navigate('My Health', ScreenTransition.Fade));
After the selecting a person from the main gallery, there is a button that launches APP 2
Launch("https://apps.powerapps.com/play/...&hidenavbar=true&EmpID=" & VarRecord.CustomID)
APP 2 - Onstart;
Set(VarEmpID, Value(Param("EmpID")));
If(VarEmpID <> 0, Set(VarRecord, LookUp('CarePlans (Personal Risk Profile)', CustomID = VarEmpID)));
APP 2 contains main Risk Profile contains numerous drop down questions... If High, link appears to new screen within APP 2, if Medium, Link appears to take you back to APP 1 and it's more personal care plans.
Set(VarScreenID, Value(Param("ScreenID=10")));
Launch("https://apps.powerapps.com/play/...&hidenavbar=true&EmpID=" & VarRecord.CustomID & "&Screen=10")
I've done my best to follow Shane Youngs guide and but whilst I'm confident the first half of this process works, I'm getting stuck on the return aspect.
I've created a second parameter on APP 2 that gives it the destination of 'Screen 10' thus when APP 1 is ever loaded with that parameter it automatically goes to that page... This does work, however, in the process, it seems to lose it's initial 'VarEmpID' and thus loads the page with no data.
I'm also having an issue that it's difficult to edit App 2 since it's now designed to be opened from APP 1 with crossing variables, thus when I load in edit mode, it loads without said variables and many things are blank. Is there a way, to create a default Gallery Selection. So that even without the VarEmpID being transfered across it can load some data.

Report
All responses (
Answers (