Skip to content

Full list Pickup Locations and Pickup Institutions can available within the hostComponent #45

@Anchi77

Description

@Anchi77

Detailed information in Jira: URM-324654 (include test account)

In the Request Form workflow, the only contains the ID of the selected Pickup Location in hostComponent .
The full list of Pickup Locations and Pickup Institutions is missing (not in hostComponent or app state).

Expectation:

  • To expose the complete list of Pickup Locations and Institutions.
  • Needed for Angular customization to hide/disable certain Pickup Locations for specific user groups.
  • If not feasible, clarify where this data is stored or generated.

Steps to Reproduce:

  1. Open the following record and sign in with the test account (Under LOGIN USING:, please select OTHERS)
    https://waseda-psb.primo.exlibrisgroup.com/permalink/81SOKEI_WUNI/ck89fq/alma991027230567904032
  2. From the Location list, select TOKOROZAWA Library and click Request.
  3. In the Pickup Location field, choose TAKATA Research Library.
Image You will see a message displayed at the bottom of the Request Form. This message is generated by our Angular customization.

4.Open the browser developer console with F12, and enter:

requestHostComponent
(Customer retrieve the hostComponent from the Request Form and update it dynamically.)
At this point, inspecting hostComponent > "form.value"

Image that it contains the ID of the Pickup Location currently selected on the form. Image

However, it appears that the other Pickup Locations (the ones not selected) are not present anywhere inside the hostComponent.
Additionally, the Pick Up Institution information seems to be missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions