---
id: video/KnyS6ZKI_2c
type: video
title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
summary: "Page scripting enhancements in Business Central 2025 release wave 2 (version 27): editing recorded steps, parameters and test suites in the UI, for-each loops, expression-based conditions, and server-side headless replay, which is in preview and limited to on-premise or containers."
tier: official
language: en
tags:
  - page scripting
  - user acceptance testing
  - recording enhancements
  - steps modification
  - parameters
  - test suites
  - for-each loops
  - conditional branching
  - headless replay
  - server-side execution
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-07T22:53:36.364Z"
  flags: []
generated:
  at: "2026-10-13T00:32:41.360Z"
  pipeline: 0.2.0
  prompts:
    extract-video: 1
    summarize-video: 2
  input_hash: f2cd06a6194bf3b093d147cde4b88f5ca40848b044668923f060b6019e3a6adb
evidence:
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s
    title: "Steps Modification in Recording: preview"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 877
    quote: the page scripting feature is still in preview, but it is production quality
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s
    title: "Parameters UI Editing: preview"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 877
    quote: the page scripting feature is still in preview, but it is production quality
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s
    title: "Test Suites UI Creation: preview"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 877
    quote: the page scripting feature is still in preview, but it is production quality
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s
    title: "Include Script Functionality: preview"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 877
    quote: the page scripting feature is still in preview, but it is production quality
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s
    title: "For-Each Row Iteration: preview"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 877
    quote: the page scripting feature is still in preview, but it is production quality
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s
    title: "Conditional Branching with Expression: preview"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 877
    quote: the page scripting feature is still in preview, but it is production quality
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=763s
    title: "Server-Side Headless Script Replay: preview"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 763
    quote: That's why we are now adding the option to run scripts headless on the server side. This is still in preview and it is
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=26s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 26
    quote: based on user feedback this release adds improvements to the experience of recording and editing scripts that makes user
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=127s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 127
    quote: But now you can define the insertion point for steps. You can rearrange the sequence of steps by using drag and drop to set
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=335s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 335
    quote: what is new for version 27 is that you can edit, view and create parameters through the UI.
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=382s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 382
    quote: From version 27, you can use Business Central and create suits right from the UI.
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=481s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 481
    quote: before you can include a script, your current recording must be persisted to the disk because all included scripts are relative to the path
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=591s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 591
    quote: with version 27 you can right click in any repeater and then uh you have the for each row option. What this would do
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=684s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 684
    quote: With version 27, you can add an additional step which is expression is true. Meaning that you can dynamically evaluate a certain expression and
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=763s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 763
    quote: That's why we are now adding the option to run scripts headless on the server side. This is still in preview and it is
  - kind: video
    url: https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s
    title: "What's New: Page Scripting Enhancements (2025 release wave 2)"
    date: "2025-10-01T00:00:00Z"
    commit: null
    t: 877
    quote: the page scripting feature is still in preview, but it is production quality and there should be no reason for you to not use
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
video_id: KnyS6ZKI_2c
channel: yt-microsoft
source_name: Microsoft Dynamics 365 Business Central (YouTube)
url: https://www.youtube.com/watch?v=KnyS6ZKI_2c
published_at: "2025-10-01T00:00:00Z"
duration_s: 949
captions: full
audience:
  - developer
  - functional consultant
  - administrator
chapters:
  - t: 0
    title: Introduction to Page Scripting Tool
  - t: 81
    title: Recording Enhancements - Steps Modification
  - t: 142
    title: Demo - Recording, Insertion Points, and Drag-and-Drop
  - t: 305
    title: Parameters and Test Suites
  - t: 481
    title: Demo - Parameters and Suite Composition
  - t: 567
    title: Iterating Over List Entries with For-Each
  - t: 651
    title: Conditional Branching with Expressions
  - t: 727
    title: Server-Side Headless Script Replay
  - t: 853
    title: Summary and Resources
features:
  - name: Steps Modification in Recording
    status: preview
    t: 81
    verified: true
    status_source: video
  - name: Parameters UI Editing
    status: preview
    t: 305
    verified: true
    status_source: video
  - name: Test Suites UI Creation
    status: preview
    t: 382
    verified: true
    status_source: video
  - name: Include Script Functionality
    status: preview
    t: 412
    verified: true
    status_source: video
  - name: For-Each Row Iteration
    status: preview
    t: 567
    verified: true
    status_source: video
  - name: Conditional Branching with Expression
    status: preview
    t: 651
    verified: true
    status_source: video
  - name: Server-Side Headless Script Replay
    status: preview
    t: 742
    verified: true
    status_source: video
objects_mentioned:
  - other BC Replay
quotes:
  - t: 26
    text: based on user feedback this release adds improvements to the experience of recording and editing scripts that makes user
    check: fuzzy
  - t: 127
    text: But now you can define the insertion point for steps. You can rearrange the sequence of steps by using drag and drop to set
    check: exact
  - t: 335
    text: what is new for version 27 is that you can edit, view and create parameters through the UI.
    check: exact
  - t: 382
    text: From version 27, you can use Business Central and create suits right from the UI.
    check: exact
  - t: 481
    text: before you can include a script, your current recording must be persisted to the disk because all included scripts are relative to the path
    check: exact
  - t: 591
    text: with version 27 you can right click in any repeater and then uh you have the for each row option. What this would do
    check: exact
  - t: 684
    text: With version 27, you can add an additional step which is expression is true. Meaning that you can dynamically evaluate a certain expression and
    check: exact
  - t: 763
    text: That's why we are now adding the option to run scripts headless on the server side. This is still in preview and it is
    check: exact
  - t: 877
    text: the page scripting feature is still in preview, but it is production quality and there should be no reason for you to not use
    check: exact
