Demo using UI
1. Purpose
Allow users to edit documents and view all their versions.
2. Mark a field as available for update
Go to Manage Schema. Select the desired schema or create a new schema. Select the field with the Simple type, and the āUpdatable fieldā field will become available. Check this box. Save form.

Note: If the field type is not one of a Simple type, the value in the āUpdatable Fieldā will be removed and will become non-editable.

3. Creating and Viewing Document Changes
Changes to a document can be created by the user who created the original document and is its publisher. For a user to edit a document, the document must not have the Revoked or Rejected status.
To create a new version, view the document in the published policy by clicking the āView Documentā button, which will open the viewing form. If the current user is the document owner, a āSwitch to Edit Modeā button will appear in the upper right corner.

āSwitch to Edit Modeā will be available to the document owner provided that the selected version of the document is the latest (current) version. Clicking this button will open the document in Edit mode.

In Edit mode, document information is displayed, and a button is available to switch back to form view mode.
Fields marked as āUpdatable fieldā will be editable. After changing these fields, click āSave Changesā (becomes available if any changes have been made to the form).


Close button: allowing you to continue making changes.
Save button: creates a new revision of a document and automatically switches to view mode.
If a document has multiple versions, a drop-down list of all document versions will appear.

If the form has been modified and the user clicks the āSwitch to View modeā button, a dialog box will appear. In this dialog box, the user can save their changes and switch to view mode or immediately switch to view mode without saving the changes.
When you select the desired version, information from the selected version is displayed.

Note: A user who is not the owner of a document cannot edit it but can view all versions of the document.

By clicking the āApproveā button from the grid, the user creates their own document based on the original (first) version of the document.

When viewing the document history in āTrust Chainā, we can also see all versions of documents, starting from the most recent version and ending with the first one.

4. Indexer
Documents with multiple versions have a drop-down list with all versions. By default, the latest version of the document is selected.

When you select any version, information about the selected version is displayed.

Last updated
Was this helpful?