--- title: "CSV Output - Lasernet Form Editor 9 - XHTML, CSV, EDI, XML, JSON, PDF" slug: "csv-output-lasernet-form-editor-training" description: "An output can be created in the CSV format. In this exercise, you are proposed to create a structure of the output in the CSV format." tags: ["CSV", "Form Editor", "Lasernet 9 "] updated: 2026-03-06T07:39:20Z published: 2026-03-06T07:39:20Z canonical: "kb.lasernetgroup.com/csv-output-lasernet-form-editor-training" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # CSV Output **Applies to:** Lasernet 9 An output can be created in the CSV format. The Form Engine retrieves data from the input grab file, processes it, maps it to fields in the output, and automatically converts the result to CSV. In this exercise, you are proposed to create a structure of the output in the CSV format. > [!NOTE] > Note > > This article describes a software version that is no longer supported. Although the software will no longer receive updates or technical support, existing documentation, such as this article, will be retained for reference purposes but will no longer be updated. If you have any questions, contact [Lasernet Support](https://support.lasernetgroup.com/new-ticket). ## Exercise Download and import the attached configuration called **03. CSV Output in Lasernet Developer 9**. Afterward, navigate to the **Forms** section and open the **Sample** form. 1. In the output, switch to the **Template** tab. 2. Add fields to the template. To this end, click the **Add** button. 3. In the **Field** dialog displayed, fill in fields as it is shown in the following image. Once you are done, click **OK**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471462044.png) By clicking the **Add** button, add more fields with properties as shown in the following image: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471459839.png) 1. Switch to the **XML** tab to make adding patterns and rearranges to the input possible. 2. In the input, add a pattern to the **** element by using the **Pattern** tool available on the Developer toolbar. As a result, the pattern is added to each **** element available in the input. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471462867.png) 1. Afterward, use the **Rearrange** tool available on the Developer toolbar to add rearranges to the following elements under the **** one: - **** - **** - **** - **** - **** As you can see, rearranges are added under each **** element available in the input. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471461629.png) 1. Edit a format for the rearrange added to the **** element. To this end, double-click the rearrange. 2. In the **Edit XML Rearrange** dialog displayed, switch to the **Formats** tab. 3. From the **Format category** drop-down box, select **Number**. Once you are done, click **Ok**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471462357.png) 1. Edit a format for the rearrange added to the **** and **** elements. To this end, double-click each of them. 2. In the **Edit XML Rearrange** dialog displayed, switch to the **Formats** tab. 3. From the **Format category** drop-down box, select **Number**. 4. Switch to the **Output format** tab, and then select the **Override sheet output** format checkbox. 5. Click the **Add** button. 6. In the dialog displayed, select **XML Format** from the **Regional profile** drop-down box, and then click **Ok**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471463567.png) Once you are done, click **Ok** in the **Edit XML Rearrange** dialog to confirm changes. 1. In the output, right-click the **** node, and then click **Expand All** on the context menu that appears. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471461092.png) It is the right time to connect the pattern and rearranges you have added to the input with elements in the output. To this end, follow the steps listed below. 1. In the input, double-click the pattern. 2. In the **Pattern Properties** dialog displayed, switch to the **Output** tab. 3. Select the **ItemLine** checkbox. Once you are done, click **OK**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471463006.png) Otherwise, you can drag the pattern (**Body_CustInvoiceTrans**) from the input to the **** element in the output. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471462204.png) 1. In the input, double-click the first rearrange (**ItemID**). 2. In the **Edit XML Rearrange** dialog displayed, switch to the **XML** tab. 3. Select the **ItemID** checkbox. Once you are done, click **Ok**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471462530.png) Otherwise, you can drag the rearrange(**ItemID**) from the input to the **** element in the output. Afterwards, connect the rest of rearranges, one by one, in a sequence they are available in the input using any of the described options. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471462705.png) 1. You can now preview how your final document looks. To this end, click the **Preview** button on the toolbar. As a result, the final document opens in a separate window. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471461811.png) You are now proposed to change the sheet options settings and see the difference of how the data is presented in the final document. To this end, follow these steps: 1. On the **Sheet** menu, click **Sheet Options**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471460346.png) 1. In the **Sheet Options** dialog displayed, switch to the **CSV** tab. 2. Select a comma as a field separator. Once you are done, click **Ok**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471460148.png) 1. To preview changes, click the **Preview** button on the toolbar. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1627471461292.png) ## Attachments - [03.-CSV-Output.lnconfigx](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/03.-CSV-Output.lnconfigx)