Forum Discussion

Ian Moran's avatar
Ian Moran
Steel Contributor
Dec 12, 2016

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>

     

  • 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 Mistry's avatar
      Devang Mistry
      Copper 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 Zimmerman's avatar
        Beat Zimmerman
        Brass 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 Zimmerman's avatar
      Beat Zimmerman
      Brass 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 Marshall's avatar
        Alan Marshall
        Steel Contributor
        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.

Resources