Using Old C/AL Editor in NAV 2016

New C/AL Editor in NAV 2016 is really fine. I think we were waiting it for the years. I’ve already posted about it here.

But if you want to use old C/AL Editor from any reason, it is a possible. I don’t know reasons for it, but if you want…

You need to run Development Environment from Command Prompt using finsql.exe command and adding useoldeditor parameter. First you have to navigate to your C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client folder and then run this command. This useoldeditor parameter is one of the parameters you can use. Complete syntax is following:

finsql.exe [command=<command> | designobject=<object type> <object ID>,] [servername=<server>,] [database=<database>,] [collationname=<collation>,] [file=<file>,] [filter=<filter>], [importaction=<default|overwrite|skip|0|1|2>,] [langid=<ID>,] [logfile=<logfile>,] [navservername=<name>,] [navserverinstance=<instance>,] [navservermanagementport=<port>,] [ntauthentication=<yes|no|0|1>,] [objectcache=<cache>,] [password=<password>,] [temppath=<path>,] [tenant=<tenant ID>,] [username=<user name>,] [synchronizeschemachanges=<yes|no|force>, ] [useoldeditor=<yes|no>]

You just need to set useoldeditor=Yes or only useoldeditor. If you still want to use new editor from command prompt, you need to set useoldeditor=No.

Advertisement

New C/AL Editor in NAV 2016

Microsoft Dynamics NAV 2016 has finally introduced a new code editor as we used for the years on other platforms. But this time, Microsoft did a really good work. Now, it is really good editor with a lot of new features, people always ask.

When we compare old and new editor, there are a lot of differences on the first sight.

CALs

On the first sight, we can see different showed Triggers. If we try to type some command, variable, constant, function…, we will see that we have autocompleting tool which help us in typing. Then we can see we have line numbers as well and proper syntax highlighting for comments, strings… We can also use very nice syntax tooltip and we have “Undo” function. You can also get very useful information when you put your mouse over…

CAL1

These are not all improvements, but some of the most interesting. Run you C/AL editor in NAV 2016 and try. Great news in NAV 2016 and really good job.