STORY: Edit in LDE when source=MARC

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

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)

Environment

None

Potential Workaround

None

Attachments

8

Checklist

hide

Activity

Show:

Tetiana Kovalchuk July 31, 2024 at 12:05 PM

, can you please make sure the record is present in LDE? the DB was cleared, so there are few records.

Doug Loynes July 31, 2024 at 12:03 PM

- I approved this card earlier in the week. But now I’m not seeing the functionality in the Quesnelia environment.

 

Tetiana Kovalchuk July 26, 2024 at 2:38 PM

Tested on qld env

Build version: #313

Test cases and evidences attached

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Citation

Fix versions

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 16, 2024 at 3:19 PM
Updated October 31, 2024 at 4:01 PM
Resolved July 30, 2024 at 12:13 PM
TestRail: Cases
TestRail: Runs