ExLibrisGroupCloudApps / hep-CloudApp-ItemCreator-Excel

Create items from Excel file
0 stars 0 forks source link

copy_id not recognized #1

Open jkarlsen opened 3 weeks ago

jkarlsen commented 3 weeks ago

When creating items with a column labeled copy_id, I get the following error:

Error: Unrecognized field "copy_id" (class com.exlibris.alma.ws.jaxb.item.ItemData), not marked as ignorable (76 known properties: "barcode", "retention_reason", "public_note", "imprint", "process_type", "pid", "inventory_number", "creation_date", "due_date_policy", "due_date", "base_status", "provenance", "receiving_operator", "receive_number", "inventory_price", "alt_call_no", "inventory_date", "policy", "year_of_issue", "po_line", "location", "alternative_call_number", "library", "edition", "linking_number", "statistics_note_2", "chronology_i", "chronology_j", "pages", "pieces", "chronology_m", "break_indicator", "issue_date", "language", "replacement_cost", "expected_arrival_date", "alternative_call_number_type", "internal_note_1", "type_of_unit", "internal_note_3", "enumeration_a", "physical_material_type", "enumeration_c", "enumeration_d", "enumeration_e", "requested", "enumeration_g", "enumeration_h", "modification_date", "weeding_number", "is_magnetic", "description", "pattern_type", "title_abcnph", "storage_location_id", "work_order_at", "arrival_date", "alt_number_source", "library_details" [truncated]]) at [Source: (ByteArrayInputStream); line: 1, column: 53] (through reference chain: com.exlibris.alma.ws.jaxb.item.Item["item_data"]->com.exlibris.alma.ws.jaxb.item.ItemData["copy_id"])

copy_id a pretty significant field to leave out of the application, if that is what is happening here. Please add support for this field.

SSund24 commented 2 weeks ago

I get the same error "Unrecognized field..." for the following temp location-related elements: in_temp_location | temp_library | temp_location | temp_policy I also got same message for copy_id.

These elements all appear on the list for subsequent columns linked from: https://developers.exlibrisgroup.com/appcenter/item-creator-by-excel/ : "subsequent columns: item record details. See https://developers.exlibrisgroup.com/wp-content/uploads/alma/xsd/rest_item.xsd for the name of fields to use in the column header."

This would be a great tool if this problem could be fixed.