Skip to main content

Posts

Showing posts from October, 2020

The Txt2Al Conversion Tool: How to Export Dynamics NAV objects (.txt) and converting to AL

Hi folks, In this article, I will show you how you can use Txt2Al conversion tool that is the part of NAV 2018 and Dynamics 365 Business Central On-Premise. Using this Txt2Al conversion tool you can take existing Dynamics NAV objects that have been exported in .txt format and convert them into the new .al format and use these .al format file directly using Visual Studio Code to develop/build extensions for Dynamics 365 Business Central. Converting the NAV objects consists of following 2 steps: 1. Exporting the objects from C/SIDE [Either from Development Environment or using PowerShell Command] 2. Converting the objects to the new syntax. You can find Txt2Al tool in following location if you installed Dynamics 365 Business Central On-Premise on your machine: C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client \Txt2Al.exe Steps to use the Txt2Al conversion tool:  Reference Step 1:  Compile your Dynamics NAV DB Step 2:  Export all baseline objects sue f

OTP Authentication in Microsoft Dynamics NAV using C/AL

  OTP  is a "One-Time Password" which is randomly generated and sent to your registered mobile  number  or email address for validation of your transaction.  In MS Dynamics NAV, OTP  authentication can add an extra layer of security to our Environments. This is basically also known as two-factor authentications. In this scenerio, we will see how we can use OTP functionality in NAV and i am using Nexmo here to implement it. Step-1 Firstly, Create a new account on Nexmo or you may use any other SMS service provider to get the API and their Secret Key.Here i have created a  free account for Testing Purpose using this Url - https://nexmo.com/   Once you have created an account, you will get your API credentials in the dashboard. Use the "API Settings" link to the right near the top of the screen to reveal the API key & its secret. Step-2 Now, we need to create a new page and declare a global variable named " InputOTP " then set that variable as a field. G