Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Update to the default MARC Bib-to-Inventory Instance MAP:

  • todo

Script for updating such mapping: 

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODDICORE-355

Steps:

  1. If library tenant is using default mapping rules with NO changes (no customizations), then call PUT  /mapping-rules/marc-bib/restore endpoint
  2. If library tenant is using default mapping rules, WITH changes (local customization), then follow the next step
    1. Send a GET request to /mapping-rules/marc-bib to retrieve the mapping rules
    2. Under 100, 110, 111, 700, 710, 711, 720 fields update rule for contributor name (section where target = "contributors.name") for the "type" property replace "trim_period, trim" value with "trim_punctuation" value

      before changes:

      Code Block
      linenumberslanguagetruejs
      collapsetrue
      {
        "targetrules": "contributors.name",[
        "description": "Personal Name",{
          "applyRulesOnConcatenatedDataconditions": true,   "subfield": [
      
         "a",     "b",
      {
         "c",     "d",
          "f",
          "g",type": "trim_period, trim"
          "j",  }
        "k",  ]
        "l",
          "n",
          "p",
          "q",
          "t",
          "u"
        ],
        }
      ]



      after changes:


      Code Block
      linenumberstrue
      collapsetrue
      "rules": [
       
        {
      
           "conditions": [
       
            {
       
              "type": "trim_punctuation"
      
             }
       
          ]
       
        }
      
       ] }
      
       


    3. Send PUT request to /mapping-rules/marc-bib and put in the body the updated JSON

...