- Print
- PDF
Changing the structure of the Output (XML file) could also require adjustments to the design in Lasernet, such as in relation to the patterns (details) and rearranges that are used.
Lasernet FO Connector contains a feature that automatically converts the Lasernet design (patterns and rearranges). This can happen when changing the Layout from Maximum to Minimum which can optimize performance but which would require adjustments to the Lasernet design.
Ensure a backup is made of both the report definition (Query) in Lasernet FO Connector and Lasernet design, in case the conversion is not working as expected.
Converting from Maximum to Medium, Maximum to Minimum, and from Medium to Minimum are currently supported, but this will be extended in future releases.
Example
Follow these steps when changing output (XML file) from Maximum to Minimum:
Ensure Update design is enabled. To do so, navigate to Lasernet > Setup > Parameters > Performance > TOOLS > Update design.

Make an export of the report definition (Query) in Lasernet FO Connector and the Form in Lasernet (it is possible to Export multiple forms from Lasernet and import them into Lasernet FO Connector).

Change the Layout for the report from Maximum to Minimum within the Query wizard. (SalesConfirmReplacement is used as an example).

Run the report to identify patterns and rearranges that are not working as expected.

Import the Lasernet design into Lasernet FO Connector (Lasernet > Reports > Update design).


Select the required Form within the field Form in file (required in case the file contains multiple designs).

Click OK to prepare a new Form which will get imported into Lasernet.
(This new Form/File contains the new patterns and re-arranges required for Lasernet Developer).

Import the file created in Lasernet FO Connector into Lasernet Developer (Design).


Use the option Import, keep both and rename existing object to ensure the existing form is saved as a Backup.
Click Deploy and then Patch.

Rerun the report and ensure the proper output is shown.