Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
other_stuff:document_registry [2024/09/11 15:31] – [Adding a document] Gary Willettsother_stuff:document_registry [2024/10/22 16:44] (current) – [Adding a document] Gary Willetts
Line 1: Line 1:
 {{indexmenu_n>190}} {{indexmenu_n>190}}
 ====== 26.20. Document registry ====== ====== 26.20. Document registry ======
-The document registry is for storing...something very mysterious for Open mSupply. We will divulge the secret soon...+The document registry is for storing settings for various forms that are used in Open mSupply.
  
  
Line 23: Line 23:
 {{ :other_stuff:pasted:20240911-151642.png?450 |}} {{ :other_stuff:pasted:20240911-151642.png?450 |}}
  
-  * **Document type:** +  * **Document type:** This is a free text field. Enter something meaningful so you will know later what this document is for. 
-  * **Category:** +  * **Category:** When you click on this field you will be shown another window with a selection of categories to choose from like this: 
-  * **Context:** +{{ :other_stuff:pasted:20241022-163102.png?300 }} 
-  * **Name:** + 
-  * **Data schema:** +Highlight one by clicking on it and click the **OK** button to select it. 
-  * **UI schema:** +  * **Context:** This field may be filled in for you automatically and become read only when you select the **Category** (meaning this categroy does not need ny further context information or clicking on this field will open another window to allow you to select the master list which is the context for the form like this: 
-  * **Config:** +{{ :other_stuff:pasted:20241022-163718.png?400 }} 
-  * **Data field:**+  
 +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. Click on the **OK** button to save your changes or the **Cancel** button to discard them.
 +
 +
 ===== Editing a document ===== ===== 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's details. Edit any of the details as required then click on the **OK** button to save your changes. Click on the **Cancel** button to discard your changes. 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's details. Edit any of the details as required then click on the **OK** button to save your changes. Click on the **Cancel** button to discard your changes.
  • Last modified: 2024/09/11 15:31
  • by Gary Willetts