web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Deep linking to item

(1) ShareShare
ReportReport
Posted on by

I created an app with deep linking to a specific item and screen. The database is in SharePoint. When an item is created an email is sent out to a specific person with a link to the item and proper screen. 
It works great when I test it but when I have someone else test it the screen they receive states 
"Getting your data" and stays stuck on that screen. 

Anyone have any ideas why this is happening? 

I have the same question (0)
  • mdevaney Profile Picture
    29,987 Moderator on at
    Re: Deep linking to item

    @Lisea123 
    Getting your data typically shows when no Item is found in the form.


    Two ideas:

    #1 Make sure you shared the SharePoint list with them as well as the app.

    #2 Maybe you need to confirm the user is able to see the Parameter you passed into the app for ID by putting it in a label temporarily.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • LA-07111402-0 Profile Picture
    on at
    Re: Deep linking to item

    Members have been added to the app and also have access to the SharePoint site. 
    I'm new so not certain how I would do #2. 
    Can you elaborate please?

  • mdevaney Profile Picture
    29,987 Moderator on at
    Re: Deep linking to item

    @Lisea123 

    How are you telling PowerApps what item to open in the Form.  Please share your code.

  • LA-07111402-0 Profile Picture
    on at
    Re: Deep linking to item

    OnStart i have

    ClearCollect(colQEdata,QualityEventItems);
    ClearCollect(colSupervisors,Evaluators);
    Set(varScreen,Param("Screen"));
    Set(
    varEmpID,
    Value(Param("EmpID"))
    ); If(varEmpID <> 0 && varScreen = "Staff",Set(SelectedItem,LookUp(colQEdata,ID = varEmpID));Navigate(DetailScreen,Cover),varEmpID <> 0 && varScreen = "Management", Set(varSelectedManager,LookUp(colQEdata,ID = varEmpID));Navigate(scrnInfoManager,Cover))
     
    OnSelect of the button to send the email:
    Office365Outlook.SendEmailV2(crdIdentifiedEmployee_Man.Selected.Email, "An ECO for you to acknowledge", "Here is an ECO <a href = 'https://apps.powerapps.com/play/36fccdc3-f0b3-436d-90c5-e1ceb184b609?tenantId=4830d02f-fd7b-4629-905f-a41bb5868147&Hidenavbar=true&Screen=Staff&EmpID=" & varSelectedManager.ID & "' >link </a> for you to acknowledge." & "</br> Please acknowledge as soon as possible.")
     
    and on the Detail screen Items:
    SelectedItem
  • mdevaney Profile Picture
    29,987 Moderator on at
    Re: Deep linking to item

    @Lisea123 
    Hmmmm... I don't see any problem with your code.

  • LA-07111402-0 Profile Picture
    on at
    Re: Deep linking to item

    Should I change the varSelectedManager.ID in the Button OnSelect to  selectedItem.ID   because the Details Screen's Items properties is SelectedItem?

  • mdevaney Profile Picture
    29,987 Moderator on at
    Re: Deep linking to item

    @Lisea123 

    Sorry, I'm not sure at this point.  I thought I had a path to the solution... but it turns out maybe not 😞

  • LA-07111402-0 Profile Picture
    on at
    Re: Deep linking to item

    ok 😞 
    I'll keep searching. 

  • Mx81 Profile Picture
    860 on at
    Re: Deep linking to item

    @Lisea123could it be, that the users don’t have access to these list items?

    maybe there is a special permission?

    i would try it with creating a new screen with all items inside and check if your users can see all entries. I assume you have more permissions because you are site owner?

  • LA-07111402-0 Profile Picture
    on at
    Re: Deep linking to item

    Hi @max81,
    Yes, users have all the permissions. 
    Could it be because my if formula has to many conditions? 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 714 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard