XML Element: local-entry

Creates a data entry row within a grid for data that is not connected to a metric or metadata within the database. Instead, the data is saved as part of the online form.

Parent element

group

Child elements

type, initial-value

Format

<wd:local-entry
   title="Label for This Row"
   name="element_ID"
   isRequired="false"
   isEditable="true"
   inputControl="input-control-type"
      <wd:type base="datatype"/>
         <wd:initial-value>Literal string</wd:initial-value>
</wd:local-entry>

Attributes

Attribute Description

title

The source for the row title in the online form. Sopheon recommends you use the metric's display name as the title. Can contain substitution tokens to display Accolade data.

Defaults to a blank row title if not specified.

name

The source for the row title in the online form. Sopheon recommends you use the metric's display name as the title. Can contain substitution tokens to display Accolade data.

Defaults to a blank row title if not specified.

isRequired

Determines if an entry within this field in the online form is required before saving the form.

Defaults to false if not specified.

isEditable

Determines if the field is editable within the online form.

Defaults to true if not specified.

inputControl

Determines the type of field, such as a check box or drop-down list. The selection here depends on the data type, for example, a list metric lends itself well to a drop-down list selection field. See XML Input Controls information about the type of inputs available.

Example

The following example shows a local entry containing a string of text with substitution tokens. When the online form is created from the template, the substitution tokens are replaced with actual names of the deliverable and the project.

<wd:group
   title="*{DeliverableName}*">
   <wd:local-entry
      title="Description of *{DeliverableName}*"
      name="PrimaryDescript1"
      isRequired="true"
      isEditable="true"
      inputControl="multi-line-text-box">
         <wd:type base="long-string"/>
         <wd:initial-value>Some information about *{DeliverableName}* for *{ProjectName}* showing substitution.
         </wd:initial-value>
   </wd:local-entry>
</wd:group>