⧼vector-jumptocontent⧽

Training Video:Default Fields: Difference between revisions

From EPrints Documentation
No edit summary
Apply template
 
Line 1: Line 1:
[[Category:Howto]]
[[Category:Howto]]
[[Category:Training_Video|Default Fields]]
[[Category:Training_Video|Default Fields]]
[[Category:Howto]]
[[Category:Training_Video|Template]]


==Introduction==
==Introduction==


How to set default metadata fields in EPrints.
This video covers what default values are and how to configure EPrints to apply default values to fields on items in the repository
 
==What You Will Learn==
 
* What a default value is
* How to add a default value to an existing field
* How to access details of the currently logged-in user
* How to find system field names for fields in the workflow
 
==What You Should Already Know==
 
* How to access the EPrints administration functions
 
==Resources==


==Video==
=== Video===
The Video can be found at [http://youtu.be/79vlrBHWpOU http://youtu.be/79vlrBHWpOU].
====Index====
* [http://youtu.be/79vlrBHWpOU?t=00m00s 00:00 - introduction]
* [http://youtu.be/79vlrBHWpOU?t=00m05s 00:05 - selecting a field for our first, simple example]
* [http://youtu.be/79vlrBHWpOU?t=00m50s 00:50 - finding the example field's name through the admin menu]
* [http://youtu.be/79vlrBHWpOU?t=01m40s 01:40 - finding the appropriate configuration file through the admin menu]
* [http://youtu.be/79vlrBHWpOU?t=03m10s 03:10 - editing the correct configuration file (eprint_fields_default.pl)]
* [http://youtu.be/79vlrBHWpOU?t=04m05s 04:05 - saving and reloading configuration]
* [http://youtu.be/79vlrBHWpOU?t=04m15s 04:15 - adding a new item in My Deposits]
* [http://youtu.be/79vlrBHWpOU?t=04m25s 04:25 - verifying it worked]
* [http://youtu.be/79vlrBHWpOU?t=05m10s 05:10 - a more complex example]
* [http://youtu.be/79vlrBHWpOU?t=06m30s 06:30 - editing a configuration file via the command line to add a default value based on  current user information]
* [http://youtu.be/79vlrBHWpOU?t=07m45s 07:45 - finding the name of the field to be used as a conditional on the second example]
* [http://youtu.be/79vlrBHWpOU?t=08m00s 08:00 - alter the new default value based on the logged-in user]
* [http://youtu.be/79vlrBHWpOU?t=08m35s 08:35 - verifying the code's syntax is correct]
* [http://youtu.be/79vlrBHWpOU?t=08m45s 08:45 - restarting apache]
* [http://youtu.be/79vlrBHWpOU?t=08m50s 08:50 - adding a new item to test the changes]
* [http://youtu.be/79vlrBHWpOU?t=09m00s 09:00 - verify the first condition worked]
* [http://youtu.be/79vlrBHWpOU?t=09m05s 09:05 - removing organisation from the user's profile]
* [http://youtu.be/79vlrBHWpOU?t=09m25s 09:25 - verifying the second condition worked]


==== The Video====
<youtube>79vlrBHWpOU</youtube>
<youtube>79vlrBHWpOU</youtube>


==Notes==
====Notes, Errata and Additional Information====
 
* EPrints 3.3.14
* Ubuntu 15.04
 
==Test Yourself==
 
* modify the configuration to add a default value to a field
* add a default value based on current user information
 
==More Reading==

Latest revision as of 16:21, 19 November 2015


Introduction

This video covers what default values are and how to configure EPrints to apply default values to fields on items in the repository

What You Will Learn

  • What a default value is
  • How to add a default value to an existing field
  • How to access details of the currently logged-in user
  • How to find system field names for fields in the workflow

What You Should Already Know

  • How to access the EPrints administration functions

Resources

Video

The Video can be found at http://youtu.be/79vlrBHWpOU.

Index

The Video

Notes, Errata and Additional Information

  • EPrints 3.3.14
  • Ubuntu 15.04

Test Yourself

  • modify the configuration to add a default value to a field
  • add a default value based on current user information

More Reading