Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
other_stuff:document_registry [2024/09/11 15:26] – [Deleting a document] Gary Willetts | other_stuff:document_registry [2024/10/22 16:44] (current) – [Adding a document] Gary Willetts | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n> | {{indexmenu_n> | ||
====== 26.20. Document registry ====== | ====== 26.20. Document registry ====== | ||
- | The document registry is for storing...something very mysterious | + | The document registry is for storing |
Line 12: | Line 12: | ||
The number in the bottom left of the window is in the format '' | The number in the bottom left of the window is in the format '' | ||
+ | |||
===== Deleting a document ===== | ===== Deleting a document ===== | ||
Select a document in the list by clicking on it and click on the **Delete** button. After confirmation the document will be deleted and will no longer be available for use. | Select a document in the list by clicking on it and click on the **Delete** button. After confirmation the document will be deleted and will no longer be available for use. | ||
+ | |||
===== Adding a document ===== | ===== Adding a document ===== | ||
+ | Click on the **New** button and this window will open: | ||
+ | {{ : | ||
+ | * **Document type:** This is a free text field. Enter something meaningful so you will know later what this document is for. | ||
+ | * **Category: | ||
+ | {{ : | ||
- | ===== Editing | + | Highlight one by clicking on it and click the **OK** button to select it. |
+ | * **Context: | ||
+ | {{ : | ||
+ | |||
+ | Highlight one in the list by clicking on it and click on the **OK** button to select it. | ||
+ | * **Name:** This is a free text field. Enter the name of the form as it will appear in Open mSupply. | ||
+ | * **Data schema:** Click on the **Upload** button to select the JSON schema file that defines the contents of the form. | ||
+ | * **UI schema:** Click on the **Upload** button to select the JSON file that defines the appearance of the form. | ||
+ | * **Config:** Click on the **Upload** button to select the JSON file that defines the confguration of the form. | ||
+ | * **Data field:** When you click on one of the 3 file fields, this field will show the contents of the files for checking. | ||
+ | Click on the **OK** button to save your changes or the **Cancel** button to discard them. | ||
- | {{ : | + | ===== Editing a document ===== |
+ | Double-click on the document you want to edit in the table and the same window for adding a new document will open but populated with the selected document' | ||