Body: <p>I have a contact (individual) owner of several organization. He will pay the membership for all organizations. I need to send a contribution receipt showing that</p>
  
  <blockquote>
    <p>John Doe</p>
    
    <p>paid 100€</p>
    
    <p>for </p>
    
    <p>Super cool organization 1</p>
    
    <p>Top organization 2</p>
  </blockquote>
  
  <p>I've installed the <a href="https://github.com/twomice/com.joineryhq.reltoken" rel="nofollow noreferrer">Related tokens extension</a> but as written and read afterwards it needs an improvement for multiple relationships</p>
  
  <blockquote>
    <p>Provide more control or better defaults for what happens when a contact has more than one relationship of a given type. For example, many contacts may have more than one "Parent/Child", and the Related (Child)::First Name token obviously falls short here; at present it will use the relationship with the highest internal ID (typically the one most recently created), but it could be more desirable in various situations to use the one with the newest start date, or to concatenate them all into a comma-separated string, or any number of other things.</p>
  </blockquote>
  
  <p>So my question is: how to find these fusion fields? Is it possible without coding?</p>
  
  <p>Any clues?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-04T15:41:13.080Z
Comments.Text: Help needed. I can't find any solution :-(
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-05T13:49:24.767Z
Comments.Text: You can try the data processor extension and the data processor token output extension. With that you can create custom tokens from the UI. You first have to setup the data processor to retrieve the right data and then you can add a token output to the data processor. But not sure if it helps your particular case.
Comments.UserDisplayName: Jaap Jansma - CiviCooP
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-08T10:32:33.783Z
Comments.Text: ok many thanks Jaap, I'll try immediately!
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-08T16:40:40.800Z
Comments.Text: @JaapJansma-CiviCooP I've tried with one individual owning 2 enterprises but it returns only one entreprise. Do you think it is possible to get all B (child) contacts from A (Parent) contact with this extension?
Comments.UserDisplayName: Guillaume Sorel
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-01T16:56:52.777Z
Comments.Text: should I create hidden custom fields that grab the organization names from the webform?
Comments.UserDisplayName: Guillaume Sorel
Tags: <relationships><tokens>
Title: Contact name Tokens for multiple relationships
ThreadText: # Contact name Tokens for multiple relationships
  
  (Asked by: username_0 on 2020-06-01)
  
  I have a contact (individual) owner of several organization. He will pay the membership for all organizations. I need to send a contribution receipt showing that
  
  > John Doe
  >
  > paid 100€
  >
  > for
  >
  > Super cool organization 1
  >
  > Top organization 2
  
  I've installed the [Related tokens extension](https://github.com/twomice/com.joineryhq.reltoken) but as written and read afterwards it needs an improvement for multiple relationships
  
  > Provide more control or better defaults for what happens when a contact has more than one relationship of a given type. For example, many contacts may have more than one "Parent/Child", and the Related (Child)::First Name token obviously falls short here; at present it will use the relationship with the highest internal ID (typically the one most recently created), but it could be more desirable in various situations to use the one with the newest start date, or to concatenate them all into a comma-separated string, or any number of other things.
  
  So my question is: how to find these fusion fields? Is it possible without coding?
  
  Any clues?
  
  **Tags:** relationships, tokens
  
  > **Comments:**
  > **username_0**: should I create hidden custom fields that grab the organization names from the webform?  
  > **username_0**: Help needed. I can't find any solution :-(  
  > **username_1**: You can try the data processor extension and the data processor token output extension. With that you can create custom tokens from the UI. You first have to setup the data processor to retrieve the right data and then you can add a token output to the data processor. But not sure if it helps your particular case.  
  > **username_0**: ok many thanks username_1, I'll try immediately!  
  > **username_0**: @JaapJansma-username_1 I've tried with one individual owning 2 enterprises but it returns only one entreprise. Do you think it is possible to get all B (child) contacts from A (Parent) contact with this extension?  
  
  ---
  
  ## 0 answers
  
  