Offering Microsoft Dynamics 365 Business Central means giving your clients access to the future of ERP solutions. As AI-driven automation ...
WeiterlesenMastering the Basics of the Page Scripting Tool in Microsoft Dynamics Business Central
Thursday, January 23, 2025
Reading time: 4 minutes
In the world of Microsoft Dynamics Business Central, automation and efficiency are paramount. The Page Scripting Tool is designed to aid users in capturing and executing scripts that simulate user actions, thus streamlining processes and enhancing user acceptance testing. This blog post will guide you through the basics of using the Page Scripting Tool, leveraging the insights shared in our previous advanced blogs on parameterizing and combining scripts.

What is the Page Scripting Tool?
Getting Started
To start using the Page Scripting Tool, you need to meet certain prerequisites:
- Business Central 2024 Release Wave 1 (version 24) or later.
- Accessed from the Settings Menu in Business Central.
- Permissions to record (PAGESCRIPTING – REC).
- Permission to play scripts (PAGESCRIPTING).
Recording a Script
- Navigate to the Settings Menu, and select Page Scripting Tool
- Select "Record".
- Perform the actions you want to capture.
- Stop the recording when finished.
- Save the script to a YAML file.
This script can be edited later to refine the recorded actions or add parameters (see my previous BLOG post about this).
Playing Back a Script
- Navigate to the Settings Menu, and select Page Scripting Tool
- Click on the Open button and select the YAML file you wish to play back.
- Select "Play" from the Settings Menu.
- Monitor the execution to ensure it performs as expected.
Playback can be performed in both sandbox and production environments, though caution is advised in production due to data modifications. If you playback in production environments a warning will be displayed.
Best Practices
- Filter and select the top element when working with lists of data.
- Create new entities for testing instead of using existing ones.
- Break down recordings into smaller parts for easier maintenance.
Combining smaller scripts into suites allows for modular and maintainable automation, as detailed in our advanced blog posts.
Known Issues and Limitations
- No editing steps after recording.
- No visual suite building, only through YAML editing.
New Feature in Version 25
Conclusion
Meet Berny Düring, our Partner Technology Strategist for Business Central at Companial. With over 27 years of experience as a Microsoft Certified Trainer, he brings a wealth of expertise and knowledge to his role. Starting as a Product Manager at Navision South Africa and subsequently at Microsoft, he later established his own successful partner. Joining Companial as a franchisee in the Middle East-African market, Berny once again played a crucial role in guiding partners to grow and develop their Business Central practices through mentoring and training. He holds qualifications in Business Management, Taxation, Law, Supply Chain Management, and Computer Sciences.
- Mastering the Basics of the Page Scripting Tool in Microsoft Dynamics Business Central - 24/01/2025
- Mastering Business Central: Navigating Tenants, Environments, Companies, Countries, and Licenses with Ease - 08/10/2024
- Device licenses with Business Central SAAS – The Last BLOG you’ll ever need - 18/09/2024
Mehr über Business Central
Why Microsoft Business Central is the Future of ERP for SMBs
As a provider of ERP solutions, you have the chance to lead your customers into the future with Microsoft Dynamics ...
WeiterlesenBreaking Through Barriers: How to Attract New Clients and Expand into New Industries
For Microsoft Dynamics 365 Business Central partners, growth is both an opportunity and a challenge. Expanding your client base and ...
WeiterlesenCompanial SofTalk: Upgrades at Scale
In this episode of Companial SofTalk, Inga Levinskiene, Project Manager at Companial, dives into the topic of cloud migration, alongside ...
WeiterlesenGOB Software & Systeme GmbH
GOB’s Transformation to Business Central Online and AI Readiness with Migration & Modernization Program
WeiterlesenUpgrade and migrate to Microsoft Dynamics 365 Business Central Online ASAP! 2025 is coming!
More about the changes coming in 2025, which may impact your customers’ installations and make them vulnerable to operational, security ...
Weiterlesen