Hi, Readers.
The public preview for Dynamics 365 Business Central 2025 release wave 2 (BC27) is available. Learn more: Link.
I will continue to test and share some new features that I hope will be helpful. In this post, I would like to talk about Hide Copilot summaries (Summary System Part Support).
Business value:
Whether users are looking at customer details, a large order, or any other record, they might spend a lot of time trying to understand the current state of their data and the fields that matter. The summarize with Copilot feature from 2025 release wave 1 summarizes a record into a few brief sentences, so users don’t spend as much effort to get insights from data. This is displayed automatically in most details pages. However, summaries aren’t always valuable on custom pages designed for highly specific purposes, such as dashboards, or when the page is used as a canvas for control add-ins. As a developer, you can now hide the summary FactBox on pages of your choosing.
https://learn.microsoft.com/en-us/dynamics365/release-plan/2025wave2/smb/dynamics365-business-central/hide-copilot-summaries?wt.mc_id=DX-MVP-5004336
Summarize with Copilot is a new capability of Copilot in Business Central 2025 wave 1 (BC26).

A new summary FactBox displays on card and document pages, such as a Customer, Sales Order, Item, and even your custom pages.

More details: Business Central 2025 wave 1 (BC26): Summarize with Copilot (New capability of Copilot)
And in Show or hide Summarize with Copilot FactBox, we briefly discussed how to hide Summarize with Copilot FactBox, for example, in Personalization, we can hide or show Factboxes on the page.

But it does not work for Summarize with Copilot FactBox.

Just click on the … button in the lower right corner of the Summarize with Copilot FactBox and choose Hide Copilot summary.

With this wave (BC27), Microsoft Introduced a new system part of type Summary that can be controlled on Card, Document, and ListPlus pages. This allows developers to hide or configure the Summary factbox when it’s not needed. Let’s see more details.
Control the Summary part in page extensions using the identifier DefaultSummaryPart:

pageextension 50101 MyPageExtension extends "Customer Card"
{
layout
{
modify(DefaultSummaryPart)
{
Visible = false;
}
}
}
Or, define it explicitly in new pages like this:
page 50101 MyPage
{
layout
{
area(FactBoxes)
{
systempart(DefaultSummaryPart; Summary)
{
Visible = false;
}
}
}
}PS:
1. Like the Links and Notes Factboxes, this can also be added to custom pages.


2. Also available in Page customization.



3. As of now, we still cannot move or hide this Summarize with Copilot FactBox in Personalization, Profile Customization, and Design.



So from this wave, with a few lines of AL code, developers can hide a Copilot summary FactBox on a page of type Card, Document, or ListPlus.
- Hide summaries on custom page objects or page extensions.
- Hide summaries only for specific user profiles.
Note that there can only be one summary system part per page.
A member of type SystemPart with name ‘DefaultSummaryPart’ is already defined in Page ‘Customer Card’ by the extension ‘Base Application by Microsoft (27.0.38460.38809)’. AL AL0155

The identifier assigned to the Summary SystemPart type is not valid. Valid identifier is DefaultSummaryPart. AL AL0890

Great, give it a try!!!😁
END
Hope this will help.
Thanks for reading.
ZHU




コメント