(custom attribute/ header The custom attribute headers define the properties descriptor) of the additional fields. Custom attributes must be added to the CSV file after the standard fields and have the following format: The value in the square parenthesis is a Boolean value, and can be (for true) of (for false): e.g. “t” “f” *extensibility[t,f,f,f]. The meaning for each of the properties set in the square parenthesis is described in the following fields rows. Required This indicates that the custom attributes is required. The whole data rows in the CSV must have this value in order to be imported. Additional Multivalue This indicates that this custom attribute could have more than one value. If this property is set to true, the custom attribute takes its values from a list of values defined in a specific database table. More details about the information model can be found in (This feature is not implemented but is foreseen in the future). Foreignkey If this property is set to true, the value in this field is a localId of another item in the register. The name of the custom attribute has to be the name of the item class referenced. Exmaple - Addition CSV example Note: in the example above the custom attribute (name: Theme) is defined as foreign key. In this case, the name of the custom attribute (in the descriptor line first line of the –the csv) shall be exactly the name of the itemclass related to the item specified as value. The value of the custom attribute shall be the LocalId of the referenced element. Only items that are not part of a collection (with the CollectionId field empty) can be pointed by a custom attribute.
Additional fields (custom attribute/ header descriptor) The custom attribute headers define the properties of the additional fields. Custom attributes must be added to the CSV file after the standard fields and have the following format: The value in the square parenthesis is a Boolean value, and can be “t” (for true) of “f” (for false): e.g. *extensibility[t,f,f,f]. The meaning for each of the properties set in the square parenthesis is described in the following rows. Required This indicates that the custom attributes is required. The whole data rows in the CSV must have this value in order to be imported. Multivalue This indicates that this custom attribute could have more than one value. If this property is set to true, the custom attribute takes its values from a list of values defined in a specific database table. More details about the information model can be found in (This feature is not implemented but is foreseen in the future). Foreignkey If this property is set to true, the value in this field is a localId of another item in the register. The name of the custom attribute has to be the name of the item class referenced. Exmaple - Addition CSV example Note: in the example above the custom attribute (name: Theme) is defined as foreign key. In this case, the name of the custom attribute (in the descriptor line –the first line of the csv) shall be exactly the name of the itemclass related to the item specified as value. The value of the custom attribute shall be the LocalId of the referenced element. Only items that are not part of a collection (with the CollectionId field empty) can be pointed by a custom attribute.
Re3gistry-software.docx