Tricia Help
Last edited Oct 19, 2011

Changing an attribute definition


Proceed as follows to change an existing attribute definition (mayor) for a type definition (city) in a wiki (geography).

  1. Show the table of all wiki pages which use the type tag city in the geography wiki.
  2. To do so, either click the type tag city of a wiki page in the geography wiki or navigate to it via Wikis -> geography -> city.
  3. Make sure that you have write rights for the wiki.
  4. Click the pencil icon which is shown in the header of the mayor column. You may have to scroll horizontally to view the column.
  5. A window appears, in which you can change the attribute definition.

Renaming an attribute definition and renaming attributes

  1. Overwrite the displayed name of the attribute definition.
  2. Select Apply for all instances if you want to rename all attributes of existing wiki pages in the wiki to this name.
  3. Confirm input by clicking Save, or cancel your changes by clicking Cancel.

Changing the type of an attribute

If you enter a non-blank value for the property Type in the list, you restrict the allowed values for the attribute as follows:

  • Boolean only permits the input of truth values  (via checkboxes).
  • Date only permits the input of dates (via a calendar control element).
  • Enumeration  only permits the input of values from a list you define. An enumeration consists of an ordered list of strings and/or links. The equality and ordering of the enumeration values is determined by the sequence of their definition.
  • Link only permits the input of links to wiki pages. If necessary, you can restrict the set of allowed wiki pages to wiki pages which have one of the type tags you specify. The use of the two type tags city and country therefore permits both links to cities and links to countries or links to cities which are also identified as a country.

See also Basics Types

Changing the multiplicity of an attribute

If you use a non-blank value for the property Multiplicity in the list, you restrict the number of allowed values for the attribute as follows:

    • At most one value: No or one value can be used.
    • Exactly one value: Exactly one value can be used.
    • At least one value: At least one value can be used.

See also Basics Types

Choosing between strict and non-strict consistency testing

If you choose the option Strict, users cannot create a new wiki page or change an existing wiki page which breaks the rules for this attribute.

In all instances inconsistent attributes of wiki pages are marked with an error icon. When users click the error icon, the cause of the error is shown with a link to the attribute definition.

You can search for errors using the search function.

0 Comments