2

I want to use Fuzion tokens in an attachment letter (an insurance certificate) and I need to show up start and end date for this certificate.

It's easy for name and everything related to contact or custom fields but I don't find for the start and end dates.

Is it something like {contact.membership_start_date} & {contact.membership_end_date}?

Will these customs fields work? Is there a way to find them (documentation, ...)?

EDIT : 18/06/2019

I tried the Fuzion tokens found with Jon's help but unfortunately the {membership._} fields didn't work in my document. Others worked well. I thought at first, it didn't work out because the test user used had no contribution date, but actually even with one I can't get the token working.

enter image description here

enter image description here

Has anybody already succeeded in using those fields ?

4

The issue is that a contact can have multiple memberships, so you can't use membership tokens unless you display your search results as memberships.

In Advanced Search, do your search again, but change Display Results As from Contacts to Memberships. If your contacts only have one membership each, this is all you need to do; if they can have multiple memberships, you probably need to filter by date, membership type, or status to get the correct ones.

From the search action selector, you'll now have the option Print/merge document for membership. When you select that, the list of tokens will include membership start and end dates.

UPDATE: I've posted a video here demonstrating what I believe is the answer to the question: https://www.youtube.com/watch?v=5D2aLoW9ovU&feature=youtu.be

  • Great Jon! I found the fields and they are : {membership.start_date}{membership.end_date} – Guillaume Sorel Jun 11 at 15:36
  • apparently it doesn't do what I need :( – Guillaume Sorel Jun 18 at 8:50
  • @GuillaumeSorel I'm confused by your update. You say "it didn't work out because the test user used no no contribution date, but actually event...". I'm not sure what the connection is between your membership, events, and contributions. I think there is also a language barrier. Maybe join chat.civicrm.org and ask the question in the ~francophone channel? They may also be able to assist in translating your question here. – Jon G - Megaphone Tech Jun 19 at 0:37
  • G I've edited my question to correct my sentence. So I confirm that even with a registered user if I send an Email, normal fields are fusionned but not those you helped me to find. This is really bothering because our client really needs this service. – Guillaume Sorel Jun 19 at 11:28
  • 1
    @GuillaumeSorel I added a video to my question, hopefully it helps. Also note that "Fuzion tokens" is an extension that provides additional tokens. This feature is just "tokens", and doesn't require any extensions. – Jon G - Megaphone Tech Jun 19 at 14:26
0

So, after searching round and round, I finally found a simple extension: civitoken which permits to use many tokens and solved my question.

Actually Jon G already showed the way: https://civicrm.stackexchange.com/a/294/6991

Thanks for your help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.