Importing Aleph e-Shelf Records to Primo
With Primo 3.0.2 and later releases, you can use the import_eshelf_aleph.sh script to import Aleph e-Shelf records into Primo.
To import Aleph e-Shelf records to Primo:
-
Extract the e-Shelf records from the Aleph server and place the extracted records in a folder that is accessible to the Primo Back Office server. For more information on extracting e-Shelf data, refer to the Aleph documentation (RC 3191).
-
On the Primo Home > Ongoing Configuration Wizards > Data Sources page in the Primo Back Office, modify the Aleph source by entering the bibliographic library code from the Aleph export file in the Original Source Code field. Note that this original source code can be assigned only to one data source in Primo.
-
Log on to the Primo Back Office server.
-
Enter the following commands to open the hibernate.cfg.xml file:be_profilecd ieshelfvi hibernate.cfg.xml
-
Modify the following lines in the file:<property name="hibernate.connection.url">jdbc:oracle:thin:@</property>{hostname of DB server}:{DB port}:{SID}</property><property name="hibernate.connection.username"/>{oracle login}</property><property name="hibernate.connection.password"/>{oracle password}</property>For example:<property name="hibernate.connection.url">jdbc:oracle:thin:@il-primo12:1521:prm2</property><property name="hibernate.connection.username">P42_PRM00</property><property name="hibernate.connection.password">P42_PRM00</property>
-
Save the changes to the file.
-
Enter the following command to open the ImportAlephBasket.properties file:vi ImportAlephBasket.properties
-
Add the full path of the Aleph source file to the source_path parameter. If the parameter does not exist, you will need to add it to the file.
-
Save the changes to the file.
-
Enter the following commands to open the import_eshelf_aleph.sh file:be_binvi import_eshelf_aleph.sh
-
Change the following text:test/ImportAlephBasket.propertiesTo:${IESHELF_CONF_DIR}/ImportAlephBasket.properties
-
Save the changes to the file.
-
Enter the following command to import the e-Shelf records:import_eshelf_aleph.sh &