--- title: "CE Connection Forms Script Error - Lasernet CE Connector" slug: "ce-connection-forms-script-error" description: "Due to a change in the way that Microsoft ® manages the forms in CE, there will be some errors in the setup forms for the CE Connector." tags: ["Forms", "Lasernet CE Connector", "Customer Engagement", "Scripts", "Error message"] updated: 2026-05-12T13:12:29Z published: 2026-05-12T13:12:29Z canonical: "kb.lasernetgroup.com/ce-connection-forms-script-error" --- > ## 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. # CE Connection Forms Script Error Due to a change in the way that Microsoft manages the forms in CE, errors may occur while setting up forms in Lasernet CE Connector. When opening the following forms - Lasernet flyout/group - Lasernet group/HTTP Method - Lasernet group/OData Dialog - Lasernet group/OData Direct Submit - Lasernet group/Open URL you may see the following error message: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-N26JMIQO.png) This is due to the way the form is managing the default value for “order”. To fix this error, you must deploy a solution that updates the logic. > [!NOTE] > Note > > Before undertaking the solution to this error, users must create, modify, and deploy a new CE solution. If this is not something that you are comfortable with, refer the task to your CE system admin. ### Create a Solution Containing the Modifications 1. Navigate to **Settings** and select **Advanced Settings** from the dropdown menu. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (16)(3).png) 1. On the **Settings** page, under **Customization**, select **Solutions**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (17)(3).png) 1. On the **All Solutions** page, click **New** to create a new solution. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (18)(3).png) 1. Add values to the following fields: - **Display Name** and **Name**: Give the solution a sensible name and display name - these can be the same. - **Publisher**: Select the appropriate publisher (we have used the default publisher for the organization). - **Version**: Set version as ‘1’. The **Configuration Page** field can be left blank. 1. Click **Save**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (19)(3).png) ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (20)(2).png) ### Add the Entities 1. Within the newly created solution, navigate to **Components** > **Entities** and then click **Add Existing**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (21)(2).png) 1. Add the following entities from the list: - Lasernet flyout/group - Lasernet group/HTTP Method - Lasernet group/OData Dialog - Lasernet group/OData Direct Submit - Lasernet group/Open URL ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (22)(2).png) You can multi-select entities in the list; the entries in the screenshot above are examples only. 1. Once the entries from step 2 have been added, click **OK**. 2. Clear the **Include entity metadata** checkbox and select **Main** from the **Form Type** column for each selected entity. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (23)(2).png) 1. Click **Next** and then **Finish** once the last entity has been configured. 2. Select **No, do not include required components**. Your solution will now look like this: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (24)(2).png) ### Change the Value on the Form 1. Open the **Main** form for the entity. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (25)(2).png) 1. Click **Form Properties** in the ribbon. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (26)(2).png) 1. Within **Event Handlers**, click **Edit** for the `Formpipe.Lasernet.DefaultValues.setDefaultValues` function. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (27)(2).png) 1. Change **"lac_order", “1”** to **"lac_order", 1**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (28)(2).png) 1. Click **OK** > **OK** and then **Save and Close**. ### Publish 1. Click **Save** and then select **Publish** in the ribbon. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (29)(2).png) 1. Repeat for each form mentioned in this article: - Lasernet flyout/group - Lasernet group/HTTP Method - Lasernet group/OData Dialog - Lasernet group/OData Direct Submit - Lasernet group/Open URL