Monday, December 21, 2020

Multiple Variable Declarations of the Same Type in the Same Line

Hello Reader, 

Hope you all are doing well. 

Merry Christmas in Advance. 


In this blog, we will see how we can declare the same type of variable in a same line, using a comma to separate variable names

 

For Example:

I have declared 4 Integer type of variable as a global in AL Extension. 

Before Business Central 17 (2020 Wave 2).

 

In Business Central 17 (2020 Wave 2) 

you can define the variable together with the comma separator as below:

 

Thank you,

Anish Agrawal

NAV/Business Central Developer

Connect me on : +91-9770757595

Linkedin :Anish Agrawal



 

Tuesday, December 15, 2020

Business Central hidden feature of Drag & Drop

Hello Readers, 

Hope you all are doing well.

 

Today I came across a hidden feature in Business Central, i.e. File Drag & Drop. 

This does not work exactly like any other Add-ons but this is just a work around for a customer who demands for a drag & drop functionality. 

Lets see below how it works:

There is no such setup or configuration you need to do.

Navigate to any document attachment page or any page in which dialog window open's for choosing a file. 

In the below example I have taken of Custom Report Layout page. 


 

Select the Report ID for which you want to import the layout. (in my case I have selected 50001)



Now click on Import layout button and drag your file and drop it over the CHOOSE button. 


File will be imported directly, in the similar way you can also do for Document Attachment feature in Standard Business Central Pages.

 

 

Thank you,

Anish Agrawal

NAV/Business Central Developer

Connect me on : +91-9770757595

Linkedin :Anish Agrawal





 

 

 


Busines Central Developer

Mastering Financial Harmony: Bank Reconciliation with Copilot in Business Central

   Hello Readers, welcome to my blog! Fasten your virtual seatbelts and prepare to delve into the realm where code meets creativity. The fut...

Report Substituting