Showing posts with label tool. Show all posts
Showing posts with label tool. Show all posts

Tuesday, April 19, 2011

Development environment in AX 2012

It wasn't easy to decide from what to start. There are so many new features and they are so important and interesting! However, there is one feature that every AX 2012 developer will use for sure.

In AX 2012 the new development environment was introduced (click on the picture to enlarge).




Now IDE is separated from the application. That means more space because of missing navigation pane, no interfering content pane that can be removed only using some tricks and the development-specific main menu.

You can also notice the beautiful visual studio-like code editor and compiler output window.

Development tools are now much more accessible. Version control parameters, for example, do not require navigating 3-levels deep menu.

Development workspace can be started by typing
ax32 - development
from command line, or by
Ctrl+Shift+W
combination from the application or another development workspace.

Tuesday, March 30, 2010

SysSpellChecker

There is a class in AX that allows to perform spell checking. This class uses Microsoft Word spell checker to do the validation. So, in order to use it, Microsoft Word should be installed together with proofing language pack. Because of this requirement it is also important to consider where to run spell checking - on the server or on the client.

Example:
public static server void spellCheckerTest()
{
    SysSpellChecker sp = SysSpellChecker::newLanguageId('en-us');
    ;

    info(strfmt('%1', sp.checkSpelling("behavior")));
    info(strfmt('%1', sp.checkSpelling("behaviour")));
}


The output in infolog will be:
1
0

Upd: I've received a link to the interesting post where there is more information about AX spell checker - http://sangi1983.spaces.live.com/blog/cns!264A0056CBCBB1D3!404.entry?wa=wsignin1.0&sa=93421708

Monday, March 22, 2010

Wizard wizard

There is a tool in AX that allows automatically generate code for new AX wizards. This tool is accessible from the Main menu\Tools\Development tools\Wizards\Wizard Wizard. By using this tool a new project with a wizard form, controlling class and a menu item will be generated. There will be also several methods created on the controlling class and on the form. Actually, the code generated by the tool is a good start for implementing a new wizard.