Documents

ZGW Documents are the documents that are stored using the Documenten API.

Plugin configuration

To use ZGW documents, the documenten-api module needs to installed. Instructions on how to use and configure the plugin(s) can be found here

Configuring the document list

The admin can configure some aspects to the document list.

Keywords (trefwoorden)

Keywords can be added to documents when uploading. This helps in categorizing the documents. GZAC does not allow a user to add keywords freely to prevent cluttering the data. Instead, the keywords a user can add should be configured in the case configuration at Admin > Case > {Case name} > [ZGW] > [Document trefwoorden]. At this page the currently configured keywords will be listed. You can also add new keywords, or delete them.

NOTE: Deleting keywords will not delete existing documents from the Documenten API, nor will it delete the keyword from existing documents. Deleted keywords will just not be available anymore when uploading a document

Autodeployment

Keyword configuration can also be loaded via autodeployment. To do so, create a json file in the application classpath which conforms to the following pattern: *.zgw-document-trefwoorden.json

The contents should follow the structure in the example below:

my-zaak.zgw-document-trefwoorden.json

{
    "changesetId": "my-zaak.zgw-document-trefwoorden",
    "case-definitions": [
        {
            "key": "my-zaak",
            "trefwoorden": [
                "some-trefwoord",
                "some-other-trefwoord",
                "some-third-trefwoord"
            ]
        }
    ]
}

List columns

List columns can be configured to change what data is shown in the document list view.

Autodeployment

List column configuration can also be loaded via autodeployment. To do so, create a json file in the application classpath which conforms to the following pattern: *.zgw-document-list-column.json

The contents should follow the structure in the example below:

my-zaak.zgw-document-trefwoorden.json

{
  "changesetId": "my-zaak.zgw-document-list-columns-v1",
  "case-definitions": [
    {
      "key": "my-zaak",
      "columns": [
        "AUTEUR",
        "STATUS",
        "FORMAAT",
        "TAAL",
        "VERSIE",
        "BESTANDSNAAM"
      ]
    }
  ]
}

The following columns are available for configuration:

  • AUTEUR

  • BESCHRIJVING

  • BESTANDSNAAM

  • BESTANDSOMVANG

  • BRONORGANISATIE

  • CREATIEDATUM

  • FORMAAT

  • IDENTIFICATIE

  • INFORMATIEOBJECTTYPE

  • LOCKED

  • STATUS

  • TAAL

  • TITEL

  • VERSIE

  • VERTROUWELIJKHEIDAANDUIDING

Last updated