Data layouts are structures to help systems smoothly enter data in the right formats. In cloud integration each system you would like to push or pull data into should have a data layout structure set-up. Listed below are two simple ways to create a data layout.
DSYNC is very flexible and enables users to set their own data layout depending on the system you wish to integrate with. This video flow discusses how you first create a data entry hierarchy, and then create a data entry group and a data entry layout.
Two ways to create a data layout
- By using the editor users can quickly copy and paste JSON or XML code into the editor field to create the same structure the system provided.
2. Option two is to add data fields to the data layout manually by row (One by one)This option is great for testing especially if you only want to create a data layout for a few simple products.This video tutorial steps you through the process of creating a data layout so that clean cloud integration can occur.
Listed below is the developers instruction kit for setting up a data layout by each row
Adding fields to your data layout
This quick tutorial covers how to add fields to your data layout. As mentioned above you can add entire data layouts by copying XML or JSON code into our editor however this quick tutorial will explain how to just add a few simple fields for testing
- To begin let’s select “Add Field”
For this tutorial, we will call the field "products"
We will also select “Multiple” for the products field as it need to be an “Array” Some systems require fields to be set as an Array so that it can be pushed or pulled into the systems data layout
We will also need to select the "Field type" as an Object
By setting as an object we are defining the product to be an “Object” rather than a “Single” field. An object can contain multiple fields.
Now that we have added Products lets click to the right and add some additional fields
- Select Add field
- For this element we do not need to add as a Multiple as SKUs are single or “one to one” fields
- Drag the newly created SKU field to sit under the Product field
- Lets continue the process by adding a few extra fields
- Highlight next to product then “Add field”
Don’t forget you will need to add an “Underscore” to ensure we match the systems data layout. You must have the field in the exact format either in lower case and include the underscores.
Now we have now created a very simple data layout ready to synchronize a system. Don’t forget you can always use our “Editor” to create Product, Customer or order data layouts by copying the XML or JSON data from the API docs.