Difference between revisions of "Training Video:Automatic Fields"

From EPrints Documentation
Jump to: navigation, search
(applied last part of template)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Training_Video|Automatic Fields]]
 
[[Category:Training_Video|Automatic Fields]]
 +
  
 
==Introduction==
 
==Introduction==
  
Walkthrough of adding an automatic metadata field to a repository, including basing a browse view on it.
+
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 [[Perl_101_for_EPrints | Basic guide to PERL in EPrints]]
 +
 
 +
==Resources==
 +
 
 +
===Video===
 +
The video is accessible from here : [http://youtu.be/YC_W23YfJ1A http://youtu.be/YC_W23YfJ1A]
 +
 
 +
====Index====
 +
* [http://youtu.be/YC_W23YfJ1A?t=00m00s 00:00 - introduction]
 +
* [http://youtu.be/YC_W23YfJ1A?t=00m30s 00:30 - examine default config for automatic fields]
 +
* [http://youtu.be/YC_W23YfJ1A?t=01m30s 01:30 - demonstrate automatic fields on a thesis]
 +
* [http://youtu.be/YC_W23YfJ1A?t=02m00s 02:00 - demonstrate automatic fields on a patent]
 +
* [http://youtu.be/YC_W23YfJ1A?t=03m10s 03:10 - create new cfg file to add new automatic field function]
 +
* [http://youtu.be/YC_W23YfJ1A?t=04m15s 04:15 - copy original automatic fields function to new variable]
 +
* [http://youtu.be/YC_W23YfJ1A?t=05m45s 05:45 - configure new function with a call to the original function]
 +
* [http://youtu.be/YC_W23YfJ1A?t=06m15s 06:15 - create a new field to hold individual title words]
 +
* [http://youtu.be/YC_W23YfJ1A?t=07m30s 07:30 - define new field as volatile and explain why]
 +
* [http://youtu.be/YC_W23YfJ1A?t=08m00s 08:00 - add function to populate new field automatically]
 +
* [http://youtu.be/YC_W23YfJ1A?t=09m00s 09:00 - test new configuration]
 +
* [http://youtu.be/YC_W23YfJ1A?t=09m20s 09:20 - debug a missing ';']
 +
* [http://youtu.be/YC_W23YfJ1A?t=09m30s 09:30 - retest configuration and update database structure]
 +
* [http://youtu.be/YC_W23YfJ1A?t=09m50s 09:50 - restart apache]
 +
* [http://youtu.be/YC_W23YfJ1A?t=10m00s 10:00 - test new function]
 +
* [http://youtu.be/YC_W23YfJ1A?t=10m40s 10:40 - add phrase for new field]
 +
* [http://youtu.be/YC_W23YfJ1A?t=11m50s 11:50 - recommit all items in database to apply new automatic field]
 +
* [http://youtu.be/YC_W23YfJ1A?t=12m20s 12:20 - add a browse view over new automatic field]
 +
* [http://youtu.be/YC_W23YfJ1A?t=13m00s 13:00 - pushing new view to browse views configuration]
 +
* [http://youtu.be/YC_W23YfJ1A?t=14m20s 14:20 - copy view phrases to new phrase file and edit for new view]
 +
* [http://youtu.be/YC_W23YfJ1A?t=17m05s 17:05 - regenerate views]
 +
* [http://youtu.be/YC_W23YfJ1A?t=18m00s 18:00 - correct an issue with new view names and regenerate views (verbose)]
 +
* [http://youtu.be/YC_W23YfJ1A?t=19m40s 19:40 - look at new view and explain possible further modifications]
 +
 
 +
====The Video====
 +
<youtube>YC_W23YfJ1A</youtube>
 +
 
 +
====Notes, Errata and Additional Information====
 +
 
 +
* EPrints version 3.3.14
 +
* Ubuntu 15.04
 +
 
 +
==Test Yourself==
  
==Video==
+
* 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
  
<youtube>17OuthpCxck</youtube>
+
==More Reading==
  
==Notes==
+
* [[Adding_new_views | Adding New Views]]

Latest revision as of 16:08, 19 November 2015


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

Resources

Video

The video is accessible from here : http://youtu.be/YC_W23YfJ1A

Index

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

More Reading