Export/Import Documents

In this article:

Export Documents

1. Navigate to AdminManager.

2. Select Exportera dokument(Export documents) and proceed to it.

../../../_images/adminmanager-export-docs-tab.png

3. Here specify range of documents(start id and last id). It is better to use small ranges because large ones will be longer to wait.

../../../_images/export-document-page.png

4. Export documents manager overview.

../../../_images/export-doc-page-explanation-1.png ../../../_images/export-doc-page-explanation-2.png

1 - Hoppa över exporterat( Skip exported) – always turned on. When turned on skips already exported documents from export.

2 - Each document can be included/excluded from export. Checked -> export. This value saved in database so every user that has access to this page will see it.

Note

Document will not be included in export if it is not published.

3 - Indicates document export status:

  • successExport - means document successfully exported.
  • excludedExport - means document has been excluded from export and was skipped during export.
  • failedExport - means document failed to export. Something unexpected happened. Check logs.

Note

If document failed to export so during the next export system will try to export it again if it is included in export.

4 - Document status.

5 - Exportera(Export) button. Click and system will export document within range.

5. Indicates that system exports documents. Wait until page reload and show summary page.

../../../_images/export-progress-indication.png

6. Summary page.

../../../_images/summary-page-1.png ../../../_images/summary-page-2.png

1 - Export status.

2 - Download zipped exported documents in json format(export.zip).

Import Documents

../../../_images/import.png

upload - used to upload zipped documents in json format.

idRange - user can specify id range. Can be empty for list button(e.g. …-…, 1-…, …-999). Cannot be empty for import button. User has to specify range.

list - used to show basic import documents info within range.

filter - used to filter basic import documents by status.

import - used to import documents within range.

Import entity reference manager

Import entity reference manager used for each import entity reference(role, category, category type, template).

../../../_images/import-entity-reference-manager.png

Note

If no category or category type specified – then new one with import name will be created in system.

If no role specified then new one will be created.

If no template specified then default one will be used. User has to upload template by himself.

Import statuses:

  • IMPORTED – means document imported and can be updated using UPDATE statuses.
  • UPDATE – document will be updated from id.json file. You can import it many as many times as you want.
  • SKIP – document will be skipped during import.
  • FAILED – document importation failed. Check logs for more info.