Documentation Center

Making properties mandatory in the user interface

You can make a metadata property that is defined in a property sheet mandatory. As a result, the user interface enforces that the mandatory metadata property must be filled in before a document component can be saved to the repository.

Procedure

  1. Navigate to the ASP/XSL directory of the web server.
  2. Open the file titled CompulsoryFields.xml in a text editor
  3. Define the compulsory properties for each object type.
  4. Save your changes

Example


<compulsoryfields>
  <cardtypes>
    …
    <cardtype elem="CTMASTER">
      <fields>
        <field elem="FPUBLICATIONTYPE" name="Publication type"/>
        <field elem="FINFORMATIONTYPE" name="Information type"/>
      </fields>
    </cardtype>
    <cardtype elem="CTMASTERV">
      <fields>
        <field elem="FMILESTONE" name="Milestone"/>
      </fields>
    </cardtype>
    <cardtype elem="CTMASTERL">
      <fields>
        <field elem="FSTATUS" name="Status"/>
        <field elem="FAUTHOR" name="Author"/>
        <field elem="FEDITOR" name="Editor"/>
      </fields>
    </cardtype>
    <cardtype elem="CTMAP">
      <fields>
        <field elem="FPRODUCTPART" name="Product Part"/>
      </fields>
    </cardtype>
    <cardtype elem="CTMAPV">
      <fields>
        <field elem="FMILESTONE" name="Milestone"/>
      </fields>
    </cardtype>
    <cardtype elem="CTMAPL">
      <fields>
        <field elem="FSTATUS" name="Status"/>
          <field elem="FAUTHOR" name="Author"/>
          <field elem="FEDITOR" name="Editor"/>
        </fields>
    </cardtype>
    …
    </cardtypes>
</compulsoryfields>