This card builds on back end work covered in for creating a new API and relates to work covered in and for modifying the Action drop down menu options in FOLIO Inventory.
The combination of the new API and this card will support the use case where a cataloger selects an Inventory Instance record with source=MARC, and has the option for editing the title in the Linked Data Editor.
The first version of the Linked Data Editor will support monographs and simple serials. Consequently, only MARC records that describe these types of resources will be loaded into the data graph. So initially, the data graph will represent a subset of the library’s total collection.
The new API will allow Inventory to determine whether there is a resource description corresponding to the selected Inventory Instance record. Inventory will send a GET query to the library’s data graph, passing in the value of the Inventory identifier assigned to the record.
Where the cataloger lacks the permission to edit in the LInked Data Editor, there is no need to conduct an API search.
Where the cataloger has the permission to edit in the Linked Data Editor, run the API search.
Where there is a match
the new API will return the linked data identifier for the resource description
the Action drop down menu in Inventory will list the option of editing the selected title in the Linked Data Editor
the linked data identifier will be used build the link from Inventory to the Instance record in the Linked Data Editor (edit mode)
Where there is not a match
the new API will return 404
the Action drop down menu in Inventory will not change
Inventory records with source=MARC can be edited in quickMARC (assuming appropriate permissions)
the option for editing the record in the Linked Data Editor will not be displayed in the Action drop down menu
1. No LDE permission
GIVEN that a cataloger is in the FOLIO Inventory application
AND the cataloger lacks permissions to edit in the Linked Data Editor
WHEN the cataloger selects any record with source=MARC in Inventory
THEN the system does not perform an API query against the Linked Data module
AND the Action drop down does not show Linked Data as an option for editing the record
2. LDE permission
GIVEN that a cataloger is in the FOLIO Inventory application
AND the cataloger has permissions to edit in the Linked Data Editor
WHEN the cataloger selects any record with source=MARC in Inventory
THEN the system performs an API query against the LInked Data module using the Inventory identifier of the selected record
3. LDE permission - no resource description in LDE
GIVEN scenario 2
WHEN the API returns 404
THEN the Action drop down menu does not display the option for editing the record in the Linked Data Editor
4. LDE permission - description resource in LDE
GIVEN scenario 2
WHEN the API returns a match on the query
THEN the Action drop down menu displays the option for editing the record in the Linked Data Editor
5. LDE permission - link to Linked Data Editor
GIVEN scenario 4
WHEN the cataloger selects the Action drop down menu option to edit the record in the Linked Data Editor
THEN the Linked Data Editor is opened in the cataloger’s browser
AND the resource description for the selected record is displayed in Instance edit mode (using the linked data identifier from the API)
This card builds on back end work covered in for creating a new API and relates to work covered in and for modifying the Action drop down menu options in FOLIO Inventory.
The combination of the new API and this card will support the use case where a cataloger selects an Inventory Instance record with source=MARC, and has the option for editing the title in the Linked Data Editor.
The first version of the Linked Data Editor will support monographs and simple serials. Consequently, only MARC records that describe these types of resources will be loaded into the data graph. So initially, the data graph will represent a subset of the library’s total collection.
The new API will allow Inventory to determine whether there is a resource description corresponding to the selected Inventory Instance record. Inventory will send a GET query to the library’s data graph, passing in the value of the Inventory identifier assigned to the record.
Where the cataloger lacks the permission to edit in the LInked Data Editor, there is no need to conduct an API search.
Where the cataloger has the permission to edit in the Linked Data Editor, run the API search.
Where there is a match
the new API will return the linked data identifier for the resource description
the Action drop down menu in Inventory will list the option of editing the selected title in the Linked Data Editor
the linked data identifier will be used build the link from Inventory to the Instance record in the Linked Data Editor (edit mode)
Where there is not a match
the new API will return 404
the Action drop down menu in Inventory will not change
Inventory records with source=MARC can be edited in quickMARC (assuming appropriate permissions)
the option for editing the record in the Linked Data Editor will not be displayed in the Action drop down menu
1. No LDE permission
GIVEN that a cataloger is in the FOLIO Inventory application
AND the cataloger lacks permissions to edit in the Linked Data Editor
WHEN the cataloger selects any record with source=MARC in Inventory
THEN the system does not perform an API query against the Linked Data module
AND the Action drop down does not show Linked Data as an option for editing the record
2. LDE permission
GIVEN that a cataloger is in the FOLIO Inventory application
AND the cataloger has permissions to edit in the Linked Data Editor
WHEN the cataloger selects any record with source=MARC in Inventory
THEN the system performs an API query against the LInked Data module using the Inventory identifier of the selected record
3. LDE permission - no resource description in LDE
GIVEN scenario 2
WHEN the API returns 404
THEN the Action drop down menu does not display the option for editing the record in the Linked Data Editor
4. LDE permission - description resource in LDE
GIVEN scenario 2
WHEN the API returns a match on the query
THEN the Action drop down menu displays the option for editing the record in the Linked Data Editor
5. LDE permission - link to Linked Data Editor
GIVEN scenario 4
WHEN the cataloger selects the Action drop down menu option to edit the record in the Linked Data Editor
THEN the Linked Data Editor is opened in the cataloger’s browser
AND the resource description for the selected record is displayed in Instance edit mode (using the linked data identifier from the API)