...
You can reach the Asset Type Mapping configuration page by configuring a created database configuration.
Setting | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Name | Specify a name for the configuration. | ||||||||||
Asset Type | Select an Asset Type that you want to import. | ||||||||||
Selector | The selector is a SQL query. Enter the SQL query which you want to execute when connection established to the database. Data will be fetched from this execution result.
Additional columns (not on the table) You can add constant values to the query or database functions to add calculated values as columns. For example; you can add status and substatus static values to the query where they are not in the table. select t.*, 'In stock' as c_status, 'Available' as c_substatus from assets.t_service_category t | ||||||||||
Date Format | This field is very necessary when a date value imported from a char field. If you are keeping date values in char fields please specify a date format. | ||||||||||
Date Time Format | This field is very necessary when a date-time value imported from a char field. If you are keeping date-time values in char fields please specify a date-time format. | ||||||||||
Delimiter | If multiple values are kept in a char field, delimiter will split them while importing. Delimiter provides importing multiple select attributes like Checkbox, List Box - Multiple. | ||||||||||
Define Non-Existing Attribute Options | When imported value is not an option for the attribute this option provides you to define these values as a new option for attributes like Checkbox, Dropdown List, List Box, List Box - Multiple, Radio Button. | ||||||||||
Ignore Attribute Existence | When an attribute is not defined in asset type schemes of selected asset type with this option provides the asset created without undefined attribute value. Otherwise, the asset will not be created. | ||||||||||
Delete Missing Objects | This option provides full synchronization with the database. If this option is enabled, the synchronization system will delete the manually created assets(the assets which are not imported from the database) in selected asset type. | ||||||||||
Update Multiple Objects | Identifiers(You will see in the Field Mapping configurations) provides the asset uniqueness. When multiple assets found with the identifier search this option decides they all found assets will be updated or non of them. | ||||||||||
Ignore Empty Values | If imported value is an empty value, with this option you disallow to import them. | ||||||||||
Ignore Invalid Values | When an imported value is not invalid for an attribute, the asset will not be created. With this option, the asset will be created without the attribute which have invalid value. | ||||||||||
Is Active | When this option is disabled synchronization will not work for this Asset Type Mapping. Note: Asset Type Mapping can't be activated without Asset Name Field Mapping is defined. |
Field Mapping
Field Mapping is for the map attributes with database columns.
...