Jump to: navigation, search

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


Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
+
[[File:IL_HowTo_CreateMetaProperty_01.png|thumb|alt=Create new MetaProperty|Create new MetaProperty]]
 
A new [[MetaProperty]] has to be created as an instance from [[CUSTOMMETACLASS]] using the ''[[Bulk Editor]]'' control
 
A new [[MetaProperty]] has to be created as an instance from [[CUSTOMMETACLASS]] using the ''[[Bulk Editor]]'' control
  
Line 6: Line 6:
 
# Create a new instance of ''CUSTOMMETACLASS'' by entering a name
 
# Create a new instance of ''CUSTOMMETACLASS'' by entering a name
 
# Set the data type for the property
 
# Set the data type for the property
# It is recommenmded to set at least the description and namespace<br/>[[File:IL_HowTo_CreateMetaProperty_01.png|220 px|alt=Create new MetaProperty|Create new MetaProperty]]
+
# It is recommenmded to set at least the description and namespace
 
# Save the changes with {{key press|Ctrl|S}} or the save command
 
# Save the changes with {{key press|Ctrl|S}} or the save command
  
 
== Optional configuration ==
 
== Optional configuration ==
 
=== Assign a reference ===
 
=== Assign a reference ===
 +
[[File:IL_HowTo_CreateMetaProperty_01.png|thumb|alt=Assign a reference|Assign a reference]]
 +
Use 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.
 +
 +
# Locate an existing or create a new [[Reference]]
 +
# Assign the reference to the ''REFERENCE'' attribute either by
 +
#* selecting the desired reference from the dialog appearing after double-clicking the cell
 +
#* dragging and dropping the reference object onto the cell
 +
 
=== Assign a selective list ===
 
=== Assign a selective list ===
 
=== Set a unit item ===
 
=== Set a unit item ===

Revision as of 12:48, 23 September 2013

Create new MetaProperty
Create new MetaProperty

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
  4. It is recommenmded to set at least the description and namespace
  5. Save the changes with Ctrl+S or the save command

Optional configuration

Assign a reference

Assign a reference
Assign a reference

Use 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
    • selecting the desired reference from the dialog appearing after double-clicking the cell
    • dragging and dropping the reference object onto the cell

Assign a selective list

Set a unit item

Format

Validation flag

Number of index keys

Default values

Initial values

Change the MetaProperty’s category if necessary

Enable Value Validation

Check the NEEDSVALIDATION setting of the MetaProperty to enable value validation and let the system explicitely store a validation time stamp information in the database. This is paricularly used on the mobile client in combination with the CLS TASK and CLS MEASUREMENTTASK classification.

Assign a Value Validation object

Set a validation object to the VALUEVALIDATION setting of the MetaProperty.

Using a Workflow

A new MetaProperty can be created and automatically assigned to a MetaClass via the Create new MetaProperty workflow. This workflow guides the user through the creation and configuration procedure of a MetaProperty and relates it to the selected MetaClass .

  1. Start Workflow “System / Create new MetaProperty ” from the context menu
  2. Set at least name, description and data type
  3. Change the MetaProperty ’s category if necessary
  4. Save the changes
  5. Optional configuration:
- Reference
- Selective list
- Unit item
- Format
- Validation flag
- Number of index keys
- Default values
- Initial values

See also