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 / How to send Deep link ...
Power Apps
Answered

How to send Deep link in Email to show Gallery Screen

(0) ShareShare
ReportReport
Posted on by 189

Hi, I created the app and I would like to send a deep link via Email to the approver when I click the "Send approver" button. I want the approver to see screenDetail and in Gallery to show all the Data I filter on Screen, but I don't know how. please help.

 

Thank You.

 

Formula in Gallery1 

 

 

 

Sort(
 Filter(
 tbl_SH_VCAct,
 Title = gal_previousSC.Selected.ID
 ),
 LineNo,
 SortOrder.Ascending
) 

 

 

 

 

 

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    Hi @infinitepp ,

    Please watch this video first, I am happy to correct anything that may not work after that.

     

    Please click Accept as solution 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 Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • infinitepp Profile Picture
    189 on at

    Thank you WarrenBelz but I found a problem, at 15.35 in the video.

    I set the formula OnStart 

    But I cannot use varRecord in Label. The error is in the attached image.

    I'm not sure where something is wrong. Could you please give me some advice? 

    PS. I use SharePoint but The video is Dataverse.

     

    01.png02.png

     

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @infinitepp ,

    You are using GUID() around the parameter - I assume you are sending the Title column, so you do not need to do this - just refer to the Parameter Param("DeepLink"), which will be Text. You do not need to bother with the Variable - just put the Parameter above in the LookUp.

     

    Please click Accept as solution 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 Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • infinitepp Profile Picture
    189 on at

    The formula in OnStart does not have an error but In Label Text still has the same error.04.png 

     

    03.png

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @infinitepp ,

    So what are you sending as the parameter is the launch URL ?

  • infinitepp Profile Picture
    189 on at

    I try to use PlainText with varRecord and now no Error.

    05.png

     

    and the parameter is 

    06.png

    but it's still no working.

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @infinitepp ,

    Why are you using PlainText() when Title is already a text field (not that this would break it anyway). Have you looked at the URL actually sent to the app (copy it from the address bar when you open it)? Somewhere along here, I do not think you are sending anything as the parameter.

    Please post this URL as Text (you can xxxx the Power Apps ID characters, but leave in any ? or & signs). Can you also please do this for the link code you posted in the last reply.

  • infinitepp Profile Picture
    189 on at

    Yes, You're right. No parameter at my URL and now I trying to do ti again from the first step.

    This is OnStart

    infinitepp_1-1710672007351.png

     

    This is OnSelect from Button in screenDetail.

    infinitepp_2-1710672094205.png

     

    When I try to click from OnStart. It still no value.

    infinitepp_3-1710672149444.png

     

     

     

     

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @infinitepp ,

    As I asked before can you please post both the code and URL in text. From what I can see, your Parameter is vcID (you keep changing the code) which is set on varVCRecord.Title. The whole point here is that you need to ensure that this actually contains the Title field of the target record. I also assume that Title is unique in your List.

    If you are using SharePoint, you are far better sending the ID as it is always unique then using Value(Param("Whatever")) and looking up the record with the ID.

    I will be offline now due time zone and will pick up your response in the morning.

  • infinitepp Profile Picture
    189 on at

    onStart in App

    ClearCollect(
     colUser,
     Filter(
     MASTER_EMP,
     Title = Office365Users.MyProfile().Mail
     )
    );
    
    Set(
     varvcID,
     Param("vcID")
    );
    If(
     (IsBlank(varvcID)),
     Set(
     varvcRecord,
     LookUp(
     tbl_SH_ValueChainActivity,
     Title = varvcID
     )
     );
     Navigate(sc_valueChainActivities),Notify("No data",NotificationType.Error)
    );

     

    BrowserGallery in OnSelect Button

    Set(
     varRecord,
     Sort(
     Filter(
     tbl_SH_ValueChainActivity,
     Title = gal_valueChainName.Selected.ID
     ),
     LineNo,
     SortOrder.Ascending
     )
    );
    Navigate(sc_valueChainActivities)

     

    Item in Gallery1 on sc_valueChainActivites Screen

    varRecord

    onSelect in Submit button

    Office365Outlook.SendEmailV2(
     User().Email,
     "Please Approve",
     "<a href='https://apps.powerapps.com/play/e/default-4eb5f993-0bba-46eb-831a-3b7a9b4cde85/a/cdf22649-244d-43ac-9e00-03112cce4621?tenantId=4eb5f993-0bba-46eb-831a-3b7a9b4cde85&hint=b64d65e3-365b-4a00-af43-4eed8a5e7e68&sourcetime=1710666179633&vcID=" & varvcRecord.ID & "' >Link</a>"
    )

    These are all I have. Thank you for your help.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard