DXT stands for Docxtemplater, a powerful third-party JavaScript library integrated into Athennian. It enables dynamic generation of Word documents and PDF forms using templates coded with structured placeholders and logic.
These templates are created in Microsoft Word or PDF format and include DXT variables — dynamic fields that pull data directly from Athennian's entity management system. DXT supports advanced functionality like:
-
Conditional logic (
if
,else
, etc.) - Loops (for iterating over collections)
- Operators, filters, and functions to transform and format data
How It Works
- Template Upload: Once a template is written with valid DXT syntax and passes syntax validation, it's uploaded to the Templates section in Athennian.
- Admin Management: Admin users develop, manage, configure, and update the templates.
- Document Generation: Non-admin users can generate documents by merging legal entity data into the templates — the DXT assembler handles the data merge on the backend.
💡 If you’d like to see how to locate the assembled <DXT_Variables>
in your browser’s Developer Tools, [click here to discover how].
When generating or assembling DXT variables for an entity, all related data stored in Athennian—such as affiliations, shareholdings, dividends, custom fields, and any other recorded entity details—is automatically pulled into the <DXT_Variables>
🍋. This gives you full access to a comprehensive set of entity-specific information, which you can use when coding your templates with the full power of document coding functions and filters.
What Are DXT Variables?
DXT variables represent the structured data stored in Athennian and are visualized through the Console in your browser's Developer Tools. These variables are essential for building dynamic, data-driven document templates and fall into three main types:
-
Root Collections – Top-level categories such as
affiliations
,entities
,shareholdings
, andcertificates
. -
Nested Sub-Collections – Structured data within root collections, such as
affiliations > addresses
,entities > prevNames
,shareholdings > history
, andcertificates > fromTransactions
. -
Flat Variables – Individual data points like
affiliations > participant_fullName
,affiliations > addresses > locationType
, orentities > entityName
.
Templates rely on these DXT variables to dynamically generate accurate documents. Athennian currently supports over 1,000 unique flat variables—and that number continues to grow—organized within a robust hierarchy of root and nested collections.
Template Code Logic & Flexibility
Athennian offers powerful template-building capabilities designed to handle a wide range of legal documentation needs. Here's what you can expect:
-
30+ Operators, Filters & Functions
Use a rich set of logical expressions and transformation tools to code dynamic templates. These allow you to customize how variables are populated based on document type, content, and entity-specific data. -
21 Task Workflows & 40+ Document Generation Paths
From routine corporate filings to complex, multi-jurisdictional workflows, Athennian’s flexible document engine adapts to your use case.
Each document generation path may rely on different shapes and structures of DXT variables, which means templates must be configured with the appropriate logic to ensure the correct data is pulled and displayed accurately.
Why It Matters
Document automation in Athennian supports the full lifecycle of a legal document—from creation to execution and storage:
- Templates are coded using DXT-compatible logic
- Data is merged in real time through the DXT assembler during document generation
- Documents are then reviewed, executed, and stored in the entity’s Minute Book or your integrated document management system, supporting all future legal transactions
Getting familiar with DXT is essential for anyone looking to build or customize document templates in Athennian. It’s how structured entity data is transformed into accurate, legally compliant documents—automated and ready to support complex legal workflows.
Related to