Difference between revisions of "Training Video:Virtual Fields"

From EPrints Documentation
Jump to: navigation, search
(Introduction)
Line 9: Line 9:
  
 
Except from Virtual Fields, this video touches other useful areas of EPrints as well, like how to write an EPrints script using the API, how fields are rendered, etc.
 
Except from Virtual Fields, this video touches other useful areas of EPrints as well, like how to write an EPrints script using the API, how fields are rendered, etc.
 +
 +
==What you will learn==
 +
 +
Watching this video will show teach you:
 +
 +
* How and when to use Virtual Fields
 +
* How to add a new field (Virtual Field in this example)
 +
* How a Virtual Field's value is rendered
 +
* How to correctly override an EPrints' function (render_value in this example)
 +
* How to use the Core API Wiki
 +
* How abstracts are refreshed and re-generated
 +
* How the citation's summary page is edited
 +
* How to create and run a simple script using EPrints' API
 +
* How to return a value from a Virtual Field
 +
* How to inherit MetaField.pm class to create a new field type and override some of its functions
 +
* How to create a virtual field based on a newly generated field type
  
 
==Video==
 
==Video==

Revision as of 14:36, 18 November 2015


Introduction

Walkthrough of adding a metadata field to a repository.

Virtual Meta Fields are fields that are not stored in the database, instead their input and output can be programmed. They can be used whenever a default displayed value is not what the user needs. Since their value is calculated their uses are limited by one's imagination. It should be stressed out that Virtual Fields are not only limited to displaying values, they can be used for setting values as well.

Except from Virtual Fields, this video touches other useful areas of EPrints as well, like how to write an EPrints script using the API, how fields are rendered, etc.

What you will learn

Watching this video will show teach you:

  • How and when to use Virtual Fields
  • How to add a new field (Virtual Field in this example)
  • How a Virtual Field's value is rendered
  • How to correctly override an EPrints' function (render_value in this example)
  • How to use the Core API Wiki
  • How abstracts are refreshed and re-generated
  • How the citation's summary page is edited
  • How to create and run a simple script using EPrints' API
  • How to return a value from a Virtual Field
  • How to inherit MetaField.pm class to create a new field type and override some of its functions
  • How to create a virtual field based on a newly generated field type

Video

Notes