Skip to main content

Import Fundamentals

The Import tool in Deepser lets you bring external data into the system using a structured, configurable procedure. This page covers the import configuration form and explains every available field.

Access the Import Configuration

  1. In the Deepser Backend, go to System > Tools > Import.

  1. On the grid page, you can see all imports already configured in your Deepser instance.
  2. Click a row to view an existing import's configuration, or press Add Import to create a new one.

You will then see the Import configuration form:

Configuration Fields Reference

FieldMeaning
NameName of the Import.
ModelModel of the entities that are going to be imported into Deepser (Service Operations, CIs, Companies, etc.).
TypeFormat of the source file containing the records to be imported in Deepser.
Has Header (Yes/No)Indicates whether the first row of the file is a header. If Yes, Deepser will ignore the data in the first row of the Excel file.
Cron ExpressionA schedule expression that controls automatic, recurring execution of the import.
StatusIf Enabled, the import will run; otherwise it will not.
File PathUsed to upload the source file containing the records to be imported.
Path ExpressionUsed to dynamically change the name of the file containing the data to be imported. This field is explained with an example below in this document.
Entity -- File -- CodeConfiguration of the "File Column -- Entity Field" binding. Entity: Model field; File: File column; Code: script to perform specific manipulations of data on the column value (e.g., format a date, convert a value, etc.), executed during cell evaluation.
Before RunCustom PHP code to be executed before the import procedure starts. Used to pre-load data in memory to avoid subsequent massive SQL queries to the DB. For example, you can load the content of a DB table inside an array, then reference it during the import instead of querying the database for every Excel file row.
Before RowCustom PHP code to be executed before each Excel file row is imported. Used to dynamically change the values of the imported row. For example, you can set the status as "New" for every row, or load an existing record from the database instead of importing a new one.
After RowCustom PHP code executed after each row, as soon as every single record has been saved. It runs after every row insert or update.
After RunCustom PHP code executed after all Excel file rows have been imported. Useful for performing custom tasks at the end of the import.
tip

If you only need a basic import without custom logic, you can skip the scripting fields (Before Run, Before Row, After Row, After Run) and proceed directly to data binding.