Creating a record
Creating a record means adding the data to the schema. Practically, it means that you fill out schema fields. A group of such schema records forms a data collection and after saving, you can find them in
Data Management > Data collections for a particular schema.
This article explains how to create a record in the Synerise platform. The scope of article includes instructions on:
- Creating a record
- Selecting a schema to which the record will be added
- Filling out the configuration form based on the selected schema
- Saving or publishing the record
- Previewing record results
Important notes
Before creating a record, see Record usage guidelines.
Creating records
In this part of the process, you will add a record to the schema output as explained in the Creating a schema article.
Procedure
-
Go to
Data management > Data collections. -
In the header, from Select schema dropdown list, select the Products schema created according to the instructions in the Creating a schema.
-
In the upper-right corner, click New record.
Result: A configuration form opens.
A view of a record made on the basis of schema described in the Creating a schema article - simple schema variant -
In Slug, enter a URL-friendly, human-readable string, used to uniquely identify a record. Slug is used as a record identifier when generating objects based on the record.
A slug can only contain letters (uppercase or lowercase), digits, underscores, or hyphens; however, it cannot begin with an underscore and must contain at least one character. -
Fill out the schema fields:
- In Product name, provide the name of the product based on which the similar recommendations will be returned.
- In Product ID, provide the product identifier of the product.
- In Primary key, provide the the ID of the product (the same as in the previous step).
- In Product context, provide the ID of the product (the same as in the previous step).
Saving as a draft
This option is only available for records created on the basis of versioned schema type.
If you want to save your progress or preview the record, you can save it as a draft. Draft records remain private and will not be visible publicly. Additionally, attempting to generate an object based on the record’s slug while it is a draft will result in an error.
To save a record as a draft, in the upper right corner, click Save as draft. The record will be saved in
Data Management > Data collections for Products schema.
Previewing records
After saving the record either as a draft (in case of records created based on versioned schemas) or publishing it (in case of both schema types), you can preview the record for the context of a selected user.
If your records include dynamic values, they will not be rendered until you select a customer for which the preview will be generated.
- In
Data management > Data collections. - In the header, from Select schema dropdown list, select the Products schema.
- Find the record which you want to preview.
- Enter the record configuration.
- Click Preview.
- Click Preview contexts.
- From the dropdown list, find a profile for which you want to generate record preview.
Result:
Record results for an example profile 
Further part of the record results for an example profile
Additional preview context parameters
If your schema record contains a {{ context.keyName }} Brickwork insert, you can set the exact value for this field by adding the key (using the actual parameter name instead of .myField) and its value in the Additional context parameter section. This helps provide context for non-profile attributes (like an item identifier) in the preview.

- The Jinjava code field (Product ID) contains
{{ context.itemId }}. - In the preview settings, the additional context parameters are set as follows:
itemId: 0000208295260 - In the record results preview
{{ context.itemId }}is replaced with0000208295260
Publishing options
Scheduling publication
This option lets you delay publishing the record and/or schedule publication within specific time windows (for example, daily between 1 and 4 P.M. over a two-week period).
- Click the Schedule tab.
- In Start date and End date, specify the beginning and end of the period during which the record will be published.
- From the Timezone dropdown list, select the timezone according to which the schedule calendar will apply.
- If you want to set the time windows in which the record will be in the published status, enable the Set time windows option.
- Use Daily, Weekly, and Monthly tabs to define the frequency of publishing the record.
- After selecting a tab, define the time window by choosing the start time on the left and the end time on the right. Click the clock icon to select the time.
The record status outside the defined time window has the scheduled status. - Confirm by clicking Apply.
Result: The publication of the record is scheduled.
Publishing immediately
This option lets you immediately publish the record. Optionally, you can publish the record within specific time windows (for example, daily between 1 and 4 P.M. over a two-week period).
- Click the Run immediately tab.
- If you want to set the time windows in which the record will be in the published status, enable the Set time windows option.
- Use Daily, Weekly, and Monthly tabs to define the frequency of publishing the record.
- After selecting a tab, define the time window by choosing the start time on the left and the end time on the right. Click the clock icon to select the time.
The record status outside the defined time window has the scheduled status. - Confirm by clicking Apply.
Next steps
As the next step, proceed to generating an object with record results in a distribution channel of your choice.