In this article:
- How Participant Custom Data Fields Are Merged
- Generating Documents for Specific Parties
- Advanced Options
- Troubleshooting
How Participant Custom Data Fields Are Merged
If you create a custom data field for a participant type, this field appears in the merge field list with the prefix pt_, followed by the participant type and then the field name.
For example, if you create a custom data field called qualifications for the Attorney participant type, the merge field would be created as pt_Attorney_qualifications.
Because the system already knows which participant type this merge field is associated with, it's not necessary to include the pt= option when using this merge field in a document or field within Actionstep. Instead, you can add this field using just the merge field name alone, e.g., [[pt_Attorney_qualifications]].
If you have more than one of these participant types in a matter, you can refer to the specific participants using the row-number (rn) option.
For example if you wanted to display the qualifications of the second attorney added to a matter, use [[pt_Attorney_qualifications|rn=2]] (although this would most likely be done inside a repeat block using rn=* under normal circumstances).
Generating Documents for Specific Parties
You can link a template to a participant type so that you can generate documents specific to the selected participant. (See Document Templates Overview for more details.)
Advanced Options
Actionstep includes some advanced options that, when using a participant type merge field, allow you to specify whether you want the participant custom data to come from the matter or the contact record. Additionally, for secondary contact types, you can access the custom data fields of their primary contact types. The following examples explain how:
Example 1: Getting the data from the contact record instead of the matter
Use the source option with values action (default) or contact_record.
[[pt_Policeman_Badge_Number|source=contact_base]]
This merge field pulls the Policeman Badge Number from the contact record rather than the matter.
Example 2: Accessing a base participant type field.
Let's say that for the base participant type of Company, you created a custom participant data field called ABN (or Australian Business Number) and you want to include a merge field that shows the ABN for a participant type of Insurer, which is a secondary participant type derived from Company.
If you want the ABN from the Insurer's contact record, you can add this participant type into the merge field like below:
[[pt_Company_ABN|pt=Insurer|source=contact_base|pt=Insurer]]
Troubleshooting
If you see missing merge field indicators in the generated document from participant type custom data merge fields, it may be caused by the fact that the contact record was added to the matter before you entered the value of this field in the contact record.
To correct this, either remove the participant from the matter and add it back in, or edit its value while working with the contact on the Parties tab of the matter. (Hover over the name in the matter's participant list to edit the values).
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article