Doc Merge Today's Date Field

Hello,

I need help finding the correct string to return today's date in a Doc Merge Template.  In PDF Manager I used a smarty modifier, but I'm having trouble 

moment().calendar(referenceDay)
Parents
  • I am not familiar with Doc Merge but if you check the Template Assistant in the help at the bottom of the page:

    it suggests functions like today and now:

    and you can copy to clipboard from there.

    FrancescaS

  • I have tried the template assistant functions for today {!formula value='today('} comes up as undefined on the document.

  • instead of {!formula value='today('} you need {!formula value='today()'}   

    i.e. a closing parenthesis. 

    I just tested with a fresh doc the following two:

    and they generated the following:

    I'll raise an Issue with the product group too to ensure this experience is improved - thank you for flagging!

Reply
  • instead of {!formula value='today('} you need {!formula value='today()'}   

    i.e. a closing parenthesis. 

    I just tested with a fresh doc the following two:

    and they generated the following:

    I'll raise an Issue with the product group too to ensure this experience is improved - thank you for flagging!

Children