Jump to: navigation, search

Difference between revisions of "HowTo:Create a new MetaProperty"


(UNITITEM)
(CATEGORY)
Line 48: Line 48:
 
Set up to 10 [[MetaProperty#Initial_value|initial value(s)]] for the MetaProperty.
 
Set up to 10 [[MetaProperty#Initial_value|initial value(s)]] for the MetaProperty.
  
 +
[[File:IL_HowTo_CreateMetaProperty_Category_01.png|thumb|alt=Change category|Change category]]
 
=== CATEGORY ===
 
=== CATEGORY ===
 
If desired change the category of the MetaProperty to a value of the list. The property will then be moved to a new tab if the object is viewed in the [[View Test Environment]] or using the [[Object Editor]].
 
If desired change the category of the MetaProperty to a value of the list. The property will then be moved to a new tab if the object is viewed in the [[View Test Environment]] or using the [[Object Editor]].
<br/>[[File:IL_HowTo_CreateMetaProperty_Category_01.png|220 px|alt=Change category|Change category]]
 
  
 
=== NEEDSVALIDATION  ===
 
=== NEEDSVALIDATION  ===

Revision as of 14:01, 25 September 2013

A new MetaProperty has to be created as an instance from CUSTOMMETACLASS using the Bulk Editor control

  1. Navigate to the MetaClass CUSTOMMETAPROPERTY
  2. Create a new instance of CUSTOMMETACLASS by entering a name
  3. Set the data type for the property
    Create new MetaProperty
  4. It is recommenmded to set at least the description and namespace
  5. Save the changes with Ctrl+S or the save command

Optional Attributes

Assign a reference
Assign a reference

REFERENCE

Assign a reference if the value of the property should link to an UBIK® object. The data type of the MetaProperty has to be Guid that the data (guid) can hold a reference to an UBIK® object.

  1. Locate an existing or create a new Reference
  2. Assign the reference to the REFERENCE attribute either by
    • dragging and dropping the reference object onto the cell
    • selecting the desired reference from the dialog appearing after double-clicking the cell
Assign a selective list
Assign a selective list

SELECTIVELIST

Assign a selective list to a property, if the respective column should display a Combobox with all items of the list instead of the value field. The value can then only be selected from the list, but not be edited manually anymore.

  1. Locate an existing or create a new Selective List
  2. Assign the list to the SELECTIVELIST attribute either by
    • dragging and dropping the list object onto the cell
    • selecting the desired list from the dialog appearing after double-clicking the cell
Set a unit item
Set a unit item

UNITITEM

Set the unit item of either by

  • dragging and dropping the unit item object onto the cell
  • selecting the desired unit item from the dialog appearing after double-clicking the cell

FORMAT

INDEXCOUNT

Set the number of named index keys

INDEXKEYS

Enter the index keys as a comma separated list of strings, for example "a,b,c,d" (INDEXCOUNT = 4).

DEFAULTVALUE

Set up to 10 default value(s) for the MetaProperty.

INITIALVALUE

Set up to 10 initial value(s) for the MetaProperty.

Change category
Change category

CATEGORY

If desired change the category of the MetaProperty to a value of the list. The property will then be moved to a new tab if the object is viewed in the View Test Environment or using the Object Editor.

NEEDSVALIDATION

Enable Validation by checking the NEEDSVALIDATION attribute of the MetaProperty and let the system explicitely store a validation time stamp information in the database. This is particularly used on the mobile client in combination with the SYSCLS TASK and SYSCLS MEASUREMENTTASK classification.

VALUEVALIDATION

Assign a value validation object to the VALUEVALIDATION attribute of the MetaProperty either by

  • dragging and dropping the validation object onto the cell
  • selecting the desired validation object from the dialog appearing after double-clicking the cell

See also