Client Management

Coding Features

&

Smart

Client Management

CodeGenius Studio efficiently manages Dynamics NAV clients and configurations. Initially, it selects all client executables on the user's machine, with an option to scan the machine. Should multiple instances of a single version be present, CodeGenius Studio intelligently recognizes and utilizes them, eliminating the need to locate the client for configuration.


In defining a configuration, one selects a version from the configured Dynamics NAV clients. CodeGenius Studio then chooses the appropriate executables for the configuration. Upon activating a configuration, it verifies the availability of a client executable and launches the client, thereby preventing error messages that typically arise when attempting to connect to two local databases with a specific executable (a feature intended for local C/Side databases). It will seamlessly transition to an alternate client, if one is available, and initiate it. Should no additional clients be available, CodeGenius Studio will present a prompt for the user to take further action.


An additional notable feature is CodeGenius Studio's ability to automatically log into Dynamics NAV, bypassing Windows authentication. By entering the username and password into the configuration, CodeGenius Studio will autofill these credentials in the login window upon startup, greatly simplifying the process.


CodeGenius Studio is the intelligent choice for client management.

Dynamics NAV Configuration
Third Party Tools

Third Party

Tools

As a Dynamics NAV developer, your toolkit is not confined to the default options. CodeGenius Studio expands your capabilities by allowing the integration of third-party tools. 


To incorporate these tools, add them during the configuration of the CodeGenius Studio menu. They will then be available directly from the CodeGenius Studio popup in the Windows Tray. You can launch your selected tool from this menu or assign a hotkey to start it automatically.


This feature enables users to customize their toolset and Dynamics NAV configurations, effectively transforming CodeGenius Studio into a centralized platform within the Microsoft Dynamics NAV ecosystem.

Code Templates

Code Smart

&

Code Templates, also known as Code Snippets, simplify the coding process. Many Integrated Development Environments (IDEs) offer this feature. They are particularly useful for repetitive code segments; by applying a template, CodeGenius Studio will automatically insert the generic code portions. As a developer, your role is to provide the necessary variables, if any.


Below are some examples:

IF SalesLine.FINDSET THEN
REPEAT
... Your custom code ...
UNTIL SalesLine.NEXT = 0;

CurrForm.UPDATE;

FILTERGROUP(0);

Essentially, any piece of code can serve as a template. The basic criterion is that you frequently reuse code that might vary slightly.


For instance, you won't always write a FINDSET loop for the Sales Line table. You'd need the flexibility to choose which table to iterate over. By creating your own tags, CodeGenius Studio becomes an invaluable tool for inserting repetitive code. With a predefined hotkey, the tags you've set up prompt you for input, and upon providing the necessary information, CodeGenius Studio will automatically insert the code for you.

Code Templates
Code Smart

Before the introduction of Dynamics NAV 2015 and its new code editing features, there was no assistance for code completion. However, since version 6, CodeGenius Studio has offered CodeSmart, a feature that enables code completion within the code editor. With the advent of the new code editing features, including intellisense, CodeSmart can be disabled when working in the latest versions of Dynamics NAV.


CodeSmart, the code completion tool in CodeGenius Studio, identifies its position in the code editor to provide accurate and reliable suggestions. It is also fully customizable, making it a valuable tool for Dynamics NAV development.


The ability to integrate templates into CodeSmart enhances the coding experience significantly. Developers appreciate the hotkey method in CodeGenius Studio, while others enjoy the flexibility to extend and integrate with CodeSmart. CodeGenius Studio facilitates all these features.


The CodeSmart window integrates seamlessly with the Dynamics NAV code editor. Hovering the mouse over the suggested options displays the syntax of the method or a custom tooltip from your template, enhancing usability by providing immediate help right under your cursor. Moreover, you can tailor everything to your preferences.


It's that simple.