inbo / collective-access

CollectiveAccess is free, open-source software for cataloguing and publishing museum and archival collections. We are currently evaluating and configuring the application for the INBO collections, in the context of the DiSSCo Flanders project (https://dissco-flanders.be/).
3 stars 0 forks source link

Import: cannot import is_deaccessioned #89

Open Eveltjen00 opened 1 year ago

Eveltjen00 commented 1 year ago

For the DNA use case, various attempt have not lead to success to import that the tissue samples from which a DNA sample are dervied are deaccessoined. Boolean data type. Intrinsic value in the ca_objects table.

Tried various options in the Importer Worksheet:

{"parents":[{
  "idno": "%",
  "name": "^3",
  "type": "^5",
"attributes":[{"ca.objects.is_deaccessioned":"1"}],
"relationships":[{
"relatedTable":"ca_occurrences","type":"disposal","relationshipType":"executedOnObject","preferredLabel":"automatic disposal genetic lab 2018"},
{
"relatedTable":"ca_entities","type":"org","relationshipType":"currentOwner","preferredLabel":"INBO"}]
}]}

Also tried combinations of following changes: "intrinsic_fields":[{"ca.objects.is_deaccessioned":"1"}], "intrinsic_fields":[{"ca.objects.is_deaccessioned":true}], "intrinsic_fields":[{"is_deaccessioned":true}],

{"parents":[{
  "idno": "%",
  "name": "^3",
  "type": "^5",
"Deaccessioned?":true,
"relationships":[{
"relatedTable":"ca_occurrences","type":"disposal","relationshipType":"executedOnObject","preferredLabel":"automatic disposal genetic lab 2018"},
{
"relatedTable":"ca_entities","type":"org","relationshipType":"currentOwner","preferredLabel":"INBO"}]
}]}