Skip to main content

Upgrade LAC 5.2.0.X to LAC 6.0.0.X - Knowledgebase / D365 FO Connector / D365 FO Connector Upgrade - Formpipe Support Portal

Upgrade LAC 5.2.0.X to LAC 6.0.0.X

Authors list

This article is designed to provide instructions on how to upgrade Lasernet 8 to Lasernet 9 or 10. This is often needed when changing from Lasernet Connector version 5.X.X.X to version 6.X.X.X. 

Before upgrading your Lasernet configuration, please ensure to create a backup.

Launch Lasernet

1. Launch your Lasernet 9 or 10 application.

2. Import your LAC 5.X.X.X configuration.

Export

We recommend you to export the following objects from your Lasernet 8 configuration, so you can later import them to your Lasernet 9/Lasernet 10 configuration. 

For users who have added a new XML transformer to their existing configuration, a Jobinfo Scanner will need to be included, as LAC version 6 runs the on XML transformer level.


To start the export process, follow these steps:

1. Click the File menu, and then click Export Objects….

2. Ensure the following options are selected.

3. Ensure the following options for printer are not selected:

4. Select all the storage connection elements to be exported, unless you want to manually add the information later and then click OK.


5.  In the Export Object(s) As dialog that appears, specify the directory to save the file as well as the file name, and then click Save.



Similar to the storage connections, you can export connections for the Azure Service Bus Queue or add the information manually.



Import

Once you have exported objects from your Lasernet 8 configuration and deployed the Lasernet default configuration for LAC 365F&O version 6.X.X.X, import the objects you have exported from Lasernet 8 to Lasernet 9./Lasernet 10 Follow the steps listed below:



1. In Lasernet 9/Lasernet 10, import the latest Lasernet configuration for LAC365FO version 6.#.#.#



While importing, remove 0.0.5 in 6.0.0.5 in the file name to ensure LNCONFIGX as a file extension.


2. On the File menu, click Import Objects….



3. In the Import Object(s) dialog that opens, select the file containing object you have exported from your Lasernet 8 configuration, and then click Open.



4. In the dialog displayed, select the Full check box to select all the objects, and then click OK.

While importing objects to Lasernet 9, do not replace a template as well as a blank form available in Lasernet 9 Demo Setup.



5. In the dialog displayed, select the Do this for any remaining conflicts check box, and then click Import and Replace object.



Changes to forms

Consider the following changes which are to be applied to each form after the upgrade. It is possible to copy the information from the template form in the demo setup of Lasernet 9/Lasernet 10 and add it then to the forms being upgraded.

Blank Form

In Lasernet 9/Lasernet 10,  the forms need to have criteria. In version 8 they don't. So if you brought your Blank Form to Lasernet - you need to add the Form Criteria: XPath=Report, Operator = exists.

Sheet modifiers for PDF and Print sheet

The attachDocumentToPrint() and attachDocumentToMail are removed. The Pre-Destination Selection module manages this part.


LASERNET 9 / NEW CONFIGURATION

LASERNET 9 / OLD CONFIGURATION


In addition, add both PrinterName and PrinterDriver related to the printer profile.



Print Sheet Options

On the Criteria tab, change criteria, and on the Destinations tab, remove the destination as it is illustrated below.


LASERNET 9 / NEW CONFIGURATION

LASERNET 9 / OLD CONFIGURATION


PDF Sheet Options

On the Criteria tab, remove available criteria, and on the Destinations tab, remove the destination as it is illustrated below.


LASERNET 9 / NEW CONFIGURATION

LASERNET 9 / OLD CONFIGURATION


In Lasernet 9/Lasernet 10, the destination for both Print and PDF sheets is defined in the Form module.


Helpful Unhelpful

1 of 1 people found this page helpful

Share