Workflow Format

From EPrints Documentation
Revision as of 00:01, 22 July 2007 by WrrC51 (talk | contribs)
Jump to: navigation, search

lipitor online buy xanax rivotril online kyocera ringtones cialis online cheap ultracet levitra kyocera ringtones music ringtones free free ringtones verizon ringtones soma online cheap ortho wellbutrin online tenuate online free real ringtones nextel ringtones cheap paxil motorola ringtones cheap xanax order lipitor free punk ringtones free sony ericsson ringtones cool ringtones free sonyericsson ringtones mtv ringtones order albuterol free polyphonic ringtones order lisinopril free tracfone ringtones cheap prozac cheap ambien clonazepam online cheap zanaflex lisinopril online cheap hydrocodone buy soma fioricet online free sharp ringtones midi ringtones cheap paxil cheap lorazepam motorola ringtones free mtv ringtones flexeril free alltel ringtones didrex online online soma buy zanaflex free midi ringtones order vicodin free mtv ringtones hoodia online paxil online free sony ericsson ringtones online meridia cheap xenical rivotril online valium online cheap fioricet alprazolam online xenical buy rivotril mp3 ringtones free kyocera ringtones buy paxil free music ringtones wellbutrin online zoloft online free sonyericsson ringtones cheap valium clomid online cheap vigrx lortab online alltel ringtones midi ringtones buy flexeril free cingular ringtones free wwe ringtones soma online carisoprodol online cheap albuterol ortho online meridia online buy diethylpropion free real ringtones funny ringtones fioricet online buy ultracet free tracfone ringtones funny ringtones order clomid free samsung ringtones order clomid lipitor online ortho free free ringtones buy lortab valium online cheap xenical soma online mp3 ringtones cheap prozac buy albuterol cheap lipitor free sagem ringtones cyclobenzaprine online propecia online samsung ringtones but levitra cheap ambien free alltel ringtones free verizon ringtones free polyphonic ringtones cialis online free ericsson ringtones ortho online wwe ringtones order clomid free mp3 ringtones cheap vigrx clonazepam online nexium online adipex online cialis ericsson ringtones qwest ringtones free verizon ringtones sildenafil online cheap adipex free kyocera ringtones nexium online midi ringtones cingular ringtones nextel ringtones nexium online free mono ringtones cingular ringtones buy tenuate free sony ringtones cheap ambien cingular ringtones tracfone ringtones xenical online flexeril online zoloft online cialis hoodia online cheap prozac but valium albuterol online order hgh rivotril online xanax online cyclobenzaprine online diazepam online cialis online order flexeril free sprint ringtones cheap zyban free tracfone ringtones cheap valium order hydrocodone cyclobenzaprine cheap vigrx propecia online cheap rivotril norco online free free ringtones free sony ericsson ringtones vigrx online mp3 ringtones mtv ringtones free sagem ringtones tracfone ringtones sony ringtones levitra online nexium online ambien free tracfone ringtones hydrocodone online buy ambien but phentermine but cialis buy ortho free midi ringtones alprazolam online lipitor online wellbutrin online online pharmacy online free samsung ringtones free cool ringtones free funny ringtones free alltel ringtones buy fioricet free nokia ringtones order paxil lortab free sony ericsson ringtones polyphonic ringtones

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


XML Configuration: EPScript - Control Format (EPC) - Citation - Workflow - Phrase - Template - XPAGE (static pages)


The EPrints 3 workflow configuration files are stored in the repository's workflows directory, within folders identifying the Data Objects to which they apply (e.g. eprint or user). Multiple workflows may be defined in each folder, although typically only the default.xml file will be necessary.

Structure

At the centre of a workflow is a 'flow' description. This denotes the path through the workflow process from stage to stage. This may contain EPrints Control tags, allowing for the flow to vary depending on parameters of the data object (or other objects). For example, the flow may be different for users with certain roles. The flow is structured like so:

<flow>
  <stage ref="type"/>
  <stage ref="files"/>
  <stage ref="core"/>
  <stage ref="subjects"/>
</flow>

The 'ref' attribute of the stage element refers to the individual stages. The stage elements describe the components within each screen of the process and, like flow, may contain EPrints Control tags. The 'name' attribute of the stage element is identical to that of the stage element in the 'flow' section.

<stage name="core">
  <component><field ref="title" required="yes" /></component>
  <component><field ref="abstract"/></component>
</stage>

Components

An EPrints component is responsible for the rendering of a graphical element in a workflow. This may be a text-box for title entry, a collection of fields in an appropriate grouping, or just a piece of XHTML. Six components are provided by default and, as they are plugins, it is straightforward to drop in new components when necessary. The type attribute of the component element corresponds to the plugin to be used.

If no type is given, type="Field" is assumed. For each component two further attributes are accepted: surround should be a plugin, by default it can be "None", "Normal", and "Light"; and collapse="yes". If collapse="yes" then it tries to render the component collapsed.

Field-Related Components

Field Element

The majority of field-related components in EPrints 3 make use of the field element in their configuration. This provides a reference to a metafield and any attributes which may be relevant to rendering or operation. Several attributes are available to the element:

AttributeValuesDescription
refA string(required) Refers to the name of the metafield this field represents
requiredyes/no(optional) Whether a value is required in this field before the workflow may complete
helpAn XHTML block(optional) A block of XHTML to be rendered as help for the field
input_lookup_urlA URL(optional) The location of an auto-lookup URL for the field
input_lookup_paramsA string(optional) An