Version: Available or changed with runtime version 1.0.
Specifies whether the selected action is promoted only, which means that it will appear only on the Home tab in the ribbon and not on the tab (ActionContainer control) where it is defined.
- Page Action
True to set the action as promoted only; otherwise, false. The default value is false.
PromotedOnly = true;
With Business Central 2022 release wave 2, the way that you promote actions on pages or page extensions has changed. Promoting actions is defined in a specific section of the page definition and contains a reference to the action. For more information, see Promoted Actions.
This property is only applicable when the Promoted Property is set to true. For example, if you have an action defined under the ActionItems action container, and you set the Promoted and PromotedOnly properties to true, then in the client, the action will be shown on the Home tab but will be hidden on the Actions tab.
This property in not relevant on the tablet and phone because only promoted actions are displayed on these clients.