# Sandbox Configuration after refresh

The Premium Sandboxes are refreshed twice a year. This copies the latest configurations from production Alma into the PSB Network Zone and the 3 PSB IZs. Several configuration changes need to be made so that the AFN will work correctly.

# Update Rota Template Members

After the refresh, the Rota Template has the full compliment of partners for Consortium Book Borrowing (CLS-Physical) template. Members that do not have an IZ Sandbox need to be removed for the Rota to work properly. Currently, the members should be AU, DC, and GW. Remove the others that do not have a PSB.

In the PSB Network Zone:

Fulfillment --&gt; Resource Sharing --&gt; Rota Templates --&gt; Edit Consortium Book Borrowing (CLS-Physical)

- On the Member Tab, select and Remove the IZs that are not represented in the Sandbox.

[![Screen Shot 2024-02-13 at 4.32.26 PM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-02/scaled-1680-/hzRscreen-shot-2024-02-13-at-4-32-26-pm.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-02/hzRscreen-shot-2024-02-13-at-4-32-26-pm.png)

- Don't forget to Save.

# Update the Resource Sharing Partners for the PSB

The Resource Sharing partners that are template members will need to have their URL parameter updated.

Fulfillment --&gt; Resource Sharing --&gt; Partners

- Find the partners that are in the updated Rota Template. Select edit.

[![Screen Shot 2024-02-13 at 4.42.52 PM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-02/scaled-1680-/screen-shot-2024-02-13-at-4-42-52-pm.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-02/screen-shot-2024-02-13-at-4-42-52-pm.png)

- Select the Parameters tab. Update the URL field. Don't forget to Save.

[![Screen Shot 2024-02-13 at 4.45.38 PM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-02/scaled-1680-/screen-shot-2024-02-13-at-4-45-38-pm.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-02/screen-shot-2024-02-13-at-4-45-38-pm.png)

 Currently, the URLs are:

- - [https://wrlc-amu-psb.alma.exlibrisgroup.com/](https://wrlc-amu-psb.alma.exlibrisgroup.com/) (AU)
    - [https://wrlc-doc-psb.alma.exlibrisgroup.com/](https://wrlc-doc-psb.alma.exlibrisgroup.com/) (DC)
    - [https://wrlc-gwu-psb.alma.exlibrisgroup.com/](https://wrlc-gwu-psb.alma.exlibrisgroup.com/) (GW)
    - [https://wrlc-scf-psb.alma.exlibrisgroup.com/](https://wrlc-scf-psb.alma.exlibrisgroup.com/) (SCF)

Once both the Rota Template members and the Resource Sharing Partner URL are updated you need to run the "Distribute Resource Sharing Network Configuration" job from the PSB Network Zone. This job distributes the changes that you just made to the template partner IZs

Fulfillment --&gt; Advanced Tools - General --&gt; Distribute Resource Sharing Network Configuration

[![Screen Shot 2024-02-13 at 4.56.16 PM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-02/scaled-1680-/screen-shot-2024-02-13-at-4-56-16-pm.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-02/screen-shot-2024-02-13-at-4-56-16-pm.png)

# Update sftp server directory for PSB use

The Premium Sandbox uses the sftp.wrlc.org server to post files from the running of the "Send Request to Remote Storage" jobs. It is also used for posting files from the running of the publishing jobs.

Follow the instructions below for all of the Institution Zones in the sandbox:

Configuration --&gt; General --&gt; External Systems --&gt; Allowed S/FTP connections

Add the IP ***sftp.wrlc.org*** to the list of allowed connections in the sandbox

[![Capture.PNG](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2025-02/scaled-1680-/capture.PNG)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2025-02/capture.PNG)

Configuration --&gt; General --&gt; External Systems --&gt; S/FTP definitions

[![Screen Shot 2024-09-03 at 10.06.57 AM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/scaled-1680-/screen-shot-2024-09-03-at-10-06-57-am.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/screen-shot-2024-09-03-at-10-06-57-am.png)

Find the "SFTP for SCF App" connection.

[![Screen Shot 2024-09-03 at 10.08.07 AM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/scaled-1680-/screen-shot-2024-09-03-at-10-08-07-am.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/screen-shot-2024-09-03-at-10-08-07-am.png)

Select edit.

[![Screen Shot 2024-09-03 at 9.55.52 AM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/scaled-1680-/screen-shot-2024-09-03-at-9-55-52-am.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/screen-shot-2024-09-03-at-9-55-52-am.png)

Locate the Sub-directrory used on the sftp.wrlc.org server.

[![Screen Shot 2024-09-03 at 9.56.33 AM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/scaled-1680-/screen-shot-2024-09-03-at-9-56-33-am.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/screen-shot-2024-09-03-at-9-56-33-am.png)

Change the Sub-directory to "AlmaRSA-PSB". Save.

This is the directory the Sandbox should be using. You can test if the PSB can connect using the TestFTP button on the upper right of the screen.

For more info on these configurations, see Salesforce case #07222190

# Update Webhook profiles

In the non-SCF Institution Zones, the ***SCF Job Finish Webhook profile*** needs to be update with the Webhook listener URL and activated so that both publishing and requesting functions of the SCFapp work.

In the SCF sandbox, the ***SCF Loans Webhooks profile*** needs to be updated and activated with the same URL.

Configuration --&gt; General --&gt; External Systems --&gt; Integration Profiles --&gt; Webhook profile

[![Screen Shot 2024-09-10 at 9.07.20 AM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/scaled-1680-/screen-shot-2024-09-10-at-9-07-20-am.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/screen-shot-2024-09-10-at-9-07-20-am.png)

Select Edit.

[![Screen Shot 2024-09-10 at 8.50.16 AM.png](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/scaled-1680-/screen-shot-2024-09-10-at-8-50-16-am.png)](https://alma-documentation-bookstack-stage.azurewebsites.net/uploads/images/gallery/2024-09/screen-shot-2024-09-10-at-8-50-16-am.png)

Add the Webhook listener URL :

**Production IZs:** [https://almarsa.wrlc.org/](https://almarsa.wrlc.org/)  
**PSB:** [https://almarsa-psb.wrlc.org/webhook](https://almarsa-psb.wrlc.org/webhook)

Activate and Save.

You will see confirmation of activation if the URL is correct an the server responds.

For more info on these configurations, see Salesforce case #07222190