How to allow production Alma to return responses to a sandbox Primo
- Product: Primo, Alma
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local
Description
When a call (ie. API call / requests for getit tab, etc.) is sent from Primo, Alma will return it to the URL defined under the primo_pds_url parameter which directs to production Primo. This causes Alma to not return the response to the Primo sandbox.
Resolution
To allow the Primo sandbox to get responses from production Alma, follow these steps:
-
Update the value of Alma > Configuration Menu > General Configuration > Other Settings -> primo_test_pds_url to:
For a PDS Profile:
https://<pds_server>/pds?
For a non-PDS Profile:
https://<Primo Sandbox Base>/primo_library/libweb/webservices/rest/PDSUserInfo?
-
Add
&env_type=test
to the following templates in the Primo sandbox (Primo Back Office -> Mapping Tables -> Delivery -> Templates):-
almasingle_services
-
Almaviewit_remote
-
Almagetit_remote
-
Almagetit
-
Almasingle_service_remote
-
almaviewit_services
-
almagetit_services
-
Almasingle_service
-
Almaviewit
For example:
{{alma_base}}?ctx_enc=info:ofi/enc:UTF-8&ctx_id=10_1&ctx_tim={{timestamp}}&ctx_ver=Z39.88-2004&url_ctx_fmt=info:ofi/fmt:kev:mtx:ctx&url_ver=Z39.88-2004&rfr_id=info:sid/primo.exlibrisgroup.com-{{control/sourceid}}&req_id={{pds_handle}}&rft_dat=,language={{language}},view={{view}}&svc_dat=viewit&u.ignore_date_coverage=true&env_type=test
-
- Article last edited: 24-May-2018