Business Central 2025 wave 1 (BC26): Calculate values only for visible FlowFields

Dynamics 365 Business Central

Hi, Readers.
The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link.

I will continue to test and share some new features that I hope will be helpful.

Calculate values only for visible FlowFields:

Business value:
The Calculate only visible FlowFields feature enhances system performance by calculating values only for FlowFields visible on pages. It reduces unnecessary computations, leading to faster page load times and improved efficiency. By enabling this feature, you can optimize resource usage, resulting in a more responsive and streamlined user experience. This change boosts performance and helps manage system resources more effectively, benefiting your business operations.

https://learn.microsoft.com/en-us/dynamics365/release-plan/2025wave1/smb/dynamics365-business-central/calculate-values-only-visible-flowfields?wt.mc_id=DX-MVP-5004336

This is a performance problem that has long plagued partners, when a FlowField is added to a page or page extension with the Visible property set to false, the FlowField doesn’t appear on the page. However, its value is still calculated, leading to unnecessary computations and performance issues. This is also mentioned in the following two documents (Maybe it will be updated later).

Loading of data:

Hidden record fields on a page that calculates data such as FlowFields can lead to performance issues even if they are hidden.

Pattern – do less:

Remove calculated fields from lists if they aren’t needed, especially on larger tables. Setting the field’s Enabled or Visible properties to false isn’t enough. The field definition needs to be removed from the page or page extension definition. Also, if indexing is inadequate, calculated fields can significantly slow down a list page.

So when we were new developers, we might have been taught to use Flowfield only when necessary. Although it is a more convenient approach, adding a large number of Flowfield fields will affect performance.

With this wave (BC26), this is a huge change. As an administrator, you can change this behavior by enabling the Calculate only visible FlowFields feature in the Feature Management page. When enabled, the AL runtime calculates values only for FlowFields that are visible on pages.👏👏👏

You must sign out and then sign in again to make the changes take effect.

Great, this is one of my favorite updates this time. Give it a try!!!😁

END

Hope this will help.

Thanks for reading.

ZHU

コメント

Copied title and URL