web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Promoted action is shown in the wrong category

(0) ShareShare
ReportReport
Posted on by 555

Hi experts,

In Business Central cloud on page "Posted Sales Invoice", there is these promoted action categories:

PromotedActionCategories = 'New,Process,Report,Invoice,Correct,Print/Send,Navigate';
On the same page, the action "AttachAsPDF" has this promoted category:
PromotedCategory = Category6;
It is shown under "Print/Send" and that is fine.
Now, I have made my own extension as shown below. I want my action to be after "AttachAsPDF" - not only on the "Process" tab, but also on the "Print/Send" tab.
Question 1:
When I set my action to "PromotedCategory = Category6", it is shown under the "Correct" tab and not under the "Print/Send" tab. When I use Category7 it is perfectly under "Print/Send". Why is that?
Question 2:
Is it possible to set my action right after "AttachAsPDF" in the "Print/Send" tab? Now it gets located as the last element on the tab. If I set "PromotedIsBig" to true, it is moved a bit up, but can I decide where it should be located in the promoted category?
pageextension 50126 PostedSalesInvoices extends "Posted Sales Invoices"
{
    layout
    {
    }

    actions
    {
        addafter(AttachAsPDF)
        {
            action("myAction")
            {
                ApplicationArea = All;
                Caption = 'Something';
                ToolTip = 'Well...';
                Image = Statistics;
                Promoted = true;
                PromotedCategory = Category7;
                //PromotedIsBig = true;

                trigger OnAction()
                begin
                    Message('Go ahead! Make my file!');
                end;
            }
        }
    }
}
I have the same question (0)
  • Suggested answer
    tanya07 Profile Picture
    1,638 on at

    Hello,

    I have used the same category(category 6) and it works fine exactly where you want it.

    0488.24june.PNG

    24june1.png

  • Morten Steengaard Profile Picture
    555 on at

    Hi Tanya,

    Thanks for your efford!

    It was really strange - until I saw that you don't extend the same page, as I do.

    I'm using the list page "Posted Sales Invoices" :-)

    Best regards,

    Morten

  • Verified answer
    tanya07 Profile Picture
    1,638 on at

    Hi,

    I missed the 's' there after - Posted Sales Invoice :)

     On the card page "Posted Sale Invoice" , Print/Send signifies category 6 .

    26th.png

    Whereas the other hand , On the list page "Posted Sale Invoices" , Print/Send signifies category 7.

    6675.26th_5F00_1.png

    26th_5F00_2.png

    For more , there is a explained document 

    Promoted Actions - Business Central | Microsoft Docs

    Hope , this helps :) , Happy Weekend!

    Please verify if this answers your query.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    You define the PromotedAction Categories on the Page first then you use them on the Action which category, in this case the Page as the following

    PromotedActionCategories = 'New,Process,Report,Invoice,Navigate,Correct,Print/Send';

    so category7 is Print/Send and Category6 is Correct

    Please check this link for more information

    docs.microsoft.com/.../how-to--define-promoted-action-categories-captions-for-the-ribbon

  • Morten Steengaard Profile Picture
    555 on at

    Hi Tanya,

    I can see that I missed the 's' too.

    Thank you very much for helping me.

    Best regards,

    Morten

  • Morten Steengaard Profile Picture
    555 on at

    Hi Suresh Kulla,

    Thank you for your reply.

    The problem was that I looked at page "Posted Sales Invoice" when I should look at "Posted Sales Invoices".

    Best regards,

    Morten

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans