I'm following the MS instructions to Create a Canvas app with deep linking.
I'm struggling a little with understanding the actual logic which is leading to struggles translating some of the insturctions.
I have successfully done everything up to the point of modifying the App Onstart and StartScreen properties.
My challenge occurs with the step to modify the OnVisible property of the details page.
Instructed command is: If(Not(IsBlank(accountId)), UpdateContext({accountVal:LookUp(Accounts, Account = GUID(accountId))}))
I have modified to:
If(Not(IsBlank(checklistId)), UpdateContext({positionVal:LookUp('IBC Checklists', ID = GUID(checklistId))}));
That's producing an error and telling me that GUIDs can only be compared to GUIDs.
Can someone help me understand where I've gone wrong? I know it's in the LookUp but I can't figure out what I should be comparing to what.
There is a little difference in my app since it's not just a display page of the Checklists data. There are a bunch of records related to the Checklist in a Checklist Items list. I want the user to land on the Items page based on the Checklist passed through.
positionVal is being set and works correctly through normal navigation. It's set when clicking the item in the Checklists gallery and results in the correct data being displayed on the Items page.