Forum Discussion
Insert edit list item URL into email body
Is it possible to insert a link in the email body to edit the current SharePoint list item in a flow email ?
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>
- Kerem YuceturkMicrosoft
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>
- Devang MistryCopper Contributor
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.
- Beat ZimmermanBrass Contributor
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.
- Beat ZimmermanBrass Contributor
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)?
- Alan MarshallSteel ContributorIf 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.
- Krista BradleyMicrosoft
YES! Thank you so much for posting this. It works beautifully.