Difference between revisions of "Training Video:Automatic Fields"
(→Video: applying new template) |
(applied last part of template) |
||
Line 2: | Line 2: | ||
[[Category:Training_Video|Automatic Fields]] | [[Category:Training_Video|Automatic Fields]] | ||
− | |||
− | |||
− | |||
==Introduction== | ==Introduction== | ||
− | This video covers details of how field values can be automatically assigned when an item is saved to the repository. It covers how to configure automatic fields the best ways of extending the default configuration files. | + | This video covers details of how field values can be automatically assigned when an item is saved to the repository. It covers how to configure automatic fields and the best ways of extending the default configuration files. It also shows how to build a simple browse view over an automated field. |
==What You Will Learn== | ==What You Will Learn== | ||
Line 57: | Line 54: | ||
<youtube>YC_W23YfJ1A</youtube> | <youtube>YC_W23YfJ1A</youtube> | ||
− | ==Notes== | + | ====Notes, Errata and Additional Information==== |
+ | |||
+ | * EPrints version 3.3.14 | ||
+ | * Ubuntu 15.04 | ||
+ | |||
+ | ==Test Yourself== | ||
+ | |||
+ | * Add automation to an existing field | ||
+ | * Add a new automatic field | ||
+ | * apply the new automatic value to all existing records | ||
+ | * Create a browse view based on the new field | ||
+ | |||
+ | ==More Reading== | ||
+ | |||
+ | * [[Adding_new_views | Adding New Views]] |
Latest revision as of 16:08, 19 November 2015
Contents
Introduction
This video covers details of how field values can be automatically assigned when an item is saved to the repository. It covers how to configure automatic fields and the best ways of extending the default configuration files. It also shows how to build a simple browse view over an automated field.
What You Will Learn
- How automatic fields are configured
- How to automate an existing field
- How to add a new field and calculate its value automatically
- How to apply automated fields to existing items
- How to add a simple browse view over an automated field
- Debugging issues when applying configuration changes
What You Should Already Know
- How to access the EPrints administration functions
- Basics of PERL and XML syntaxes Basic guide to PERL in EPrints
Resources
Video
The video is accessible from here : http://youtu.be/YC_W23YfJ1A
Index
- 00:00 - introduction
- 00:30 - examine default config for automatic fields
- 01:30 - demonstrate automatic fields on a thesis
- 02:00 - demonstrate automatic fields on a patent
- 03:10 - create new cfg file to add new automatic field function
- 04:15 - copy original automatic fields function to new variable
- 05:45 - configure new function with a call to the original function
- 06:15 - create a new field to hold individual title words
- 07:30 - define new field as volatile and explain why
- 08:00 - add function to populate new field automatically
- 09:00 - test new configuration
- 09:20 - debug a missing ';'
- 09:30 - retest configuration and update database structure
- 09:50 - restart apache
- 10:00 - test new function
- 10:40 - add phrase for new field
- 11:50 - recommit all items in database to apply new automatic field
- 12:20 - add a browse view over new automatic field
- 13:00 - pushing new view to browse views configuration
- 14:20 - copy view phrases to new phrase file and edit for new view
- 17:05 - regenerate views
- 18:00 - correct an issue with new view names and regenerate views (verbose)
- 19:40 - look at new view and explain possible further modifications
The Video
Notes, Errata and Additional Information
- EPrints version 3.3.14
- Ubuntu 15.04
Test Yourself
- Add automation to an existing field
- Add a new automatic field
- apply the new automatic value to all existing records
- Create a browse view based on the new field