The following questions and answers can help you troubleshoot some common issues using Actionstep Builder
Why do I get errors when I attempt to save a Word template?
A. Following are some common errors you might see when saving a Word template, along with some possible solutions.
Error: Unrecognized identifier 'VariableName' in field N of the content template 'uploaded' in model 'modelname
This happens when you’ve used a variable that’s part of an object model (participant type or data collection) and you attempt to save the template. To insert variables that are part of a larger object model, the field must include the object model name and, if it’s a multi-row object model, it also needs the index marker indicating which record you want to pull from the data, like this:
To learn more, see the section "Inserting Variables in a Template" in Creating Builder Variables.
Error: As:action_participant list variable '[ObjectModelName]' (a LIST) has no function or property named [VariableName]' [in field N of the content of template '(uploaded)' in model '[ModelName']
This happens when you insert a list-based object model and variable in the template, but fail to either 1) include the index marker, which indicates which specific record to pull from Actionstep when generating the completed document, or 2) include a list instruction, which indicates that the object model can insert any number of records.
Syntax for Inserting a Specific Item from a List | Syntax for inserting a Multi-Row List |
{[pt_Plaintiff[0].FullName]} | {[list dc_Assets]} {[AssetName]} (${[AssetValue]}) {[endlist]} |
To learn more, see the section "Inserting Variables in a Template" in Creating Builder Variables.
Error: Field N's If has no matching EndIf
It matters where you place your opening and closing instructions. If the opening instruction is on its own line, the closing instruction must likewise be on its own line. If the opening instruction is within a paragraph, the closing instruction must also be in the same paragraph. (In these instances, a line refers to the space between Word paragraph markers.) Check your template text and make sure the opening and closing instructions are used in the right place.
Separate paragraphs | {[if pt_Buyer_Bldr[0].MiddleName]}¶ {[pt_Buyer_Bldr[0].MiddleName]}¶ {[endif]}¶ | The instruction is used to insert a full paragraph, so both the opening an closing ifs are on their own lines. |
Inline list | {[list dc_Assets|punc:"1, 2, and 3"]}{[AssetName]}{[endlist]}¶ | The list is created within the same paragraph, so the opening and closing list instructions are also in the same paragraph. |
To learn more, see Using If and List Instructions.
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