After you have run the form transformation tool, you must import the Pages.xml file into Object Designer. Pages.xml contains all the metadata required to display your transformed forms as pages in the RoleTailored client. You must also compile all of the new page objects so they are compatible with the .NET Framework and the Microsoft Dynamics NAV architecture. After you import and compile the transformed pages, the Microsoft Dynamics NAV database contains both your original Classic client forms and your new page objects. You can run the RoleTailored client and view the transformed pages.

Before you begin this procedure, you must successfully run the form transformation tool. For more information, see How to: Run the Form Transformation Tool.

To import, compile, and deploy transformed pages

  1. In the Classic client, click Tools, and then click Object Designer.

  2. Click the File menu, and then select Import.

  3. In the Import Objects window, in the Files of type drop-down list, select XML Format (*.xml), browse to the folder where the Pages.xml file is located, select Pages.xml, and then click Open.

    NoteNote

    By default, the Pages.xml file, which was created when you ran the form transformation tool, is located in the same folder as the Microsoft.Dynamics.Nav.Tools.FormTransformation.exe file and the transformation input files. If you changed the name or the location of the output .xml file in the Microsoft.Dynamics.Nav.Tools.FormTransformation.exe.config file, select the name of the file that you specified.

  4. In Object Designer, click Page, and then select all the pages that you imported.

  5. From the Tools menu, select Compile, and then click Yes.

  6. Run the transformed pages in the RoleTailored client. For more information, see How to: Run a Page.