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 / Create link to newly c...
Power Apps
Answered

Create link to newly created SharePoint item

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a powerapp form that submits all the entered fields as a new item in a sharepoint list. It also fires off a flow that sends a confirmation email. I'd like to include a link in the email to the newly created item in the SharePoint list.

 

I tried just creating a node in the email flow and entering ThisItem.'{link}' as the argument in the Email.Run() method but it says that's an invalid paramter. I then tried Text(ThisItem.'{link}') and it accepted it, but the string was blank.

 

How can I accomplish this?

Categories:
I have the same question (0)
  • Brentless Profile Picture
    106 on at

    From the flow that is sending the email, possibly try a "Get Items" and find the most recent item with the same title you created.  Then you can construct the link based on the returned ID, as well as any other fields in that item you want to include in the email.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for the suggested solution @Brentless@pearldrumbum can you advise if this helped?

     

    @Anonymous

  • Verified answer
    tchin-nin Profile Picture
    779 on at

    Hi,

     

    I would suggest to use the LastSubmit property of your EditForm. 

    When you submit a new or existing form to a DataSource, you can retrieve it's properties by using the LastSubmit property of the form. 

    On your flow, use a PowerApps trigger and a 'Ask in PowerApps' variable for the item URL in the mail body.

    Then, you flow will expect parameters when it's called from PA :

    On your submit button you can do something like :

    SubmitForm(EditForm1)

     Then on the form OnSucces property : 

    SendEmailFlow.Run(EditForm1.LastSubmit.{Link to Item})

    (I am not sure for the {Link to Item} syntaxe, just have a look on a suggested properties availables.

     

    Theo

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 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard