Modern UI Development: Switching of a Form Between the Modern UI and the Classic UI

MYOB Acumatica provides a number of ways that you can switch an MYOB Acumatica form that is using the Modern UI to the Classic UI or vice versa.

Before you use any of the methods described in the following sections, you need to add the <add key="EnableSiteMapSwitchUI" value="True" /> key (if it has not already been added) in the appSettings section of the Web.config file of your MYOB Acumatica instance.

Tip:
If you have selected the Enable Modern UI check box while deploying your instance by using the MYOB Acumatica ERP Configuration Wizard, the system has automatically added the <add key="EnableSiteMapSwitchUI" value="True" /> key to the Web.config file of your instance.

Using the Menu on the Form Title Bar to Switch the UI

While you are on the Classic UI of a form, you can click Tools > Switch to Modern UI on the form title bar, as shown in the following screenshot to switch to the Modern UI of the form.



While you are on the Modern UI of a form, you can click Settings > Switch to Classic UI on the form title bar, as shown in the following screenshot, to switch to the Classic UI of the form.



Attention:
The Switch to Modern UI command is available only for the forms that have been migrated to the Modern UI.

Switching the UI on the Site Map Form

To display a form in the Modern UI or the Classic UI for all users of the instance, you can select Modern or Classic in the UI column of the Site Map (SM200520) form for the row that corresponds to the form, as shown in the following screenshot.



The Site Map (SM200520) form also has the Switch to Modern UI and the Switch to Classic UI buttons on the form toolbar. By using either button, you can switch the default view of the UI for all forms with a single click. You click the Switch to Modern UI button to switch the UI to the Modern UI for all the forms that are already available in the Modern UI, except for the Site Map (SM200520) form. You click the Switch to Classic UI button to switch all the forms to the Classic UI.