Friday, June 5, 2020

How to create the RDL file for reports from the VS Code editor in Business Central ?

Hello Readers,

 

For creating the .rdl file for the report most of us are following different methods, but today I am going to explain how to generate the .rdl file directly from the VS Code editor application.

 

Let’s start 


First open the VS code editor

Open your extension folder and Navigate to the report file

In my project file there is no .rdl file for the opened report.

Before we generate the .rdl file, we should give the property “RDLCLayout” in the report.

So let’s mention the property and give the file path where it should create the .rdl file in the property.

After giving the property, click on the Ctrl + Shift + B

.rdl file is generated for the report

Now you can open the rdl file and you can start the designing the report.


Thanks

How to activate the Debugger in Business Central ?

"HOW TO ACTIVATE THE DEBUGGER IN BUSINESS CENTRAL ?"
Hello Readers,
Are you not aware of how to activate the debugger in the business central, no problem today will know by this blog how to activate the debugger.
Lets Start…
Before activating the debugger we should define the Web Client Base URL in the Business Central administration.
To configure the Web Client Base URL, open the Business central administration tool




Expand the Client Services Tab




Under the Client services tab you will have the option Web Client Base URL.
Now click on the edit the button and Place your web client URL in the Web Client Base URL option.




Note: My Web Client URL is “http://localhost:8080/BC160/”
After entering the URL save the changes and the restart the BC server instance.
we completed the configuration for activating the debugger.
Now lets go to the AL Project where you want to debug code ,Keep the break point in the code.




After keeping the break point in the code, click on the F5 button(Shortcut for debugging).
When you hit the F5 button, the extension will get published and the debugger will get started.




Thankyou.

How do I publish the Extension in the D365 Business Central (On Cloud)



Introduction
As we all of us know how to create the extension in VS code editor. Today we are going to learn how to publish in the Business Central on cloud, we can publish the extension in the Sandbox environment of Business central on cloud but not directly in the production company so now we will see how to deploy the extension in the production.

Once you are done with the development of extension please follow the below steps.
Steps to deploy the extension in the Production Environment
 Go to the “Extension Management” page.


Now click on the “Upload Extension”.




Click on the Assist edit and select the extension “.app file” from the AL extension package.

Select “deploy to” for the current. Select the language for the deployment.


Choose the Accept and click on Deploy button.

The extension will be deployed in the background process.

To check the status of the deployment, choose Deployment Status and then view the status of the extension deployment.  

It will open the deployment status page.


By clicking the Refresh but you will get the most recent status and details.



Once the Status is Completed go back to extension management list and click on the refresh button to see the new extension in the list of installed extension.