Samples are test records tied to a data set that let designers preview how data will appear in a document before building templates or flows.
Data Set Configuration
In Smart Flows, data sets are pivotal, serving as the backbone for organizing and structuring data to enhance automated processes and applications. These configurations extend beyond data aggregation, enabling smarter, adaptive workflows tailored to modern business complexities.
With functionalities ranging from tagging and utilizing the Data Set Builder for field and entity selection to incorporating samples for practical data structure previews, data set configurations are integral for operational efficiency. Samples, in particular, act as a crucial bridge, transforming theoretical constructs into tangible previews of expected outputs during the design phase, thereby facilitating a seamless transition from concept to deployment.
Tags
You can tag data sets, see Tags for more information.
Builder
The data set builder is where you decide which fields and entities to include in your data set, see Using the Data Set Builder for more information.
Samples
Samples are files that contain content according to the structure of the data set. Since data sets are merely a data description, they cannot be used to generate a document - that's where samples come in. You can add samples to a data set to preview your document during the design phase. Here's the button from the Word add-in:
Every data set can hold multiple samples - you can then switch between these in the Word add-in to preview your document with different data. Using samples is not required or necessary, but they greatly speed up the design phase by allowing you to see the impact of your changes immediately. Therefore, we highly recommend you use them, see Samples in Project Console for more information.
Samples are managed using the List view, see The List View for more information.
Sample Types
|
Sample Type |
Description |
|---|---|
|
Record sample |
A sample defined by a reference to a record. These are updated automatically whenever the record it points to is updated. Used by standard data sets. |
|
XML sample |
A sample defined by an XML file. Typically used with an XSD schema data set. |
|
Custom sample |
A sample for a user input scenario. Used in conjunction with custom data sets. |
|
Smart Form sample |
A sample for a user input scenario. Used in conjunction with Smart Form data sets. |
|
Published local sample |
A sample created and published from within the Word add-in based on a recorded sample for a standard data set. You can copy samples and change their values locally to preview with different data quickly. You can then publish this local sample. |
Samples in Project Console
Data sets define the fields mapped into templates. While creating and viewing Samples is still available in the Samples tab in Data Sets, users can also create a quick preview directly in the Data Sets Builder. These quick Previews allow designers to preview the data pulled based on the fields and entities they select and can be saved for future use.
Create a Sample
Creating a Sample within a data set is a crucial step in the design phase of Smart Flows. It offers a preview of how data is structured and will appear in your final documents. This process not only facilitates a better understanding of the data's practical application, but it also enables designers to refine and optimize the data set to meet specific requirements.
Configure a Preview
-
Select Data sets.
-
Select a Data Set to filter from the available options.
-
Select PRIMARY ENTITY.
-
Select N:1 Relations.
-
Select the N:1 RELATIONS to use in your preview.
-
Select 1:N RELATIONS.
-
Select the 1:N RELATIONS to use in your preview.
Generate Sample Preview
-
In the top right, select Preview sample.
-
Select the Sample to generate.
The View Sample window displays.
Generate Additional Samples Based on Selected Relations
-
Select Preview sample.
-
Select Add.
-
Type to filter or scroll and select a preview.
-
At the bottom right, select Save.