SOLVED

Insert edit list item URL into email body

Steel Contributor

Is it possible to insert a link in the email body to edit the current SharePoint list item in a flow email ?

7 Replies
best response confirmed by Ian Moran (Steel Contributor)
Solution

Hi Ian Moran! There is no direct way at the moment, but you could craft your own link by using the ItemId. Make sure the mail is using HTML and then add something like this:

 

<a href="https://contoso.sharepoint.com/teams/marketing/Lists/IssueTracker/EditForm.aspx?ID=<<<FLOW ITEMID TOKEN>>>">Edit item</a>

 

Excellent, thanks !

YES!  Thank you so much for posting this.  It works beautifully.

This works if the EditForm is a SharePoint integration form. Is this as well possible if the App has been created from Data (which is as well a SharePoint list, but not integrated with customize forms)?

How can we fetch the following:

<<<FLOW ITEMID TOKEN>>>">

Can you please provide more info on this part? I mean is this something that is going to behave Statically or dynamically? Also how can I fetch the Flow itemid token, Thanks for the help.

It's the ID of the associated list item in the SharePoint list. You fetch it by adding dynamic content, ID, from the step in the flow that deals with that item.

If you mean a PowerApp to edit data then you can pass parameters to the PowerApp in the querystring of the PowerApp sharing link such as the list item ID. In PowerApps, check in onStart if Param(your parameter) is empty of not and if it isn't navigate to a screen with and edit form and show the record with the ID matching your Param.
1 best response

Accepted Solutions
best response confirmed by Ian Moran (Steel Contributor)
Solution

Hi Ian Moran! There is no direct way at the moment, but you could craft your own link by using the ItemId. Make sure the mail is using HTML and then add something like this:

 

<a href="https://contoso.sharepoint.com/teams/marketing/Lists/IssueTracker/EditForm.aspx?ID=<<<FLOW ITEMID TOKEN>>>">Edit item</a>

 

View solution in original post