Custom Import Mappings
Use this tab to import data from an external source.
The supported sources are:
- An Excel file, which can contain one or more worksheets.
- A CSV file.
- SQL Server / Oracle.
This task type can be used as a supplement to the existing Maconomy integration, or it can be used to build an integration to a third-party system, such as a SAP system.
When setting up such a task, you start by defining a custom import mapping. The purpose of a custom import mapping is to act as a translator between the data formats of the external source and those of the internal People Planner tables.
When you have defined the custom import mapping, you can use it to define the task specification, and you can add a scheduled task on top of that to provide automated execution:
A Word of Caution
Custom import mappings import external data almost directly into the tables in the People Planner database. In certain cases, a custom import mapping may partially bypass the normal business logic built into the People Planner application. This can result in the creation of data structures that would not normally be possible-or at least are highly unusual-and in a way that results in People Planner not performing very well.
As with any powerful tool, the custom import mapping requires expert knowledge of how to use it properly, or it can result in unforeseen issues. In the case of custom import mappings, some extra knowledge about the business logic of People Planner is certainly required.
To put it in another way: Just because your custom import mapping seems to be working, this is not a guarantee that it works well.
- Related Topics:
- Create a Custom Import Mapping
Use these steps to create a custom import mapping. - Available Import Types
This section describes the available import types. - Import Excel and CSV Files
When the import is from Excel files or CSV files, you can choose between either importing a specific file or importing all matching files in a specific folder. - Import from an Excel File
The steps in this section are based on an example where you are creating a Custom Import Mapping that imports employees. - Import from a CSV File
Defining a custom import mapping to get the data from a CSV file is similar to the process for defining a custom import mapping to get the data from an Excel file. - Import from SQL Server and Oracle
Use the Import from SQL Server/Oracle import type to import data from another SQL/Oracle server. - Customize the Mapping of Fields
If automatic mapping is not possible, such as when fields are named differently, you can map the external field by selecting the field from the dropdown list for the Source Field Name field. - Add Multiple Mappings
You can add more than one mapping in a Custom Import Mapping. An instance where you can use this is if the Excel file has multiple tabs, and you want to import data from each of them - Changes in the External Data
The external data may change between imports. - Determine the Format of the External Data
If you want to create a custom import mapping, you must start with a source with external data, such as an Excel file. If you do not have this, you cannot create the mapping. - Data Types
Data in People Planner can be of different types, and the source with the external data must consider this. - Destination Entity Name Field
You use the Destination Entity Name field to determine into which People Planner table you want to import the external data. - Run a Custom Import Mapping
To run a Custom Import Mapping, you must first create a task specification. - Practical Examples
This section provides examples of practical usage of custom import mapping. These are intentionally simple examples.