Scripting

<< Click to Display Table of Contents >>

Navigation:  Settings reference > Global settings >

Scripting

Previous pageReturn to chapter overviewNext page

Libcabinet allows scripting, to manage data that has to be modified before sending it to library system, or displaying it to user.

There are two script files, ItemScript.cs and CardScript.cs. ItemScript works on item identifiers, while CardScript works on patron identifiers.

All scripts are in .NET (C#) language. Any editor can be used to edit them. The script files are loaded and compiled at application start, and any errors in them are logged.

Default script files will be placed under the program folder and copied to <Program Data>\PV-Supa\Libcabinet folder, if they are not already there. Existing scripts will not be overwritten in program data folder. The originals can be used to start anew, in case a script is accidentaly removed or just does not work.