Master Essential Developer Tools and Techniques for MB-820 Certification
Every Business Central developer needs a solid toolkit. From handling errors gracefully to debugging production issues, from setting up security to controlling what users see – these are the skills that separate good developers from great ones. Today, I’m excited to announce the eleventh book in my MB-820 Exam Cram series: Error Handling, RAD, Debugging, Permissions, and Application Areas in Business Central!
Five Essential Topics in One Guide
This comprehensive guide covers five critical MB-820 exam topics that every Business Central developer must master:
1. Error Handling with Try Functions
Learn to handle errors gracefully instead of exposing raw system messages to users:
- TryFunction attribute – Catch exceptions in your code
- Return value patterns – Boolean returns for success/failure
- Database write restrictions – Critical differences between Online and On-Premises
- GetLastErrorText() – Retrieve meaningful error information
- Real examples from the Base Application
[TryFunction]
local procedure ValidateCustomerData()
begin
if Customer."Credit Limit (LCY)" < 0 then
Error('Credit limit cannot be negative');
end;
procedure ProcessCustomer()
begin
if ValidateCustomerData() then
Message('Customer data is valid')
else
Message('Validation failed: %1', GetLastErrorText());
end;
2. Collectible Errors
Implement user-friendly validation that collects multiple errors before stopping:
- ErrorBehavior attribute – Enable error collection mode
- ErrorInfo data type – Rich error information with field references
- HasCollectedErrors() and GetCollectedErrors() – Process all errors at once
- Real-world scenarios – Document posting validation patterns
3. Rapid Application Development (RAD)
Accelerate your development cycle with delta compilation:
- The rad.json file – Configuration and usage
- What RAD includes and excludes – Understanding the delta
- Keyboard shortcuts – Efficient workflow
- Limitations you need to know
- Best practices for daily development
4. Debugging and Snapshot Debugging
Troubleshoot issues in development and production:
- Launch.json configuration – Setting up your debug environment
- Standard debugging – Breakpoints, watches, call stack
- Attach and Debug Next – Connect to running sessions
- Snapshot Debugging – Capture production issues without interruption
- Database statistics – Performance analysis in the debugger
- Extension deployment – Dev, test, and production workflows
5. Entitlements and Permission Sets
Implement proper security architecture:
- Permission Set objects – Defining object access
- Entitlement objects – Licensing-based permissions
- Permission Set Extensions – Adding to existing sets
- InherentPermissions attribute – Automatic elevated permissions
- Best practices for extension security
6. Extending Application Areas
Control what users see based on their role:
- Built-in Application Areas – Basic, Suite, Fixed Assets, etc.
- Creating custom Application Areas – Feature toggles in AL
- Experience Tiers – Essentials vs Premium
- Property inheritance – How ApplicationArea cascades
- Best practices for feature management
Why These Topics Matter
These five topics represent core competencies for Business Central developers:
- Error Handling – Professional applications don’t crash with cryptic errors
- RAD – Fast iteration means faster delivery
- Debugging – Find and fix issues in any environment
- Permissions – Security is not optional
- Application Areas – User experience matters
All five are heavily tested on the MB-820 exam.
Hands-On Learning
This guide includes:
- 8 Practical Exercises covering all five topic areas
- 35 Exam-Style Practice Questions with detailed explanations
- Real Code Examples from Microsoft’s Base Application and System Application
Companion Videos
This booklet complements my YouTube videos on these topics. Watch for visual demonstrations, then use the guide for in-depth learning and exam preparation.
Part of the MB-820 Exam Cram Series
This is the eleventh booklet in the series:
- Install and Upgrade Codeunits
- BC Admin and Automation API
- BC Performance Toolkit
- BC Cloud Migration Tool
- Creating New Companies
- Outlook Integration
- Teams Integration
- Tables and Table Extensions
- Pages and Page Extensions
- Reports, Report Extensions, and Queries
- Error Handling, RAD, Debugging, Permissions, and Application Areas (NEW!)
Get Your Copy
Ready to master these essential developer skills?
Limited time 20% off
Questions?
Have questions about error handling, debugging, or permissions? Drop a comment below or reach out on LinkedIn. I’m always happy to discuss Business Central development topics.
Good luck with your MB-820 exam preparation!



3 Responses