Business Central 2025 wave 1 (BC26): Running objects in actions defaults to UI descriptors on target object

Dynamics 365 Business Central

Hi, Readers.
Dynamics 365 Business Central 2025 wave 1 (BC26) is generally available. More details: General Available: Dynamics 365 Business Central 2025 release wave 1 (BC26).

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

Running objects in actions defaults to UI descriptors on target object:

Business value:
When adding actions in AL, developers can specify properties like Caption, Tooltip, AboutText, and AboutTitle. Sometimes actions are just used to run specific objects, so to ensure consistency and reuse with these, such actions now default to the Caption, Tooltip, AboutText, and AboutTitle of the targeted object. This also ensures that existing actions will benefit from Tooltip, AboutText, and AboutTitle being defined on the targeted object.

https://learn.microsoft.com/en-us/dynamics365/release-plan/2025wave1/smb/dynamics365-business-central/running-objects-actions-defaults-caption-tooltip-abouttext-abouttitle-target-object?wt.mc_id=DX-MVP-5004336

This new feature mainly includes two updates:

1. Actions that have the RunObject property specified, and refer to a page or report, will use the AboutText and AboutTitle properties of the targeted page or report application object in the Report Explorer, if none of these properties is specified on the action itself. (Updated Role Explorer and Report Explorer to display page and report descriptions, when provided, as extended teaching tooltips)

Role Explorer:

Teaching tooltip:

Report Explorer:

2. On pages, actions that refer to reports will default to the “Tooltip” defined on the target report. In support of this, the ToolTip property has also been added to reports.
For example,

PS:
1. Since the property ‘tooltip’ cannot be extended, if the standard does not add this property, it cannot be inherited.

The property ‘tooltip’ cannot be used in this contextAL AL0124

2. Currently only valid for Report, because Page does not support the Tooltip property.

Small update, but it makes life easier. Give it a try!!!😁

PS:
1. Dynamics 365 Business Central: What is Promoted action and How to Promote action?

2. Business Central 2022 wave 2 (BC21): Promoted action groups, action references, and ShowAs Property (New Modern Action Bar)

3. Dynamics 365 Business Central: Hide and show actions dynamically

4. Business Central 2023 wave 1 (BC22) new features: Provide Title and custom actions to Error dialogs (Custom Actions in error messages)

5. Dynamics 365 Business Central: Run code in an action without using the OnAction trigger (RunObject, RunPageLink, RunPageMode, RunPageView, and RunPageOnRec)

END

Hope this will help.

Thanks for reading.

ZHU

コメント

Copied title and URL