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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Deep Linking from Shar...
Power Apps
Answered

Deep Linking from SharePoint list

(0) ShareShare
ReportReport
Posted on by 997 Super User 2024 Season 1

Hi, I have this SharePoint list that is a data source for Power Apps.

anonymous21_0-1659690623174.pngRequester is a people column

 

Whenever an item is added to the list, it will send an email to the approver with the Power Apps web link. I use Power Automate to trigger this.

 

anonymous21_3-1659690913083.png          anonymous21_2-1659690832994.png

On the first picture, if the user clicks the next arrow, it will display the second picture with the employee's information.

I want that when the approver clicks the link in Outlook, it will direct him to the second picture with the employee's information that is newly created that is based on the ID. How to do this?

 

Thank you.

 

Categories:
I have the same question (0)
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @syhrh ,
    You will have to send a link like below in the email to approver where we will have one screen parameter and one ID parameter :
    https://apps.powerapps.com/play/{App ID}?paraID=<ID>&paraScreen=<ScreenName>
    Then you will have to make below changes in your power app:

    1. App On Start property:

    Set(varParamID, Value(Param("paraID"))); Set(varParamScreen, Param("paraScreen")); If(varParamScreen = "Screen2", Navigate(Screen2), Navigate(Screen1))
    2. item property of edit form:

    If(IsBlank(varParamID), Gallery1.Selected, LookUp(ListName, ID = varParamID))

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    Hi @NandiniBhagya20,

    this is in Power Automate flow to send the link

    anonymous21_0-1659930108320.png

     

    //App.OnStart
    Set(varEmpID, Value(Param("EmpID"))); Set(varParamScreen, Param("paraScreen"));
    If(varParamScreen = "ApprovalScreen", Navigate(ApprovalScreen), Navigate(ListScreen));
    //Form1.Items
    If(IsBlank(varEmpID), varRecord, LookUp(NewSubordinates, ID = varEmpID))
    //NextArrow1.Gallery1.OnSelect
    Set(varRecord, ThisItem);
    Navigate(ApprovalScreen);

    When I run the flow and click the link on the email, it directs me to the List Screen (Pending Approval List) instead of the Approval Screen with the Employee's leave request information. Is there something wrong with my formula?

     

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @syhrh ,
    Please use the below updated URL in your email link:
    https://apps.powerapps.com/play/{id}?tenantId={tenantID}&EmpID={ID from flow}&paraScreen=ApprovalScreen
    Please don't add {} in the url 

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    @NandiniBhagya20 It works. Thank you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard