#HumpDayHacks with Tonya Bricco-Meske

#HumpDayHacks: Stop Hardcoding Object IDs in Business Central AL Code

When I started this blog, I wanted to create a reference for new developers learning the basics of AL development. But I’ll be honest: even experienced developers (and AI) can make mistakes or miss best practices.

Over the past month, one of the projects I manage has gone through a complete app restructure. As we add localizations, our app dependencies are changing, and we are moving code between new custom apps. During that process, I started worrying about code that referenced objects by ID.

Let’s say we have report 50100 MyReport, and we move it to a new app where it becomes report 60000 MyReport. What happens if a custom action was written like this?

Read More »
How to Make your App Copilot Ready

Community Summit Recap: How to Make your App Copilot Ready

At Community Summit, Kristoffer and I presented a session called “How to Make Your App Copilot Ready”. We did not want the session to become another tour of sparkly AI features, because from the time we submitted our session abstract to the day we presented, the entire landscape of tools had changed. With everything moving so rapidly, we wanted our messaging to be relevant, and carry some weight when attendees left Nashville. As we reflected on our journeys as developers, we wanted to really explore the topic of

This question moved us away from asking whether an extension has an AI feature and toward asking whether an agent can understand the application, trust its data, and interact with its processes safely.

Our central message was simple: Copilot readiness is not an AI project. It is an application design discipline.

Read More »
GitHub Copilot Playbook

GitHub Copilot Playbook: From Reusable Prompts to Skills

Our first approach to reusable GitHub Copilot workflows was a library of reusable prompt files. You can read about my reusable prompt strategy in GitHub Copilot Playbook: Reusable Prompts. Each prompt represented a specific Business Central development task, such as extending Sales Lines or adding fields to a page. This worked well if the correct prompt was selected. The challenge was knowing which prompt to use (or if one even existed), understanding naming conventions and parameters, and choosing the right one for your implementation.

As the library grew to more than 50 custom prompts, the challenge was ensuring developers had the right prompt at their fingertips. Developers needed a way to find the right workflow without memorizing filenames, naming conventions, or prompt parameters. That raised a new question: how could we keep prompts specialized while making them easier to discover?

Read More »
Leveraging TestField as Actionable Errors

Leveraging TestField as Actionable Errors

As a Business Central Developer, we know that the quickest and easiest way to check if a field has a value is to call the TestField method on a Record. When used, the system checks to see if the field is not zero or a blank string. If there is not a value, we are used to getting an error.

TestFields have gotten some love at the platform level to help users quickly solve data problems and continue in their processes. This blog post will walk you through the changes in system behavior, and how to tweak your code to maximize user efficiency.

Read More »

Stop Typing and Start Talking

Have you experienced the newest bottleneck in your development process: Not being able to type your prompt fast enough.

There is an extension within VS Code – “VS Code Speech” that allows you to talk to the Chat.

Once installed, you need to enable “Hey Code” to keep your fingers off the keyboard.

Open VS Code Settings (Ctrl + ,) and search for “voice keyword”.

You will want to set your Keyword activation, and there are couple different options.

  • off: default value, your microphone will not be activated
  • chatInView: listens for ‘Hey Code’ when you are in the Chat view
  • quickChat: This is a lightweight, global chat UI window that you can open with
    Ctrl + Shift + P > Open Quick Chat
  • inlineChat: This opens chat directly in your editor at your cursor / selection with Ctrl + I
  • chatInContext: listens for ‘Hey Code’ wherever you are in VS Code.

Note: the description states that VS Code will record from your microphone, but the audio is processed locally and is never sent to a sever.

Once you say ‘Hey Code’ you can start talking, and GitHub Copilot Chat is listening.

To end dictation you have a couple of options.

  • Click the microphone button
  • Press Escape
  • Press Enter – which will also submit your chat request

You can also edit the text being generated as the microphone is listening, in case it didn’t understand you correctly.

With “VS Code to Speech” enabled, you can also have the chat responses read to you. Once GitHub Copilot is done responding, you can click the speaker icon, and it will read what it responded with.

You can also dictate directly in the editor. Think writing your markdown instructions.

Ctrl + Alt + V will open your microphone within your editor, and you are ready to talk!


Thank you to Michael Megel for sharing this with the community on this blog post.

VS Code Speech – Extension Details