Set up Customer Master Step – setup-customer-master
This step creates C (Customers) table structure and populates it with data. For cloning the C table to Customer Data Source use Restore Customer Metadata Step – restore-customer-datasource.
Type | Description |
---|---|
| This step creates the Customers Master table structure and populates it with provided data. The user uploads a file containing customers, links mandatory fields and selects fields which should be created in the Customer Master table. The step sets up the Customer Master table according to the user's preferences and fills it with the provided data. For cloning the Customers table to the Customer Data Source use the Restore Customer Metadata Step – restore-customer-datasource step. |
Data Requirements
Only if the demoData
or exampleFilePath
options are used (which save the user from having to provide data), this step requires a CSV file with data in the data folder.
Specific Attributes
Attribute Name | Description | Example | Required |
---|---|---|---|
| List of fields which must be linked with users's data. Information about fields has to be stored in the data folder in a format defined by Packaging Tool. Each field must contain:
Field definitions stored in the data folder are used to decide if this step has already been deployed. To consider this step already deployed, the fields in the table must match exactly (all fields attributes must match). | "mandatoryFields": [
{
"name": "customerId",
"label": "Customer Id",
"description": "Id of the customer"
},
{
"name": "name",
"label": "Customer Name",
"description": "Name of the customer"
}
] | true |
| Definition of demo data:
| "demoData":
{
"filePath": "Products.csv",
"mandatoryFieldMapping":
{
"sku": "Product Id",
"label": "Product Name"
}
} | false |
| Path to a CSV file in the data folder. |
| false |
| If set to true, a modal dialog with mapping options appears after the mapping step, with these options are:
|
| false |
| Similar to optional fields. The only difference is that the user is advised to fill this fields for better Accelerator results and definition of the fields must be provided in the Accelerator (in the data folder). Each field must contain:
| "significantFields": [
{
"name": "Currency",
"label": "Currency",
"description": ""
}
] | false |
Example
PlatformManager version 1.75.0