Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M
Mailing
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Development
  • Mailing
  • Issues
  • #69

Closed
Open
Opened Jul 15, 2020 by swebervna@swebervna

Civi not automatically imploding a dropdown Array for use as a token in a message template

Hello!

I have a custom field, which is a multi-select dropdown, and I've inserted a token for that field to be used in a Message Template. Unfortunately, anytime I do the mailing using that Message Template, instead of the token inserting what you'd expect (Option1,Option2, etc as selected in the dropdown), it just says "Array". I've found that it's just referencing the underlying infrastructure, in this case it's the Array entity (Drupal 7) for the dropdown value, but Civi won't implode it and list them like it should for that token:

Mailing Result: image

Message Template: image

Custom Field: image

Edited Aug 05, 2020 by swebervna
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/mail#69