Improvement: Approval and rejection link for assignment notification emails

Good morning,

From the M-Files Release Notes, I noticed for the June 2024 update the following useful improvement:

Improvement: Approval and rejection link for assignment notification emails
ID: V-98503
Description: The templates of assignment notification emails can now be set to include a link for approval or rejection action.
Solution: Changes in Admin.

I have the updated version. How do I go about adding the approval/rejection links?

There doesn't appear to be any way to do this from M-Files Admin.

Thank you.

Patrick.

Parents
  • According to the product team you'll need to add a new section called New Approval Assignment Message to the default notification template under Advanced Vault Settings > Notifications > Notification Templates as described in Personalizing Notification Messages. There are two new placeholders %MFILESURLAPPROVE% and %MFILESURLREJECT% which can be used in the template. These are still missing from the placeholder list in the user guide but will be added there soon.

    You can copy-paste this template to the new section you add:

    <DIV class="timestamp">%TIMESTAMP%</DIV>
    <DIV>
    You have a new assignment from the user %CAUSEDBY%:<BR>
    %NAMEWITHLINKHTML%
    </DIV>
    <DIV><BR></DIV>
    <DIV class="proptitle">Assignment description:</DIV>
    <DIV><BR></DIV>
    <DIV class="propvalue">%PROPERTY_41%</DIV>
    <DIV><BR><DIV>
    <DIV>
    <span style='color:green'>&#10003;</span> <a href="%MFILESURLAPPROVE%">Approve this assignment</a>
    </DIV>
    <DIV>
    <span style='color:red'>Χ</span> <a href="%MFILESURLREJECT%">Reject this assignment</a>
    </DIV>
    <DIV><BR></DIV>
    <DIV><SPAN class="proptitle">Deadline:</SPAN> <SPAN class="propvalue">%PROPERTY_42%</SPAN></DIV>
    <DIV><BR></DIV>
    <DIV class="proptitle">Referred objects:</DIV>
    <DIV><BR></DIV>
    <DIV class="propvalue">%PROPERTY_-110%</DIV>
    <DIV>
    %HYPERLINKFRAGMENTHTML%
    </DIV>

  • Hello Joonas, thank you for the info! It was very valuable. One quick question from my side: Can this also work from mobile? Because so far it only worked for me from laptop usage (where desktop client is installed of course).

Reply Children