Dynamics Business Central / NAV Developer Digest - Vol. 461
ArcherPoint’s Developer Digest focuses on Microsoft Dynamics 365 Business Central and Dynamics NAV development. This week’s volume includes using the new PromptDialog page type, reporting bugs in BC on Git Hub, and a Developer Tip of the Day: Event Subscriptions.
The Dynamics 365 Business Central community comprises professionals devoted to advancing the success of their customers. Developers, project managers, and consultants collaborate to share helpful information across blogs, forums, and social media sites. From discovering new solutions to finding answers to complex issues, these dedicated individuals are constantly sharing their knowledge with others. At ArcherPoint, we recognize and appreciate this highly engaged community’s creativity, hard work, and collective intelligence. To ensure all users can benefit from their expertise, we want to share their wealth of information with everyone.
Using the new PromptDialog page type
Mahesh U shared a blog by Bert Verbeek on the new PromptDialog page type. PromptDialog lets developers define a prompt that accepts user input, sends that input in a request to CoPilot, and then receives and acts on Copilot’s response.
Verbeek provides an example where the user sees a list of open and closed invoices. By choosing an open invoice, CoPilot will review the customer’s payment history and anticipate the likely date that this customer will pay the invoice.
This is a simple but effective example of how integrating AI into Business Central can help partners make their customers’ jobs easier.
Read Verbeek’s blog, Business Central, Copilot and the new PromptDialog.
Read Microsoft’s release notes on the PromptDialog page type, Easily integrate generative AI with your AL solutions.
Reporting bugs in BC on Git Hub
Yann Saint-Laurent posted:
I wanted to let everyone know that if you find a bug in BC and report it to Microsoft on GitHub, they will fix it – and rather quickly, too!
I found that the config package cannot parse a text field larger than 1024 characters. They extended the text fields to 2048 characters in the April 2019 release of Business Central, but they failed to update two variables in this procedure.
I submitted this ticket three weeks ago, and it has been resolved. They will add it to one of their upcoming releases.
Developer Tip of the Day: Event Subscriptions
Kyle H offered this helpful tip: You can see what events are published by which apps and objects using the AL: Explorer in Visual Studio Code. Once you find your event publisher, you can click the “Subscribe” button, and it will copy a code snip to the clipboard that you can use to create your own subscriber.
Interested in Dynamics NAV and Business Central development? Be sure to see our collection of NAV/BC Development Blogs.
Read “How To” blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV and Dynamics 365 Business Central.