Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
12 lines (7 loc) · 1.22 KB

10519-dataset-types.md

File metadata and controls

12 lines (7 loc) · 1.22 KB

Dataset Types can be linked to Metadata Blocks

Metadata blocks (e.g. "CodeMeta") can now be linked to dataset types (e.g. "software") using new superuser APIs.

This will have the following effects for the APIs used by the new Dataverse UI ( https://github.com/IQSS/dataverse-frontend ):

  • The list of fields shown when creating a dataset will include fields marked as "displayoncreate" (in the tsv/database) for metadata blocks (e.g. "CodeMeta") that are linked to the dataset type (e.g. "software") that is passed to the API.
  • The metadata blocks shown when editing a dataset will include metadata blocks (e.g. "CodeMeta") that are linked to the dataset type (e.g. "software") that is passed to the API.

Mostly in order to write automated tests for the above, a displayOnCreate API endpoint has been added.

For more information, see the guides (overview, new APIs), #10519 and #11001.