Bulk import map examples
Mapping your source employee documents to required elements in Employee Document Management is crucial for a successful bulk import.
This topic provides examples on how to map your source employee documents to the required elements in Employee Document Management. The values provided are examples designed to guide you through the import map configuration.
Map fields and values directly from existing file names
Using your existing employee document file names is recommended when your source employee documents reside in a local repository.
- File name example
- The example file name is abel_tuter_tuition.pdf.
- File name to employee name example
- From the file name, the employee name is extracted. Employee name is a requirement for Employee Document Management.
- File name to document type example
- From the file name, the document type is extracted. Document type is a requirement for Employee Document Management.
Parse and map fields and values from a JSON output
Using a JSON output is recommended when your source employee documents reside in a third-party, cloud-based repository.
| Field | Description |
|---|---|
| Mapping type | Field |
| Mapped element | items Looks for the items mapping element in an array of items in the folder. This mapping is used after Stage — Directory import source. |
| Source element | entries Source element in the JSON output and represents the items in a folder. For example, Box uses entries as the source element. |
| Field | Description |
|---|---|
| Mapping type | Field |
| Mapped element | item Looks for item, an entry in an array of items in the folder. This mapping is used after Stage — Directory import source to run operations against a single item. |
| Source element | id For each item in the array, find the file ID in the JSON output. |
| Filter regex | file Combined with the Filter field to exclude subfolders. |
| Filter field | type Filter output to where the type field is equal to file to exclude subfolders. |
| Field | Description |
|---|---|
| Mapping type | Field |
| Regex | (\w+)\s(\w+) String translation to convert fname lname to fname.lname. |
| Replace | $1.$2 Converts files found in Regex field fname lname to fname.lname. |
| Mapped element | employee Looks for employee mapping element. Employee is a field in the file item. This mapping is used after Stage — file import source. |
| Source element | owned_by.name Looks for name in owned_by object. Bypass nested objects with a dot notation. |
| Filter regex |
| Field | Description |
|---|---|
| Mapping type | Value Selecting Value maps the employee element within an array of information from your source document to a specific value in Employee Document Management. |
| Replace | david.loo The value you want to replace the source element with in Employee Document Management. Employee Document Management requires employee names to be formatted fname.lname. |
| Mapped element | employee Looks for the employee mapping element that is a field in the file item. This mapping is used after Stage — file import source. |
| Source element | davidl Looks for the source value of davidl. |
| Field | Description |
|---|---|
| Mapping type | Field |
| Mapped element | docType Looks for the docType mapping element embedded in the description field in the file item. This mapping is used after Stage — file import source. |
| Source element | description Looks for name in description. |
| Filter regex |
| Field | Description |
|---|---|
| Mapping type | Value Use Value to map a specific value in your third-party, cloud-based repository to a value in Employee Document Management. |
| Replace | employee verifications Replace verification (source) with employee verifications (Employee Document Management). |
| Mapped element | docType Looks for the docType mapping element embedded in the description field in the file item. This mapping is used after Stage — file import source. |
| Source element | verification Look for the name value of verification in the JSON. |
| Field | Description |
|---|---|
| Mapping type | Value Use Value to map a specific value in your third-party, cloud-based repository to a value in Employee Document Management. |
| Replace | transcripts Replace school (source) with transcripts (Employee Document Management). |
| Mapped element | docType Looks for the docType mapping element embedded in the description field in the file item. This mapping is used after the Stage — file import source. |
| Source element | school Looks for the name value school. |
| Field | Description |
|---|---|
| Mapping type | field |
| Mapped element | fileName Looks for the fileName mapping element embedded in the name field in the file item. This mapping is used after Stage — file import source. |
| Source element | name Looks for filename in the description in the JSON output. |
| Filter regex |
| Field | Description |
|---|---|
| Mapping type | field |
| Mapped element | url Looks for the url mapping element embedded in the id field in the file item. This mapping is used after Stage — file import source. |
| Source element | Looks for id in JSON output. Hinweis: some third-party, cloud-based repositories use the file ID. The capture import source builds a URL from this value. |
Bulk import mapping records
An example of Employee Document Import Map.
When a connection to your source repository is confirmed and import maps are set up correctly, you can click Start staging job from Related Links.