Importer
11 min
to import data you should first go to the entity that you need to import data to, then click on the icon near the 'edit view', then on 'import data' on the first tab, you can upload a file you can either upload a csv (the first line should contain the column names) or json file from your device, or you can choose the url address and the file type (currently supports xml, json, and csv) at the bottom of the page, you can see the list of scheduled imports you can edit them by clicking on the 'eye' icon you can also pause, unpause or delete scheduled imports by clicking on the checkbox next to the import and then pressing a corresponding button on the right side if you are uploading from a link, please make sure that you have the right permissions for example i want to import a google sheet for the import to be successful i need to change permissions to 'anyone with the link' mapping in this section, you can customize your imports import mode has three available options "create only" select this option if you are importing data for the first time only new records will be created "update only" select this option if you want to update existing records for this entity based on a unique property if there is no match for the unique property, the item will be skipped "create & update" select this option if you want to update existing records for the entity based on a unique property if there is no match for the unique property, a new item will be created unique property here you can choose a cms property the value of this property will be used to check for an existing item most of the time it`s some kind of id number that is unique trigger entity events here you can set whether to trigger entity events events are needed to start processes and work with integrations (xdms, webhooks) enable if any of these are configured scheduling this feature is only available for imports from url addresses you can set the time and frequency of the imports here keep in mind that the time is always displayed in the utc timezone map over all matching values? if enabled, this setting will make the importer override all the items with matching unique property ids (for example the vehicle in cms with id (unique property) 2005 is blue, and the vehicle with id (unique property) 2005 in the imported file is red the vehicle in cms will become red if th e setting is enabled ) keep in mind that this also works when you are importing empty values (for example the vehicle in cms with id 2005 is blue, and the vehicle with id 2005 in the imported file has the empty color value the vehicle in cms will have empty color property) bellow, you can map entity properties you can choose the column from the imported file that corresponds with the property sdsd keep in mind that you need to map all 'required' properties, also the item will not be imported if the required property field is empty you can choose the number format for the number type properties also, you can choose the date format and a timezone for 'date' type property fields if you are importing data to the 'entity' type field, you should also choose the lookup property the system will compare the data from the lookup property with the chosen column of the imported file it will set the entity item as a property if there is a match if you are importing data to fields that support lists of data, you should choose a separator(a symbol that separates values in a cell) in this column, the separator is '/' computed expressions you can also use computed expressions https //hyperportal help/#/content/computed expressions here for example you are mapping the 'status' property, which has two available options in cms 'available' and 'sold' but the xml file that you are importing doesn`t have the status section, it only stores the name of the buyer if the vehicle was sold keep in mind that you need to refer to the property id (status for example) of the field in cms, not to the name of the field of the imported item you can use this expression to solve the issue "if(isblank(status), 'available', 'sold')" this expression checks if the 'isblank(status)' (checks whether the xml value is empty), then it set the status to 'available' if the buyer field is empty, and to 'sold' if it`s not empty starting the import before starting the import you can check the results of the mapping by clicking on the 'preview' button at the bottom it will also warn you if some of the required fields are not mapped the result will be shown next to every field where the mapping was correctly set you can switch items in preview by clicking on the arrows in the right top corner to start the import you should click on the 'import' button at the bottom it will inform you that you will get an email when the import is finished (it can take some time if you imported a lot of items ) then you can see the details of the import by clicking the 'view details' button it will redirect you to the page with information about your import you can also access this information through the 'import' cms entity, where you can see the list of all previous imports on the page, you can check such information as the entity that the data was imported to (reference definition), the data source of the import (original url, original data), and the schedule of the import (it is stored as the cron expression https //docs oracle com/cd/e12058 01/doc/doc 1014/e12030/cron expressions htm ), you can see the status of the import and you can check the logs (valdtaion log, failed data ) validation log will show you messages and warnings regarding the imports failed data will show you the list of items that were not imported