Datastore Manager¶
The Datastore Manager is intended for advanced-level DHIS2 users. Before you use the Datastore Manager, you can read more about the Data store here: DHIS2 data store.
Usando o Datastore Manager¶
The Datastore Manager lets you manage the content of the web API data stores. This is helpful when managing apps and external scripts.
Adicione um novo namespace e chave ao Datastore Manager¶
Observação: você deve criar um namespace antes de adicionar uma chave a ele.
-
Clique em ** Novo **.
-
Digite um nome para o namespace que deseja criar.
-
Enter a key name, and select Create. The new namespace displays in the left pane.
Adicione uma chave a um namespace existente no Datastore Manager¶
Para adicionar uma nova chave a um namespace existente no Datastore Manager,
-
Selecione o namespace ao qual deseja adicionar uma chave.
-
Clique no menu de opções e clique em ** Nova chave **.

-
Insira um nome de chave na caixa de diálogo Nova chave.
-
Click Create. The new key is added to the namespace you selected.
Exclua um namespace ou chave do Datastore Manager¶
To delete a namespace, or key, click the Options menu, and then click Delete, and then Delete again. Note that if you delete the only key in a namespace, you will also delete the namespace it belongs to.
Procure por namespaces ou chaves¶
Use the search tool in the top left corner to search for namespaces and keys as follows:
-
Enter a namespace name followed by # and the key name to search for a specific key in a namespace.
-
Enter # followed by the name of a key to search for keys only.

Pesquise sua biblioteca JSON¶
Use the search tool in the workspace toolbar to search your JSON library.

Edite namespaces ou chaves no Datastore Manager¶
Use the Search tool to find namespaces or keys in your datastore. When you edit your content, you can toggle between the Tree view and the Code view. Use the Tree view to get an overview of the contents of the Datastore. Use the Code view to edit your code directly in the code editor. Remember to save your work by clicking the Save button.

In the Code view, you can edit your code. When you edit a line of code, it is highlighted in yellow.

Any errors are marked by the editor. If you hover over the error icon, you can view a short description of the error.
