Skip to content

Commit b4a9a76

Browse files
authored
Merge pull request #4 from IQSS/10316-docs
rewrite :CVocConf docs, explain where to find readme.md
2 parents 1c0915a + ccf34c9 commit b4a9a76

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

doc/sphinx-guides/source/admin/metadatacustomization.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,8 @@ Great care must be taken when reloading a metadata block. Matching is done on fi
552552

553553
The ability to reload metadata blocks means that SQL update scripts don't need to be written for these changes. See also the :doc:`/developers/sql-upgrade-scripts` section of the Developer Guide.
554554

555+
.. _using-external-vocabulary-services:
556+
555557
Using External Vocabulary Services
556558
----------------------------------
557559

doc/sphinx-guides/source/installation/config.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4458,9 +4458,13 @@ A boolean setting that, if true, will send an email and notification to users wh
44584458
:CVocConf
44594459
+++++++++
44604460

4461-
A JSON-structured setting that configures Dataverse to associate specific metadatablock fields with external vocabulary services and specific vocabularies/sub-vocabularies managed by that service. More information about this capability is available at :doc:`/admin/metadatacustomization`.
4461+
The ``:CVocConf`` database setting is used to allow metadatablock fields to look up values in external vocabulary services. For example, you could configure the "Author Affiliation" field to look up organizations in the `Research Organization Registry (ROR) <https://ror.org>`_. For a high-level description of this feature, see :ref:`using-external-vocabulary-services` in the Admin Guide.
44624462

4463-
Scripts that implement this association for specific service protocols are maintained at https://github.com/gdcc/dataverse-external-vocab-support. That repository also includes a json-schema for validating the structure required by this setting along with an example metadatablock and sample :CVocConf setting values associating entries in the example block with ORCID and SKOSMOS based services.
4463+
The expected format for the ``:CVocConf`` database setting is JSON but the details are not documented here. Instead, please refer to `docs/readme.md <https://github.com/gdcc/dataverse-external-vocab-support/blob/main/docs/readme.md>`_ in the https://github.com/gdcc/dataverse-external-vocab-support repo.
4464+
4465+
That repository also includes scripts that implement the lookup for specific service protocols, a JSON Schema for validating the structure required by this setting, and an example metadatablock with a sample ``:CVocConf`` config that associates fields in the example block with ORCID and SKOSMOS based services.
4466+
4467+
The commands below should give you an idea of how to load the configuration, but you'll want to study the examples and make decisions about which configuration to use:
44644468

44654469
``wget https://gdcc.github.io/dataverse-external-vocab-support/examples/config/cvoc-conf.json``
44664470

0 commit comments

Comments
 (0)