Page History
...
UI Text Box | ||
---|---|---|
| ||
In this situation, a case is represented as an Aggregate, see Designing cases using aggregates. |
The instance list shows document instances that have been added at an earlier stage and persisted using aggregates. This article focuses on how Blueriq Documents are generated, stored in instances and supplemented with metadata so that you are able to display them in a list.
...
- CreateInstance
Because the document/file has to appear in an instancelist, I have to create a new instance. In this example a 'Document' instance is created, based in on the entity mentioned in the FileID parameter. - Relation
The new Document instance will be added to the Case.Documents relation, because in my example the instancelist only contains 'Case' documents. - Connection
The connection is set to 'filesystemconnection', to make sure the file is stored and can be kept permanently. See also How to setup a connection. - Persistence
Persistence has to be permanent - in this example on the filesystem - because the file has to be kept in storage due to audittrails. Temporary persistence in memory isn't a suitable solution, because the file will be gone when restarting the Runtime for example.
...
Overview
Content Tools