Overview 

Welcome to document coding in Athennian. We know that coding Word documents is a technical task and often confusing. We have worked to make our coding as easy and intuitive as possible.

In this article, we fill focus on the fundamentals of document coding in Athennian such as syntax and formatting. In further articles, you can learn more advanced techniques such as repeat loops, conditional logic and filters. 

Athennian Variable List

For the list of coding variables that can be used in the Athennian, you can search at the following link: https://public.tableau.com/profile/athennian#!/vizhome/AthennianVariables/CorporateSummaryVariables

Basic Syntax 

Note: As with any document assembly system, it is important to follow the syntax very carefully. 

Athennian uses curly brackets (aka moustache tags) for brackets around the characters as follows: 

{entity_entityName}

The example above is the variable to generate an entity's name. Variables are structured with a Collection & Field variable. In the above example, the Collection variable is: entity & the Field variable is: entityName.

Camel Case

Variables in Athennian are written in a Camel Case structure. This means the first word will be written in all lower case, and subsequent words are written with the first letter capitalized. 

{entity_fiscalYearEnd}


Plural Variables

Plural variable syntax is used when multiple pieces of data are desired in a document. In this case, a hashtag (#) is used to open the Collection variable and a forward slash (/) is used to close the Collection. Within the open and end, Field variables can be inserted to indicate what data fields are desired in a document. The following will generate the names of all the directors for an entity. 

{#directors} {name} {/}
Did this answer your question?