Editar

Compartir a través de


Scope (Action) Property

Version: Available from runtime version 1.0.

Specifies the scope of the action to be either page-specific, or specific to a repeater control. The Scope property has two options; Page and Repeater.

The Scope property is only used on pages that include a repeater control and it offers a way to determine the scope of an action to be the page or to be specific to the repeater control. In the repeater control, actions display in the shortcut menu that is available for each row in a list. The default behavior of the Scope property is Page.

The Scope property has the following effect:

  • On a Business Central Web client, if the Scope property is set to Page, the action will be shown in the action bar. If the Scope property is set to Repeater the action will be shown in both the repeater control shortcut menu and in the action bar.

  • On a Business Central tablet client, if the Scope property is set to Page, the action will be shown in the page action menu. If the Scope property is set to Repeater, the action is moved from the page action menu to the repeater control shortcut menu.

  • On a Business Central phone client, if the Scope property is set to Page, the action will be shown in the page action menu. If the Scope property is set to Repeater, there are two scenarios:

    • If the list is associated with a card page, then the action is not available on the list page anywhere, and you should add the action to the card page.

    • If the list is not associated with a card page, and the user taps a row in the list to view details, the action is available on the details page.

Properties
Scope (Table) Property
Defining Action Scope for Business Central Pages