Hi,
I am trying to create 2 deep links that open up to 2 different screens based on the record selected from each of the galleries. Below are the syntaxes:
At OnStart:
Set(VarEmpID,Value(Param("EmpID")));If(VarEmpID<>0,Set(VarEmp,LookUp('MasterList',ID=VarEmpID));Navigate('Emp Details')); Set(VarClearanceID,Value(Param("ClearanceID")));If(VarClearanceID<>0,Set(VarClearance,LookUp('MasterList',ID=VarClearanceID));Navigate(EmpClearanceSummary)); | For 1st Deep Link For 2nd Deep Link |
1st Deep Link
At the Emp Gallery screen
Gallery NextArrow:Set(VarEmp,ThisItem); Navigate('Emp Details') |
At the Emp Details screen:
2nd Deep Link
At the Clearance Gallery screen:
Gallery NextArrow:Set(VarClearance,ThisItem); Navigate('EmpClearanceSummary') |
At the EmpClearanceSummary screen:
EditForm.Item:VarClearance |
SendLink_Button.OnSelect:Office365Outlook.SendEmailV2("MyEmail@email.com", "Subject", "<a href='https://apps.powerapps.com/play/{App ID}?ClearanceID="& VarClearance.ID &"'>link</a>") |
The 1st one is working fine.
But the 2nd one is not working, I am able to open up to the EmpClearanceSummary screen but without the record I expected (i.e empty). When I tried to select a record from the Clearance Gallery, it also navigated to an empty EmpClearanceSummary screen. How can I solve this?