Why do you have to update the database from time to time and what exactly happens when you follow the instructions given here? The working environment for the VLP mainly consists of two interfaces: The FileMaker database and the VLP-website. The website displays the content that FileMaker provides but does not communicate directly with the FileMaker database, only indirectly. Therefore the FileMaker database (with its own data structure and graphical interface) into which the VLP team enters data has to be synchronized with another database, called PostgreSQL. PostgreSQL is a different database language and grammar than FileMaker, and it is again used by the institutes content management system Zope, with which the VLP website is built.
This how-to contains two parts: The main part describes the three simple steps to update the library 1)with the help of buttons in FileMaker and the VLP's Intranet-environment. But do not ignore the footnotes: They contain “technical details” that help you to understand what happens “under the surface”of those buttons. The footnotes provide a more complicated and alternative way to update the library (used also for an update of all other databases or in case, the button-based way is broken).
Export all records from the VL-Literature database into an XML file:
choose XML_export from the menu in FileMaker/Scripts. The script will create a file vl_literature.xml in your FileMaker application folder (HD/Applications/FileMaker/vl-literature). This will take some time (~ 20 min.).
2)
Open a browser and go to the VLP's Intranet section (Username: vlp, password: Standard) and choose “Site administration” from the list on the left.
NEW:
Please use this link http://vlp.mpiwg-berlin.mpg.de:8080/vlp/vlp_coll/intranet/admin for accessing the site administration. Note that the link says “8080” in it: You thereby access the site administration through a special port and avoid timeouts while updating.
Upload the xml-file “vl_literature” you just exported from FileMaker with the help of the first button (“Choose”) on that page. Then make sure that you chose the right database from the popup menu to apply the exportfile to: You can only update the literature database vl_literature with the exported file vl_literature.xml, vl_images only with vl-images.xml … and so on. If you try to update one of those databases with the wrong exportfile, serious data loss will be the result, so take care! After having chosen the right database, you can click “Update the database”. A list will appear and it will take its time (up to an hour!) until it is is fully loaded. The browser will display the status of the update in the bottom to the left (Firefox), do not close the window until it displays “Done”. 3)
The last step before you will be able to view the results of the update (Latest Entries) lies behind the last button on “Site administration” called “Rebuild the Zope library repository”. When the PostgreSQL-database update is done, then press this button. This will open a new window and will again take some time, approximately 20 minutes. Have a look at the Latest Entries in the VLP and test if everything functions as it should. 4)