User Load from ESD to Alma
On turing esd_view_borrower.py produces the flat file that borrower.py will convert into the xml that Alma imports for the user synch.
The output from borrower.py will go to /alma/integrations/patron/out/ as a zipped XML file to be picked up. The xml file will be in alma/integrations/patron/out/
Note: The file must be zipped or Alma won't recognize it.
To load a specific patron’s account into Alma (where “acoope5” is a sample netId):
/alma/bin/esd_view_borrower.py | grep “acoope5” > /alma/integrations/patron/in/acoope5.txt
cat /alma/integrations/patron/in/acoope5.txt | /alma/bin/borrower.py /alma/config/borrower.cfg > /alma/integrations/patron/out/acoope5.xml
zip the XML and run the user synch job
zip /alma/integrations/patron/out/acoope5.xml.zip /alma/integrations/patron/out/acoope5.xml
In Alma (prod or sandbox) go to Configuration > General > External Systems > Integration Profiles > Patron Feed (Edit > Actions tab > Synchronize > Run)
To update the whole user database manually:
/alma/bin/esd_view_borrower.py > /alma/integrations/patron/in/borrower.txt
cat /alma/integrations/patron/in/borrower.txt | /alma/bin/borrower.py /alma/config/borrower.cfg > /alma/integrations/patron/out/borrower.xml
zip /alma/integrations/patron/out/borrower.xml.zip /alma/integrations/patron/out/borrower.xml
In Alma (prod or sandbox) go to Configuration > General > External Systems > Integration Profiles > Patron Feed (Edit > Actions tab > Synchronize > Run)