NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Revised the wiki page title.

In your JSON file, if you want to create a parent collection for the data file you are registering (or update the metadata of a parent collection), also specify the metadata for the parent collection. Click the following link to view the syntax:  

Code Block
collapsetrue
    "metadataEntries": [
        {
         "attribute": "description",
         "value": "my-file-description"
        },
        {
         "attribute": "my-second-attribute-name",
         "value": "my-second-attribute-description"
        }
    ],
    "createParentCollections": true,
    "parentCollectionsBulkMetadataEntries": 
        {
        "defaultCollectionMetadataEntries": 
            [{
            "attribute": "collection_type",
            "value": "Folder"
            }]
        }