Hi,
Hopefully this is something really easy that I’m missing and someone can help me out.
I have a meeting template set up as an action, which works fine, but in the body of the meeting template I’d like it to automatically add the current date when the action is run. So for example I’d get “Meeting [current date]” as a title.
Thanks for the tip, but I’ve already tried adding date | %d-%m-%Y with the double brackets (yep, I’m a Brit) to the body of the template, but it just came out as the formula.
A couple of things. I got an error relating to the comment at the top, the single '/'s were the problem. I just deleted the comment. It wasn’t related to the template issue.
For the template issue there are two things:
The template needs to be processed. Just assigning it to the draft content isn’t enough. You need to change:
d.content = template
to
d.content = d.processTemplate(template)
Secondly, the template itself has spaces where it shouldn’t. It needs to be: