PromotedCategory Property

Version: Available or changed with runtime version 1.0.

Sets a category for a promoted action.

Applies to

  • Page Action

Property value

ValueAvailable or changed withDescription
Newruntime version 1.0Actions will appear in the New menu.
Processruntime version 1.0Actions will appear in the Process menu.
Reportruntime version 1.0Actions will appear in the Report menu.
Category4runtime version 1.0Actions will appear in the Category 4 menu.
Category5runtime version 1.0Actions will appear in the Category 5 menu.
Category6runtime version 1.0Actions will appear in the Category 6 menu.
Category7runtime version 1.0Actions will appear in the Category 7 menu.
Category8runtime version 1.0Actions will appear in the Category 8 menu.
Category9runtime version 1.0Actions will appear in the Category 9 menu.
Category10runtime version 1.0Actions will appear in the Category 10 menu.
Category11runtime version 1.0Actions will appear in the Category 11 menu.
Category12runtime version 1.0Actions will appear in the Category 12 menu.
Category13runtime version 1.0Actions will appear in the Category 13 menu.
Category14runtime version 1.0Actions will appear in the Category 14 menu.
Category15runtime version 1.0Actions will appear in the Category 15 menu.
Category16runtime version 1.0Actions will appear in the Category 16 menu.
Category17runtime version 1.0Actions will appear in the Category 17 menu.
Category18runtime version 1.0Actions will appear in the Category 18 menu.
Category19runtime version 1.0Actions will appear in the Category 19 menu.
Category20runtime version 1.0Actions will appear in the Category 20 menu.

Example

The following code sample illustrates how to set the PromotedCategory property.

page 50110 PageName
{
    PageType = Card;

    actions
    {
        // Adds the action called "My Actions" to the Action menu
        area(Processing)
        {
            action("My Actions")
            {
                Promoted = true;
                PromotedCategory = Process;
                ApplicationArea = All;

...

Remarks

Note


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.

Promoted actions appear in the action bar on a page. You promote an action by setting the Promoted Property. Categories allow you to group similar actions under a common caption. You can choose between 10 categories: New, Process, Report, and Category4 through Category10. By default, the category names are used as the captions in the ribbon.

Properties Promoted Property
Actions Overview