Skip to main content

Test output of forms

You can test output of forms created in SVF Cloud Designer to a PDF file and check the output result. Points are not consumed.

Testing output generates output result by inserting test data into each field in the form layout. You can choose the data to insert the field from the following:

  • Dummy data

    Data automatically generated by SVF Cloud.

    One record of data is inserted into.

    testPrint_dummyData.png
  • Test data

    Import the test data (CSV file) created by the user.

    Create test data by referring to "Test data format".

    testPrint_CSV.png
Example 1. Before starting work


  1. Log in to SVF Cloud Manager.

  2. Click icon_menu_resource.png Resource to open the resource management screen.

  3. Select a form layout (with extension "xml") and click icon_subMenu_resource.png - Run PDF Test Output.

    resource_file_subMenu_testPrint.png
  4. Specify the data type to flow into the form layout.

    If you select Use Test Data, select a file for test data from Browse.

    resource_testPrint_dataFile.png
  5. Click the Output PDF button to display a PDF file.

    If the output fails, the error log can be downloaded from the Dashboard screen. For details on how to use the Dashboard screen, see "Check the output history of forms".Check the output history of forms

This completes testing output of the form.

Test data format

Create test data according to the following format. Note that repeated fields in records are not supported.

The upper limit of the number of rows in the CSV file is 10, and the upper limit of the file size is 100 KB.

  • Use a comma (,) as a delimiter.

  • Use line feeds to separate rows.

  • In the first row, specify the field name.

    You do not need to specify the fields into which you do not feed data. The order of the fields is arbitrary.

  • Specify data to be fed to the second and subsequent lines.

    When you specify data from multiple records, the data will be fed in order from the top. (Sorting by the key ID that has been set in SVF Cloud Designer will not be performed.)

  • Save the file in "UTF-8" encoding.

  • If you use commas (,) or double quotation marks (") within the data, enclose the data in double quotation marks (") and specify the data as follows.

    Symbol to output

    Example

    Output result

    Description

    Comma (,)

    "Remarks,1"

    Remarks,1

    The comma (,) in the data is treated as a character.

    Double quotation mark (")

    "Remarks""2"

    Remarks"2

    Add another double quotation mark (") consecutively to the double quotation mark (") in the data.

Example 2. Example of CSV file
Code,Product,QTY,UnitPrice

1,100 Percent Orange Juice,2,200g

2,100 Percent Grape Juice,2,200g
3,Mild Coffee,2,195g