Imparted from Here
In Microsoft Dynamics AX 2012, by default, the client opens in an Application Workspace. As a developer, you may prefer to open the Microsoft Dynamics AX client directly into a Development Workspace.
Note
To open a Development Workspace, a developer license key is required, and the installation checklist must be completed. No more than eight workspaces per client can be opened at the same time.
This topic describes:
-
How to open a Development Workspace from the Application Workspace.
-
Three methods to directly start the client in a Development Workspace.
-
A code example to open a Development Workspace using X++.
To open a Development Workspace from the Application Workspace
-
Click Windows > New Development Workspace. A Development Workspace opens in a new window.
Tip
You can also press CTRL+Shift+W to open a Development Workspace.
To open a Development Workspace by configuration
-
Click Start > All Programs > Administrative Tools > Microsoft Dynamics AX 2012 Configuration. The Microsoft Dynamics AX Configuration Utility window opens.
-
On the General tab, click Manage, and then click Create configuration.
-
On the Create Configuration form, enter a name for the configuration in the Configuration name field, and then click OK. The Create Configuration form closes and you return to the Microsoft Dynamics AX Configuration Utility window.
-
On the General tab, in the Command to run at application startup field, enter -development, and then click OK to save the new configuration. The settings will apply the next time you open the Microsoft Dynamics AX client.
To open a Development Workspace using the command line
-
On the taskbar, click Start, and then click Run.
-
In the Open field, enter cmd, and then click OK.
-
At the command prompt, type the following: "C:\Program Files\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe" -development
To create a shortcut to open a Development Workspace
-
In Windows Explorer, right-click the Ax32.exe file in your Microsoft Dynamics AX 2012 client installation, and then click Create Shortcut. By default, this file is located in the C:\Program Files\Microsoft Dynamics AX\60\Client\Bin directory. A new shortcut named Shortcut to Ax32.exe is created.
-
Right-click Shortcut to Ax32.exe, and then click Properties. The Shortcut to Ax32.exe Properties window opens.
-
On the Shortcut tab, in the Target field, enter -development after the path to the Ax32.exe file. The Target field should resemble "C:\Program Files\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe" -development.
-
Click OK to save the shortcut. You can move and rename the shortcut as needed.
Example
You can also open a Development Workspace directly from X++ code. For example, you can add a customized button in the Application Workspace to open a Development Workspace. The following X++ code can be used to open a Development Workspace.
static void OpenDevWorkspace(Args _args)
{ int hWorkspace; hWorkspace = infolog.createDevelopmentWorkspaceWindow();
}
No comments:
Post a Comment