Item link bug in email action

Home Forums Modern DFFS Item link bug in email action

Viewing 1 reply thread
  • Author
    Posts
    • #38547
      Amal Vellappillil
      Participant

        Test case 1:
        – Editing a record
        – Rule to send an email
        – Email contains display link to the current record. I used [[item:link_disp]] inside the body of the email to auto generate the link.
        – When I received the email, it had PageType=6 (this is wrong. it should have been PageType=4)

        I checked the following as well
        – View item link: [[item:link_disp]] – resulting PageType=6
        – Edit item link: [[item:link_edit]] – resulting PageType=6
        – Current form: [[item:link]] – resulting PageType=6

        Test case 2:
        – Adding new item
        – Rule to send an email
        – Email contains display link to newly created record
        – I was not able to use .../Sites/YourSite/Lists/YourList/DispForm.aspx?ID=123 pattern (i used _DFFSID for actual id)
        – I was not able to use .../Sites/YourSite/_layouts/15/SPListForm.aspx?PageType=4&List=[GUID OF YOUR LIST]&ID=[ITEM ID] (I used _DFFSID for actual id)
        – I tried using [[item:link_disp]]. It had a 0 for the id when it auto generated the link. Also the link had PageType=8 (this should have been PageType=4)

        I did get a working link by constructing the link with the following pattern .../Sites/YourSite/Lists/YourList/Allitems.aspx?DFFSForm=disp&DFFSID=123
        Can you provide a recommended guideline on what to use to generate links from rules in new form?

      • #38548
        Alexander Bautz
        Keymaster

          Hi,
          I have confirmed a bug where “[[item:link_disp]]” and “[[item:link_edit]]” fails to pick up the ID of the item from NewForm and also fails to get the correct PageType. I’ll get it fixed and publish a new version tomorrow.

          You can construct the link manually like this – I think it should work in the current version also:

          https://contoso.sharepoint.com/sites/your_site/_layouts/15/SPListForm.aspx?PageType=4&List=your_list_guid&ID=[[fieldValue:ID]]
          

          Alexander

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.