Creating a Document List
A former application, Doc Prep, had a functionality where a call could be made to get a doc list, and then that doc list could be populated into the body of a document. This functionality has been expanded to Expere. This solution provides a way to get a list of documents that apply to the transaction and then populate that list back to a document, such as a Closing Agenda or Welcome Letter.
Expere understands what documents are included in a request by looking at the response file, and populates that list to the content.
- ExpereTxn.xsd has been updated to include the document list information.
- /Txn/Packets/Packet/Documents/Document/DocumentName
- /Txn/Packets/Packet/Documents/Document/InstanceDisplayName
- (Empty): Indicates that this is not a document list document (same as if the checkbox is unchecked currently)
- Partial: Indicates the document contains a partial list of documents in the package
- Full: Indicates the document contains the full list of documents in the package (same as if the document list checkbox is checked currently)
When Expere identifies a REQ file that is a Document List document, it adds the document list information to the ExpereTxn transaction. This allows PTRs to be written against that information.
Supported functionality
- Ability to Author a Document List is not be restricted to a
particular document or location (Dynamic Only) Note:
- Do not use Document List when authoring Static documents. It’s available today as an option, but it is not supported and will be removed in the future.
- You are able to author the Document List on a Dynamic document.
- The dynamic document will present any Static or Dynamic document name in the list per the request.
- Single OR Double Column lists: supported but will need to be authored
- List format: Bullet, Numeric, or Simple List format
- Margin Requirements: follow the structure of REQ file
- Multi-Page Lists: lists that expand more than one page
- Page Break: needs to be authored if required
- Order of the List: matches the order in the Response
- Each document and instance is included in the generated list
- List Document Name options
- PacketName if authored
- DocumentName if authored
- InstanceDisplayName if authored
Authoring examples
If iterating over /Txn/Packets/Packet: this allows you to print the PacketName with a DTA (PRINT ./PacketName)
Workflow
The workflow is as follows.
Authored REQ file > Engine identifies if a REQ file is a Document List document > Expere generates all documents except for the REQ that contains the Document List and updates the TXN with the schema and information (see below) > Expere then generates the REQ file that has the Document List flag with the correct information.
TXN Schema
/Txn/Packets/Packet/Documents/Document/DocumentName
/Txn/Packets/Packet/Documents/Document/InstanceDisplayName
<Txn>
<Packets>
<Packet>
<PacketName>Packet1</PacketName>
<Documents>
<Document>
<DocumentName>My First Document Name</DocumentName>
<InstanceDisplayName>My First Document Instance Display Name</InstanceDisplayName>
</Document>
<Document>
<DocumentName>My Second Document Name</DocumentName>
<InstanceDisplayName>My Second Document Instance Display Name</InstanceDisplayName>
</Document>
</Documents>
</Packet>
<Packet>
<PacketName>Packet2</PacketName>
<Documents>
<Document>
<DocumentName>My Third Document Name</DocumentName>
<InstanceDisplayName>My Third Document Instance Display Name</InstanceDisplayName>
</Document>
<Document>
<DocumentName>My Forth Document Name</DocumentName>
<InstanceDisplayName>My Forth Document Instance Display Name</InstanceDisplayName>
</Document>
</Documents>
</Packet>
</Packets>
</Txn>