Documentation Center

Declaring and updating a List of Values (LOV)

The script described herein, creates an LOV with the name DMANUALTYPE.

Before you begin

The value for the element <languageindependent> should always be no for any metadata that is added by the partner or system administrator.

Make sure that you give an uppercase name to the LOV and that it begins with a D such as the example below, DMANUALTYPE. Also make sure you give a valid label, such as shown in the example below, Manual Type.

Example

The other elements and values should be taken over as in the example because they are required by the TriDK database.


<tridk:setup xmlns:tridk="urn:trisoft.be:Tridk:Setup:1.0" xml:lang="EN">
  <tridk:lovs>
    <tridk:lov tridk:element="DMANUALTYPE">
      <tridk:displaydefinition>
        <tridk:label>Manual Type</tridk:label>
        <tridk:description/>
      </tridk:displaydefinition>
      <tridk:system tridk:value="no"/>
      <tridk:public tridk:value="yes"/>
      <tridk:languageindependent tridk:value="no"/>
      <tridk:orderbyseq tridk:value="no"/>
      <tridk:valuedefinition>
        <tridk:caseinsensitive tridk:value="yes"/>
        <tridk:accentinsensitive tridk:value="yes"/>
        <tridk:skipspace tridk:value="yes"/>
        <tridk:skipchars tridk:charlist=""/>
      </tridk:valuedefinition>
    </tridk:lov>
  </tridk:lovs>
</tridk:setup>