Official translation unavailable. Translate this page with Google:

Combine your business system data with labels containing Reports. Create reports in NiceLabel Designer and fill your reports with data from your business systems in NiceLabel Automation.

Your completed reports use your business system data to print. NiceLabel Automation:

  • Receives your business system data.

  • Parses your data with a data filter.

  • Populates your Report with parsed data.

  • Executes printing for your new populated reports with a trigger.

Creating temporary databases

You need to design your Reports before you automate them. To design reports, you need to connect them to a database.

If you use data from external business systems for reports, you have no database to work with. To work correctly, report data needs a hierarchical structure with clearly defined elements.

Create a temporary database with data from your business system (Usually XML or JSON data). With your temporary database, design and configure your reports. Your temporary database is only for setup. Configured reports print using Automation triggers, not your temporary database.

UUID-37136986-1bbf-336d-a921-0fa949f42863.png

Data from your business system with no hierarchy.

UUID-3f900745-e1a5-5ed3-e863-b3b6179a3aef.png

Data with hierarchy you can use to print reports.

UUID-bc42869d-c3a7-a5ef-e3e7-bb0930556865.png

Sample XML data you need to design reports (unparsed).

For you temporary database, create a CSV text database file. You have multiple options:

  1. Manually convert your data structure to a CSV text file:

    UUID-d5c7d971-643f-91ac-ea17-7b42ee7af04b.png

    Manually creating temporary CSV text databases.

  2. Use a common XML to Excel or XML to CSV conversion tool and manually format your data in a spreadsheet.

  3. Use an Automation data filter to automatically parse your data into a CSV text database (Refer to your included XML to CSV sample file for more information).

Designing automated Reports

Open Designer to create your Report with your temporary CSV text database:

  1. Connect your temporary CSV text database to your Report.

  2. Design your report using your CSV text data as variables for objects in in your Repeater Definition.

    Note

    Match your variable names with data names in your data filter to map your data correctly.

    UUID-b74cb9bf-193f-cd7f-f56b-8c692193929b.png

    Designing reports with your temporary CSV text database.

Creating data filters

Create a data filter in Automation to use in your report (Refer to your included example trigger for more information on creating XML filters):

UUID-2154bab4-7f0a-875c-a010-27cd26cd8e66.png

Configuring your XML data filter.

Tips for creating data filters for reports:

  • You can use Structure Import Wizard to import your data structure.

  • Name your elements in data blocks of repeatable elements.

  • Set your elements as assignment areas or set sub-items as variables.

Creating triggers for your new data filter

Note

For your trigger to work, your data source names in Designer must match the data block field names in your data filter.

  • Include a Use Data Filter action to apply your data filter.

    UUID-8adcac97-da66-9ffb-1594-5edbe6c3d92e.png
    • Enable Collect records for report to collect all records in a table Automation uses to open your report labels.

      Note

      Use the same data structure names in your reports, triggers, and filters.

  • Include a Print Label action.

    UUID-68fd3beb-a876-5fbd-d724-6dbb20f1651e.png
    • Enable All (unlimited quantity).

Run your trigger. Your report now automatically updates with new data and prints with your trigger.