Cumulative Update includes all application and platform hotfixes and regulatory features that have been released for Microsoft Dynamics Business Central
MS Dynamics Business Central 2020 Wave 1 (BC16) :- CU 16.5
MS Dynamics 365 Business Central 2019 Release Wave 2(15.10) :- CU 15.10
Few days back one of my customer ask me can you display text in bulleted format on page.
Today I will show how I achieved this with very simple way.
Created one page as follows with one field to display instruction in multiline format
On the field set the multiline property to true.
To display to instruction on bullet format created instruction variable as follows
If we concatenate the instruction then it will display in single line so we need to break the line .To break the line used following code unit Type helper.
Cumulative Update includes all application and platform hotfixes and regulatory features that have been released for Microsoft Dynamics Business Central
MS Dynamics Business Central 2020 Wave 1 (BC16) :- CU 16.4
MS Dynamics 365 Business Central 2019 Release Wave 2(15.9) :- CU 15.9
Looking at the subject there are lot of blogs available but I am writing this based on one of the request from my colleague.
Everybody aware of that whenever you developed an app it need to be extensible and if anybody would like to add or modify any field or additional routing we need to have events which can extend the base functionality.
Step 1 :- Simple Quick action to add event in Business Central
Next step will be we can subscribe the event and add you own code.
It is so simple to add custom event in AL and allow other to extend your functionality.
This blog post I am writing based on request of one of the follower.
Even though notification is not new business central world but today we will see how we will write custom notification and get notified for certain validations.
To create notifications I added following simple scenario that when my page get opened it should show some notification.
Lets see how we can do this.
To generate this notification I have used customer list page and subscribe on OnOpenPageEvent to execute my notification.
In this notification whenever page will get open it will show notification and whenever user click on Contact Us it will redirect to my blog.
Once this piece of code is published and as soon as customer list page opens you will see the result of notification as below
Recently I encounter this issue as one of the customer would like to set up Gmail as service provided for SMTP mail in business central.
So I started the regular way how we started setting up SMTP and encounter the following issue.
Initial Setup :-
Did the initial setup with required details and while key in I key in the regular password which used while signing in Gmail.
When I click to Test Email setup and encounter the following error.
Now question is how get over this issue as it is something like you have entered some wrong password and you are getting this issue. After investing some hours I found the crucks for this issue as we need to generate App Password
This issue is encounter because of the Gmail security which required to authenticate the app which is going to use Gmail id.
To do this we need to do following
Sign in your Gmail account which you are using in business central.
Click on Manage your google account
Go to Security.
4. Click on App Passwords to generate the app password (Need to enable 2-Step Verification first).
5. Select the required App and Device as below
6. Click on Generate to generate the App Password and you will get as follows
Now go back to business central SMTP Setup and key in this App password instead of regular passwords.
Now again test the email setup and you will happy to see this message and email.
With the different code actions it is very easy to convert your long code into procedures. Just a small tip to convert to your long code into smaller procedures.