---

# What's New: Page Scripting Enhancements (2025 release wave 2)

> Page scripting enhancements in Business Central 2025 release wave 2 (version 27): editing recorded steps, parameters and test suites in the UI, for-each loops, expression-based conditions, and server-side headless replay, which is in preview and limited to on-premise or containers.

[Watch on YouTube](https://www.youtube.com/watch?v=KnyS6ZKI_2c) · Microsoft Dynamics 365 Business Central (YouTube) · 2025-10-01 · 15:49 · tier official · reviewed (checked by Opus)

## Overview

The video covers what changed in the page scripting tool for version 27, based on user feedback about recording and editing scripts. It demos inserting steps at a chosen point, drag-and-drop reordering, deleting any step, and creating parameters and test suites in the UI instead of editing YAML.

It then shows iterating over repeater entries with "for each row", conditional steps using "expression is true", and running scripts headless on the server during pipeline execution with BC Replay. Server-side replay is in preview. The presenters also say the page scripting feature is still in preview but production quality.

## Key points

- Recording now supports defining an insertion point ('record from here'), rearranging steps by drag and drop, and deleting any step, not only the last. Changing steps out of order can affect later steps.
- From version 27, parameters can be created, edited and viewed in the UI instead of in YAML files. If no default value is set, you are prompted for one when the script runs.
- Test suites can be created in the UI with an 'include a script' step. The step can pass hard-coded values or forward parameters from the root script to the included scripts.
- Before including a script, the current recording must be saved to disk, because included scripts are relative to its path. Scripts in other directories need a manually specified relative path, and included scripts can't be edited in the suite.
- Right-click a repeater and choose 'for each row' to run steps for every list entry. A conditional step using 'expression is true' evaluates a custom expression, for example based on the current user.
- Server-side headless replay uses the 'use server replay' parameter with BC Replay in pipelines. It is in preview, works on-premises or in containers only, and produces no video recordings.
- Page scripting as a whole is still in preview but described as production quality. Using it to create documentation or training material with screenshots is not in the immediate backlog.

## Chapters

- [0:00](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=0s) Introduction to Page Scripting Tool
- [1:21](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=81s) Recording Enhancements - Steps Modification
- [2:22](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=142s) Demo - Recording, Insertion Points, and Drag-and-Drop
- [5:05](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=305s) Parameters and Test Suites
- [8:01](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=481s) Demo - Parameters and Suite Composition
- [9:27](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=567s) Iterating Over List Entries with For-Each
- [10:51](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=651s) Conditional Branching with Expressions
- [12:07](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=727s) Server-Side Headless Script Replay
- [14:13](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=853s) Summary and Resources

## Features

Every feature below: preview, demoed.

| Feature | At | Evidence |
|---|---|---|
| Steps Modification in Recording | [1:21](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=81s) | "the page scripting feature is still in preview, but it is production quality" ([14:37](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s)) |
| Parameters UI Editing | [5:05](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=305s) | "the page scripting feature is still in preview, but it is production quality" ([14:37](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s)) |
| Test Suites UI Creation | [6:22](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=382s) | "the page scripting feature is still in preview, but it is production quality" ([14:37](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s)) |
| Include Script Functionality | [6:52](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=412s) | "the page scripting feature is still in preview, but it is production quality" ([14:37](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s)) |
| For-Each Row Iteration | [9:27](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=567s) | "the page scripting feature is still in preview, but it is production quality" ([14:37](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s)) |
| Conditional Branching with Expression | [10:51](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=651s) | "the page scripting feature is still in preview, but it is production quality" ([14:37](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s)) |
| Server-Side Headless Script Replay | [12:22](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=742s) | "That's why we are now adding the option to run scripts headless on the server side. This is still in preview and it is" ([12:43](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=763s)) |

## AL objects mentioned

As heard in the captions. A name that matches one object page by exact type and name links to it; the others stay as named.

- other "BC Replay" at [12:57](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=777s)

## Quotes

- [0:26](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=26s) "based on user feedback this release adds improvements to the experience of recording and editing scripts that makes user"
- [2:07](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=127s) "But now you can define the insertion point for steps. You can rearrange the sequence of steps by using drag and drop to set"
- [5:35](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=335s) "what is new for version 27 is that you can edit, view and create parameters through the UI."
- [6:22](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=382s) "From version 27, you can use Business Central and create suits right from the UI."
- [8:01](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=481s) "before you can include a script, your current recording must be persisted to the disk because all included scripts are relative to the path"
- [9:51](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=591s) "with version 27 you can right click in any repeater and then uh you have the for each row option. What this would do"
- [11:24](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=684s) "With version 27, you can add an additional step which is expression is true. Meaning that you can dynamically evaluate a certain expression and"
- [12:43](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=763s) "That's why we are now adding the option to run scripts headless on the server side. This is still in preview and it is"
- [14:37](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s) "the page scripting feature is still in preview, but it is production quality and there should be no reason for you to not use"

## Disclaimers in the video

- [12:43](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=763s) preview: server-side headless script replay is still in preview
- [12:43](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=763s) subject-to-change: server-side replay is on premise only or in containers only
- [14:37](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=877s) preview: the page scripting feature is still in preview, but it is production quality
- [14:48](https://www.youtube.com/watch?v=KnyS6ZKI_2c&t=888s) not-in-this-release: creating documentation or training material including screenshots is not in our immediate backlog

Presenters (as heard): Peter, Vasil.
