Information about documents
Last updated
Last updated
When matching documents (e.g. in a meta document), you can access information about the document you are matching. For example, if you say d is Document
you can request informatin about the document you have just matched.
You can request these information:
Property
Description
d.key
The key of the document, e.g. kyc_for_entity
d.__disabled
Whether the document is disabled or not
d.__hidden
Whether the document is hidden or not
d.__before_toc
Wether the document appears before the table of contents or not
d.__to_be_signed
Whether the document should be signed or not
d.__create_missing_values
Whether the document creates missing values in the case or not
d.__document_type
The type of the document, e.g. PDF or ADX
d.__instances
A list of the matched instances of the document
d.__instances_by_key
A dictionary of matched instances of the document. The keys is the name of the match, e.g. "p" and the value is the instance or a list of instances