AX 2012 - Development workspace
Development workspace is a work area to developer for customize the forms, reports and menus. Development workspace contains AOT, Label editor and developer related tools. MorphX is a AX 2012 developer IDE and it works in development workspace. Development workspace only works if you installed the developer licenses otherwise the option should be disabled. We can work with maximum eight workspace. It may be development workspace or application workspace or both (For example: 3 development workspace and 5 application workspace). Application workspace is a user interface for end user. Developer customization works will be displayed in the application workspace.Open the development workspace
Method 1:
Default, when you open the AX 2012 the application workspace will be displayed. But, the developer needs to open the development workspace first instead of application workspace. So, we can add -development parameter in the target path like below.
Right click on the AX 2012 shortcut icon and change add the -development in the target path like "C:\Program Files\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe" -development
Method 2:
Click the windows menu on the top right in the application workspace and click the Development workspace menu or simply use the shortcut Ctrl+Shift+W for development workspace Ctrl+W for application workspace.
Method 3:
We can open the development workspace by using x++ code like below. For example we can add button in forms to open the development workspace by clicking this button.
static void OpenDevWorkspace(Args _args) { int hWorkspace; hWorkspace = infolog.createDevelopmentWorkspaceWindow(); }
infolog class is used to retrieves the workspace information like license code, open the development workspace, open the application workspace, shutdown the client, read the AOT elements, etc..
Thanks,
Hari
No comments :
Post a Comment