3

With Business Central 2025 wave 1, we gain the ability to prevent FlowFields from being calculated if they are not visible in a page.


Sometimes, we add customizations where variables are displayed as fields, especially in lists.

For instance, it is not rare to add the availability of an item in the Item List.


Computing such field might be time consuming, and end users are not particulary happy if we propose to create a dedicated page for such fields. However it could help user who does not use these fields to be less impacted by them.


This idea proposes to allow a developer to discover if a field visible on the client page.


For instance:

field(MyField; MyFieldWithTimeConsumingComputation)

{

}

...

trigger OnAfterGetRecord()

begin

 if CurrPage.Controls.MyField.IsVisible() then

   //MyFieldWithTimeConsumingComputation := ...;

end;


The function IsVisible() would take in account all customizations.

If the property Visible of the field is set with a variable in AL code, it would return the current value of the property.



Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team