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 on Model-...
Power Apps
Answered

Deep linking on Model-Driven App

(0) ShareShare
ReportReport
Posted on by 100

Hello, 

 

I have a model-driven app, assigning task to a user.  Task has an incremental id (example:  task-0001, task-0002, etc.).

 

If task-0003 is created assigned to a user, how do I include in the email notification with a link that points exactly to task-0003 record?

 

Thanks.

Categories:
I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi,

     

    You can pass the URL of the record where the id=<guid> would be different for every record that is created.

    Make sure you pass correct url depending on the environment.

     

    If you're using Power Automate then you will get Primary Unique Identifier of the Record that is created.

     

    Hope this helps

  • Frolini Profile Picture
    100 on at

    Hi Ethan,

     

    Thank you for your quick reply.

     

    If the specific link:

     

    xxxxxxxxx.dynamics.com/main.aspx?appid=b80360d8-17f0-ed11-8848-000d3a09f3d2&pagetype=entityrecord&etn=task_incidentlogtable&id=ba0956ce-04f4-ed11-8849-000d3a09f3d2

     

    Where could I get this?

    ba0956ce-04f4-ed11-8849-000d3a09f3d2

     

     

    And is this the correct and complete line to put in the flow ?

     

    xxxxxxxxx.dynamics.com/main.aspx?appid=b80360d8-17f0-ed11-8848-000d3a09f3d2&pagetype=entityrecord&etn=task_incidentlogtable&id=

     

    Thanks again.

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Crostini ,

     

    So let's say you create an App that triggers whenever a Record is created or updated in the Table 'IncedentLogTable' 

    The flow will trigger with the Unique GUID (Unique Identifier) named as your Table name mostly in the Flow.

     

    //This is optional step but a good approach for consistency
    
    If you want easily modify your Org URL (production, dev, uat) if deploying to multiple environments then your URL will change. To make sure all URL reflects in respective places.
    You can add a variable at the top of Flow that needs to be used.
    
    Substitute the URL along with the rest of the URL
    
    Whenever you deploy from 1 env to other, just change that URL and the flow will do its job
    
    //Make replacements
    For example: On DEVELOPMENT Environment, URL will be
    <dev>.dynamics.com/main.aspx?appid=<id of dev APP>
    
    For example: On PRODUCTION Environment, URL will be
    <prod>.dynamics.com/main.aspx?appid=<id of prod APP>

     

    So, Whenever you capture any row -> It will have a Unique Identifier which in this case will hold the value "ba0956ce-04f4-ed11-8849-000d3a09f3d2"

     

    Hope this helps

  • Frolini Profile Picture
    100 on at

    Hi @Ethan_R,

     

    Thank you again for your quick reply.  Just one last question...(sorry, I am really a newbie to this topic).

     

    What should I put AFTER task_incidentlogtable&id=

     

    xxxxxxxxx.dynamics.com/main.aspx?appid=b80360d8-17f0-ed11-8848-000d3a09f3d2&pagetype=entityrecord&etn=task_incidentlogtable&id=

     

    - do I need to create a variable?  if yes, how do you do it in a model-driven app?

    - do I just put task_incidentlogtable&id='task_incidentlogtableId'

    - do I just put task_incidentlogtable&id=<guid>

     

    Thank you again.

     

     

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi,

     

    Can you let me know how you are sending Email notification? 

    Is it Power Automate, internal email, something else?

    I can tell you what you need there and how to proceed.

     

  • Frolini Profile Picture
    100 on at

    HI @Ethan_R ,

     

    I use Cloudflow within the Power Apps.  It looks like this.  I am not sure what to put AFTER &id=

     

    Crostini_0-1684505248395.png

    Thanks.

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Crostini ,

     

    Yeah, now you can add a dynamic value named 'Incident' where in its description you will see "Unique Identifier".

    Your content will be here

    //After '&id=' add the following
    "<Dynamic content>" in quotes

     

    Hope this helps

  • Frolini Profile Picture
    100 on at

    HI @Ethan_R ,

     

    I think that I am getting close to understanding it.  Thank you for your patience.  How do I "add a dynamic value..."?

     

    Is this the description (Unique Identifier) that you mention?

    Crostini_0-1684506702595.png

     

    Therefore, should I have this? 

     

    &id="<ISSUE>"

  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Crostini ,

     

    You don't need that,

    in the flow you will have in dynamic content just like how you added other items

    Ethan_R_0-1684508807172.png

     

     

    Instead of Scopings -> you will have Incident or Case in your scenario

     

    Hope you can navigate and get desired outcome. 

  • Frolini Profile Picture
    100 on at

    Hi @Ethan_R,

     

    Thank you so much for your patience and 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 742

#2
Valantis Profile Picture

Valantis 474

#3
Haque Profile Picture

Haque 358

Last 30 days Overall leaderboard