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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Email with Link to Spe...
Power Apps
Suggested Answer

Email with Link to Specific Record

(1) ShareShare
ReportReport
Posted on by 1,265
I have reviewed this subject online but can't identify my issue.  I have a Flow where an email is sent and I am trying to provide a link (to specific record) in the email compose.  I went to the Power App "Detail", copied the "Web Link" and and placed in the email (Compose as follows)...
 
 
The link appears in the email; however, with selection, the User is taken to the main gallery versus the specific record.  Any assistance would be appreciated. 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Are you trying to open a specific item in SharePoint? If so, the syntax would be:
     
     
    However, you seem to be asking this in relationship to Power Apps, and I don't do anything with Power Apps as we use a different tool for what Power Apps can provide. If the above does not work and it applies specifically to your Power App, you may want to post the question in the Power Apps forum instead.
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,452 Super User 2025 Season 2 on at
    HI @RJF61
     
    So to @David_MA Point, are you trying to show the Record Inside the Power App?
     
    To me, this sounds more like you have a Screen in your Power App, and in that Form it can display a record from a Datasource (SharePoint or Dataverse or SQL whatever)
     
    If that is the case, then this is called deep linking.
     
    There is more than 1 way to do this, but this is the normal (with more possible).
     
    You would send a link to the App and then you would add the proper parameter value so that IN your app you can make your Gallery or Form or whatever Load the right record by setting the Items or Item property
     
    Example:
     
    Let's pretend your App url is https://apps.microsoft.com/myapp
     
    Now let's say you want to have your Form load specifically a SharePoint list Item with ID 12, OR you want to use another column, like Title, whatever. you would pass it like this
     
    or 
     
    Now in the OnStart you would put
     
    If !IsBlank(Parm(ID))
       Navigate(MyFormScreen, ScreenTransition.None, { DeepLoadID: Param(ID) }
    )
     
    In this instance I am passing a MADE UP Context variable named DeepLoadID that has the value of the ID parameter you passed.
     
    Now in your Screen, in your Item property you put LookUp(myDataSource, ID = DeepLoadID);
     
    This will force the Form to load the SharePoint item ID that you sent in the Url
     
    Now in the rest of your app, you would make sure to Pass the Form screen the DeepLoadID value.
     
    So if you had Screen 1 with a Gallery and when you click let's say an Arrow or Button in the Gallery you would do
    Navigate(myFormScreen, ScreenTransition.None, { DeepLoadID: Gallery.Selected.ID });
     
    This way no matter where you are in your app, make sure to pass this Context variable?
     
    Does that answer what you want?

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
     
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at
    Hi @RJF61,
    Just a small adjustment to what @Michael E. Gernaey has posted on his correct response (so please mark that). Parameters come in as Text, so you need
    If(
       !IsBlank(Parm("ID")),
       Navigate(
          MyFormScreen, 
          ScreenTransition.None, 
          {DeepLoadID: Value(Param("ID"))}
       )
    )
     
  • RJF61 Profile Picture
    1,265 on at
     
    Hello Michael,
     
    When I place the following in the OnStart, I receive an error ("Navigate is not permitted in OnStart.  Use the StartScreen property instead")
     
    If(
       !IsBlank(Parm("ID")),
       Navigate(
          MyFormScreen, 
          ScreenTransition.None, 
          {DeepLoadID: Value(Param("ID"))}
       )
    )
     
    Thanks
     
     
     
     
     
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at
    Hi @RJF61,
    You need to change this setting
     
    but that is a bit of a short-term fix.
     
    A more permanent solution would be to put this in App > Formulas
    DeepLoadID = Value(Param("ID"));
    and this in StartScreen
    If(
       !IsBlank(Parm("ID")),
       MyFormScreen, 
       YourNormalStartScreen
    )
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like♥.
    Visit my blog Practical Power Apps    LinkedIn   

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard