IMPORT.FEATUREDATA
IMPORT.FEATUREDATA was introduced in Perfion 5.5 2024-R2. It takes Input from a Excel file or the Table-format and imports it into any base feature.
More information about this functionality can be found in Feature Data Import.
Properties
From | The Path to excel file. |
To | The name of the feature to import data to (e.g. Product, Category etc.) NOTE: The destination can also be assigned dynamically from the content of a variable, e.g. by writing {=$MyVariableName}. |
Parameters
All parameters are optional, but can be defined to alter the default behavior of the import.
@KeyFeatureColumn | Column in excel file or input data source containing values to be used as import keys. The key feature column can be located anywhere in the input data source. Key Feature Requirements:
Base feature exception: The base feature (= the feature to import to) can naturally also be used as key feature. This feature will always be selectable as it holds the items you want to update. The base feature can also be inheritable and allow multiple, and it data types Image, File and Date are also supported. Possible values:
NOTE: if the parameter @KeyFeatureColumn is not specified, the importer will use the first non-excluded column as key. |
@NewItemHandling | By default, new items in the input data source are created in Perfion.
|
@EmptyCellHandling | By default, the importer ignores empty cells in the input data source Possible values:
NOTE: If a cell in the input data source contains the value [DeleteValues], the importer will delete the existing value in Perfion for that particular cell even if KeepValues is used. |
@MultiValueHandling | By default, the importer will merge values in input data source with existing values in Perfion for multivalue features. Possible values:
|
@UnknownSelectableValueHandling | By default, the importer will create new selectable items in Perfion when unknown selectable values are found in input data source. Possible values:
|
@AmbiguousSelectableValuesHandling | Note: This parameter was introduced in Perfion 2025-R1 Hotfix 5.5.11. By default, the importer will fail if you try to import a selectable value that matches multiple items. It could be a Color named “Black” where there are 3 Color Items having the value “Black”. Possible values:
This parameter does both apply to single and multi-values but not to hierarchical features where Import always will fail in case of ambiguities. Note further, that the importer will first compare the imported value with the value already in Perfion, and only if they differ, this setting will be use to handle ambiguities. Example: If there are 3 Color-items representing “Black” and you import a product assigning “Black” as the Color of it. If the imported product already is in Perfion and already is “Black” (any of the 3 “Black” items), the importer will regard this as “no change” and do nothing. And this is regardless of what this parameter is set to. |
@ValidationViolationHandling | By default, the importer will fail and throw an error if values in input data source violate “hard” validation rules on features. Possible values:
NOTE: “Soft” validation rules are not respected by the importer. Values that violate soft validation rules will always be imported. |
@BinaryCantRetrieveHandling | Note: This parameter was introduced in Perfion 2025-R2. By default the importer skip binaries when it can’t retrieve the binary data from it. This data can either be fetched using supplied URL, unc path or looked up by filename in the supplied zip file (if any). This behavior be changed using this parameter. Possible values:
|
@DateFormat | By default, the importer will accept and understand dates from Excel without specifying a specific format. If dates are imported from other systems - or imported to multivalue date features - you must specify the date format found in the input data source. Possible values:
|
@DecimalSeparator | By default, the importer will accept and understand numbers from Excel without specifying a decimal separator. If numbers are imported from other systems - or imported to multivalue number features - you must specify the decimal separtor found in the input data source. Possible values:
NOTE: When specifying a decimal separator, you must also specify a group separator |
@GroupSeparator | By default, the importer will accept and understand numbers from Excel without specifying a group separator. If numbers are imported from other systems - or imported to multivalue number features - you must specify the group separtor found in the input data source. Possible values:
NOTE: When specifying a group separator, you must also specify a decimal separator |
@ZippedBinariesFile | The Path to a zip file for importing binary files. NOTE: Binary files will be imported from zip file when file references in input data source do not include paths (e.g. image1.jpg) |
@EmptyDataTableHandling | By default, the importer will ignore empty input data sources as long as column headers are valid. Possible values:
|
@OperationMode | By default, the importer will validate column headers and data AND import the data. Possible values:
|
@ReadExistingSelectableValuesHandling | During an import, the importer will read values of existing selectable items, in order to use them when items imported address them. By default, the importer will choose how to read these items automatically depending on how many values there are in the database and how many values are being imported. Possible values:
ForceReadAllItems This forces the importer to always read all the selectable values, that is items, for all selectable features in the data. |
Map
This Command does not use any value mappings.
- 1 Properties
- 2 Parameters
- 3 Map