Contenu marketing prêt à l'emploi pour générer des prospects et remporter des projets de migration
Lire la suiteMastering 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.
- Conversational ERP: Why 2026 Is the Year We Stop Clicking and Start Talking to Our ERP - 05/02/2026
- Upgrading to a Preview Environment in Business Central 26.5 – Why You Should Care - 15/09/2025
- What’s New in Microsoft Dynamics 365 Business Central 2025 Release Wave 2 – eCommerce and Electronic Documents - 03/09/2025
En savoir plus sur Business Central
Updates to the Business Central Migration Voucher Program
Microsoft a annoncé plusieurs améliorations au programme de bons de migration Business Central, élargissant les critères d'éligibilité, augmentant la flexibilité...
Lire la suiteConversational ERP: Why 2026 Is the Year We Stop Clicking and Start Talking to Our ERP
Les gens ne rencontrent pas de difficultés parce que l'ERP est compliqué, mais parce que l'interface est compliquée. L'ERP conversationnel ...
Lire la suiteEmpowered Business Central – Release Notes Version 2.29.0.0
Découvrez les notes de version d’Empowered Business Central de Companial avec de nouvelles fonctionnalités, des améliorations globales de la solution ...
Lire la suiteWAIR
WAIR strongly recommends Companial’s ISV Partnership Program to other ISVs looking to grow.
Lire la suiteUpgrading to a Preview Environment in Business Central 26.5 – Why You Should Care
Microsoft released version 26.5 of Business Central, and with it came a small but powerful change that many of us ...
Lire la suite