Converting the AB Suite Model

You can convert an existing AB Suite Standard mode model to an AB Suite User Experience mode model or an AB Suite Advanced mode model by using the Converter.

An AB Suite project associated to an AB Suite User Experience mode model generates a Client Framework application.

Converting the AB Suite Standard mode model to an AB Suite User Experience mode model creates the following:

To convert an existing AB Suite model to an AB Suite Advanced mode model or an AB Suite User Experience mode model, perform the following:

  1. On the File menu, point to New, and then click Project.

    The New Project dialog box appears.

  2. In the Project Types pane, expand Agile Business Suite, and then click Applications.

  3. In the Templates pane, select Convert An Existing Model.

    Note: Select .NET Framework 4.8 from the Target Framework list. You can find the Target Framework list on top of the Templates pane.

  4. From the start window, select Create a new project.

    Alternatively, if the Visual Studio is already open, click the File menu, point to New, and then click Project. The Create a new project window appears.

  5. In the Name box, enter the project name.

  6. In the Location box, enter the path or browse to the location where you want to store the new project.

  7. Click OK.

    The New Application Wizard appears.

  8. From the Server Name list, select the SQL server.

  9. From the Database Name list, select the database name of the AB Suite model that you want to convert to an AB Suite User Experience mode model.

    The model name appears in the Model Name box.

  10. Select Advanced mode to convert the existing AB Suite Standard mode model to an AB Suite Advanced mode model. Select User Experience mode to convert the existing Standard mode model or an existing Advanced mode model to an AB Suite User Experience mode model.

  11. Click Next to create a new database for the AB Suite Advanced mode model or the AB Suite User Experience mode model.

    Note: An error appears if you try to convert an AB Suite application with an MCP configuration to an User Experience mode model, as these models do not support MCP.

  12. From the Server Name list, select the SQL server.

  13. In the Database Name box, enter the database name. By default, this field displays the database name of the AB Suite model.

  14. If you have selected the User Experience mode check box, click Next to specify the technology to which you want to convert the AB Suite model. If you have selected the Advanced mode check box, skip to step 17.

  15. Click Next to specify the technology to which you want to convert the AB Suite model.

  16. From the Technology list, select a technology of your choice. You can select more than one technology if you want to convert the AB Suite model to more than one technology in the User Experience mode model.

    Note: By default, the WPF and Metadata technology is selected. The Metadata technology must be selected to create an ASP.NET MVC or Web API projects.

  17. In the Folder Name field, enter a folder name for the specified technology.

  18. From the Configuration Name list, select a configuration for the technology folder.

  19. Click Next.

    The project creation confirmation page appears.

  20. Click Finish.

Note: When the AB Suite model is converted to an AB Suite User Experience mode model, a log file appears displaying the conversion details.

The Visual Studio development environment starts and displays the project files for the newly created AB Suite User Experience mode model.

You can check if the AB Suite model is converted to an AB Suite User Experience mode model by verifying the following:

In the Class View window of the User Experience mode project, verify if

In the Solution Explorer window of the AB Suite project associated with User Experience mode model, verify if

You can now run the converted Client Framework application by performing the following:

  1. Configure the properties of the model and the deployment folder.

    Refer to Debugger Configuration Properties and Configuration for more information on configuring the properties of the model and the deployment folder.

  2. Build the WPF Client technology projects (DataModels, DataViewModels, and Views projects) from the Solution Explorer window if you want to update the individual project files.

  3. Right-click the deployment folder, and then select Build from the context menu that appears.

    The <TechnologyFolderName>_Config.rtxml file is generated in the location where you have saved the project:

    For example, C:\Users\<UserName>\Documents\Visual Studio 2017\Projects\<TechnologyFolderName>\Access Layer API Deploy\WpfClient_Config.rtxml

  4. Double-click the <TechnologyFolderName>_Config.rtxml file, if you have associated the “rtxml” extension with the WPFClient executable. Otherwise, set up a shortcut for the WPF Client with the configuration file as a command line option.

    Refer to Using the WPF Client Container for Windows Platform for more information on executing the WPF Client application.

    The WPF Client Container displays the user interface by using the generated XAML Views that is converted from the forms in the original AB Suite model.

Perform a few transactions in the WPF Client Container to test if the user interfaces in the converted User Experience model work similar to the forms in AB Suite Standard mode model at runtime.

If changes are made to the AB Suite model, you can use the Synchronize Project… option in the File menu to update the AB Suite User Experience model with the changes made to the AB Suite model.

Refer to Developing AB Suite Applications in Mixed Mode for more information on updating the converted model with the changes made to the AB Suite model.