To import records into a repository using the Currant View:
- Open the desired repository in a Repository View.
- Open the More Actions dropdown by clicking the on the Repository View's activity bar.
- Select the Import option. The Import Configuration Step 1 window will appear.
-
On the Configuration Step 1 window, for the Import Type, select
Current View from the following list:
-
Current View: The record attribute values are imported simply from a delimited file or spreadsheet.
-
Defined Template: Allows the user to specify an Import Template to be used. Import Templates are typically created by the system administrator. This option will be unavailable if no import templates have been defined for this repository.
-
Create Saved Set: (Optional) This uses an imported spreadsheet that specifies a list of existing records in a repository to create a saved set in that repository. No actual record content is changed.
-
Pending Content Changes: (Optional) Select to enter changes that take effect in the future. For instructions on importing Pending Content Changes, see Batch Processing of Pending Event Transactions.
-
- Click Next to continue to Import Configuration Step 2.
-
The Import Configuration Step 2 window will appear. Edit the
Option values:
-
File Name: The name of the file to import.
-
File Format: This option will be selected automatically based on the type of file selected above.
-
File Encoding: Select the file encoding method. You may want to leave this setting at Default, then if the data does not import correctly, contact your system administrator for help determining the correct file encoding.
-
Language: Selection of a Language here will cause any imported multi-language attributes that are not specifically assigned to a language to be imported to the selected Language. For information about how multi-language attributes are imported, see Multi-language Behavior for Imports.
For example, if there is an attribute titled
Product
and the Language selected is Polish, the column values will be imported intoProduct
's Polish variant of the attribute values. -
Save Records Imported from Source as Set: This option will either add the imported records to an existing Saved Set or create a new Saved Set consisting of the imported records.
- Existing Saved Set Name: Select an existing saved set. The import will add the imported records to this existing saved set.
- New Saved Set Name: Enter a name for the saved set that will be created to hold the imported records.
- New Saved Set Description: A description for the new saved set.
-
Send above Saved Set to Workflow: Set this checkbox if you want the records to be sent to workflow. This has the same effect as editing each record then clicking the Save & Send button.
-
Save Records in Repository but not Imported from Source as Set: This option will create a Saved Set of all the records already existing in the repository that were not affected by the import. If you select this setting, the following will appear:
- Saved Set Name: Enter a name for the new saved set.
- Saved Set Description: Enter a description for the new saved set.
-
-
Optionally, expand the Advanced Options and edit them as desired. Scroll
through the Advanced Options as necessary to access options. Some of the
Advanced listed in the table below are only available in the Classic UI.
Advanced Options
Table 1. General Import Options
Description
File Definition Name
Deprecated.
Data Source Name
Deprecated.
Mapping Name
Deprecated.
Field Delimiter
Either select Comma, Tab, or enter the character or characters that delimit field values in the import file.
Text Qualifier
Enter the characters that indicate the start and end of a text string value.
Row Delimiter
Enter the characters that delimit rows in the import file.
Header row number
Defaults to 1.
Start at line #
Defaults to 2.
Start after line text
Enter the text that identifies the line before the start of the import records.
Stop at end of file
The default option.
Stop at line #
Instead of stopping at the end of the file, stop at the specified line number.
Stop before line text
Instead of stopping at the end of the file or at a line number, stop before reaching the entered line of text.
Table 2. Validate Import File Options Import Options
Description
Non-Primary Key Data
Deprecated. Column Count
Deprecated. Required Attributes
Deprecated. Unique Business Key (If defined in configuration)
Deprecated. Column Data Type
Deprecated. Table 3. Sync In Options Import Options
Description
Keep repository values if Import values are empty/null
If the import file's attribute value is empty, keep the existing attribute value instead of clearing the value. Update Only
Only update records that already exist in repository; do not create new records. Disallow Null Primary Keys
Ignore import record if any of its primary keys are blank.
Create Only
Only add new records, do not update any records that already exist in the repository.
Use alternative primary keys
Designate a combination of attributes as the primary key.
Allow Insert When Alternate Keys and Auto-Sequence Deprecated. File Contains Taxonomy Node
Deprecated.
Ignore white space
Ignore any extra spaces before or after the data in the import file. This option defaults to checked.
Extended Data in One Row Format
Deprecated.
If an error occurs, discard saved objects
If an error occurs in the import process, the underlying import objects will be deleted
Sync In
Starts import job. Uncheck to save objects without starting import.
Validate Afterward
Validate the records after importing them. Save Mapping
Save underlying objects as mappings which can be rerun again.
Allow External Trigger
Allow triggers to be processed.
Force job to run as a 1st-time data load
Deprecated.
Sync Format Date for PLT
The format for dates found during the import process. It allows the user to ensure that all dates are consistently formatted. For information about this field, contact EnterWorks.
Sync Scan XML for PLT
For information about this field, contact EnterWorks. Sync Scan HTML for PLT
For information about this field, contact EnterWorks.
- Click Next to continue to Import Configuration Step 3.
-
EnterWorks will attempt to automatically map the input file's columns to the
repository's attributes. If a file previously exported from a repository with
the same profile is used and the column names were not changed, all the fields
should map correctly. Attributes will be mapped based on your session language.
A Primary Key indicator (blue key) will appear next to the name of the attribute that has been determined to be the primary key.A Confidence Indicator is displayed next to each attribute name:
- Green box with green check mark: Confidence is high that this attribute has been properly mapped.
- Green box: Request for confirmation that this attribute was properly mapped. To confirm, click the green checkbox.
- Red X: This attribute has not been mapped.
- If any column is not properly mapped, click its column header and select the correct attribute name.
-
Edit the rest of the configuration options.
-
Taxonomy Node dropdown menu: If all Category Attributes in the input file are associated with one Taxonomy node, the Taxonomy node can be selected and only those Category Attributes will be shown for selection mapping. This is particularly useful for implementations with large numbers of Category Attributes.
-
Map Across All Taxonomies checkbox: If a field in the input file is a Category Attribute, use this checkbox to have the Category Attributes map automatically and/or show in the dropdown menu for manual mapping. Category Attributes don't show in the mapping list automatically because it could make the selection list very large.
-
Update all records on partial key matching: This checkbox is used to update multiple records based on a partial key. This option should be used with care because one record in the input file could update multiple records in the database. It is recommended that the system administrator be contacted before using this option.
-
- Click the Import button to import the data file.
-
An Import job is created and placed in the Job Queue. To view the job's
progress, open the Job Monitor from the Features Sidebar's System
tab or open a Job Monitor Widget in the Dashboard.
The Imported record files are prepared and made available for download and transmission. Upon completion, an Import Job Completed message will appear in the Import Configuration's Step 4 window.The user can download any Job Status Files created by the Import procedure by clicking the buttons below the Job Completion Status message:
-
Log File: Download the Job Log file. It contains status about the contents of the Import Job, the date and time the Import Job was run, completion status, and the number of records processed and imported.
-
Output File: Not used during imports.
-
Error File: May or may not be created.
The user can also download the resulting Job Status Files from a Job Monitor Widget. -
-
If a Saved Set was created, to view it:
- Click the Refresh icon on the bottom left of the Repository View and click the Saved Set button on the Repository View's Activity tab.
- The Saved Set Sidebar will appear. Click the Saved Set that was created to see the added or modified records