Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Difficulty with deep linking

(0) ShareShare
ReportReport
Posted on by 714 Super User 2025 Season 1

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.

Categories:
  • DCHammer Profile Picture
    714 Super User 2025 Season 1 on at
    Re: Difficulty with deep linking

    That works. I end up with a 'real' data value in the checklistID parameter but it's meaningless. I'll publish later today and verify it works but your proposed change eliminates my error. Thank you.

  • Verified answer
    LaurensM Profile Picture
    12,510 Super User 2025 Season 1 on at
    Re: Difficulty with deep linking

    Hi @DCHammer,

     

    The Accounts Dataverse table condition expects a GUID as comparison value - which is why the GUID() function was used. I suspect IBC Checklists to be a SharePoint list? - here you will have to compare the ID field (default SP column) to a number:

    //Option 1
    LookUp('IBC Checklists', ID = checklistId)
    
    //Option 2
    LookUp('IBC Checklists', ID = Value(checklistId))

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,535 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,908 Most Valuable Professional

Leaderboard