From a292d28150acc2e2acc947c28791c483282f3dc6 Mon Sep 17 00:00:00 2001 From: "Nicole C. Engard" Date: Sat, 14 Dec 2013 12:34:00 -0600 Subject: [PATCH] Bug 11383: Add help file for Marc modification templates This patch adds the missing help files to the Marc modification templates tool. To test: * Visit Tools > Marc modification templates * Click 'Help' in the top right * Confirm that help is there and right Signed-off-by: Jonathan Druart --- .../help/tools/marc_modification_templates.tt | 63 ++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/marc_modification_templates.tt diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/marc_modification_templates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/marc_modification_templates.tt new file mode 100644 index 0000000..c63a946 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/marc_modification_templates.tt @@ -0,0 +1,63 @@ +[% INCLUDE 'help-top.inc' %] + +

MARC Modification Templates

+ +

The MARC Modification Templates system gives Koha users the power to make alterations to MARC records automatically while staging MARC records for import.

+ +

This tool is useful for altering MARC records from various venders/sources work with your MARC framework. The system essentially allows one to create a basic script using actions to Copy, Move, Add, Update and Delete fields.

+ +

Start by adding a new template (a template can be made up of one or more actions) by entering a name and clicking 'Create template'.

+ +

Next you can add actions to the template by filling in the Action box. For example if you're loading in a batch of files from your EBook vendor you might want to add the biblio item type of EBOOK to the 942$c.

+ + + +

Each action can also have an optional condition to check the value or existance of another field. For example you might want to add the call number to the item record if it's not already there.

+ + + +

The Copy & Move actions also support Regular Expressions, which can be used to automatically modify field values during the copy/move. An example would be to strip out the '$' character in field 020$c.

+ + + +

Tip: The value for an update can include variables that change each time the template is used. Currently, the system supports two variables, __BRANCHCODE__ which is replaced with the branchcode of the library currently using the template, and __CURRENTDATE__ which is replaced with the current date in ISO format ( YYYY-MM-DD ).

+ +

Once your actions are saved you can view them at the top of the screen. Actions can be moved around using the arrows to the left of them.

+ +

Depending on your actions the order may be very important. For example you don't want to delete a field before you copy it to another field.

+ +

To add another template you can either start fresh or click the 'Duplicate current template' checkbox to create a copy of an existing template to start with.

+ +

Once your template is saved you will be able to pick it when using the Stage MARC Records for Import tool.

+ +

See the full documentation for MARC Modification Templates in the manual (online).

+ +[% INCLUDE 'help-bottom.inc' %] \ No newline at end of file -- 1.7.10.4