Category name change in page actions
Created new action using category5 and it is showing same in page.
how can we change the name?

Visual Studio Code is

Did I miss anything?
Category names are controlled by the PromotedActionCategoriesML property (https://msdn.microsoft.com/en-us/library/jj672900(v=nav.90).aspx) on the page. The defined "Job Lost" group is found inside the Prices group on one of the other tabs.
Adding this code under page extension changed the name of the category name. pageextension 70000001 "Reason Code for Lost Quote" extends "Job Card" { PromotedActionCategoriesML=ENU='New,Process,Report,Prices,Job Lost'; layout.............

-
My intention to add "Job Lost" group under Prices group is to add after prices group in ribbon but realized that I need to use "Addafter" function? but still its working with addlast also?
-
As per the help. If you want to modify existing fields and groups on a page, you use the modify() function. See the code example below for syntax. But I simply added PromotedActionCategoriesML=ENU='New,Process,Report,Prices,Job Lost'; So modify is not required for properties?
- The prices group you see on the front tab is not the same prices group that is defined on the page. The one on the front tab is the promoted category named prices. You can promote your action into that category instead of Category5, but you can't control the order in that group.
- Page properties can be set (modified) directly on the pageextension object. You need modify to change existing actions/controls-.
Got it. Thank you.
I would like to add new group(Job Lost) after promoted prices group in home ribbon. that is the reason added category5. I should use addafter function only right? addafter(existinggroup;newgroup) is above syntax Correct? can we control promoted groups or not?
I am getting errors while using AddAfter function layout { // Add changes to page layout here
addafter(General;Comment)
{
field(Comments;ChechComments.CheckCommentsExist(Rec."No."))
{
Editable = false;
}
}
}
showing errors at position ; (which is between General and Comment) c:\DEMO\New Developer Experience\Samples\ReasonCodeforLostJobQuote\PagJobCardExtCheckComments.al(7,25): error AL0104: Syntax error, ')' expected c:\DEMO\New Developer Experience\Samples\ReasonCodeforLostJobQuote\PagJobCardExtCheckComments.al(7,25): error AL0104: Syntax error, '{' expected c:\DEMO\New Developer Experience\Samples\ReasonCodeforLostJobQuote\PagJobCardExtCheckComments.al(7,25): error AL0104: Syntax error, '}' expected c:\DEMO\New Developer Experience\Samples\ReasonCodeforLostJobQuote\PagJobCardExtCheckComments.al(7,25): error AL0198: Expected one of the application object keywords (table, tableextension, page, pageextension, codeunit) c:\DEMO\New Developer Experience\Samples\ReasonCodeforLostJobQuote\PagJobCardExtCheckComments.al(17,40): error AL0107: Syntax error, identifier expected c:\DEMO\New Developer Experience\Samples\ReasonCodeforLostJobQuote\PagJobCardExtCheckComments.al(17,40): error AL0104: Syntax error, '{' expected c:\DEMO\New Developer Experience\Samples\ReasonCodeforLostJobQuote\PagJobCardExtCheckComments.al(17,40): error AL0104: Syntax error, '}' expected c:\DEMO\New Developer Experience\Samples\ReasonCodeforLostJobQuote\PagJobCardExtCheckComments.al(17,40): error AL0198: Expected one of the application object keywords (table, tableextension, page, pageextension, codeunit) Error: Package could not be created.
addafter() only takes a single argument. The argument can either be an existing group or field.
The positioning is relative to a control/group on the other tabs. It corresponds to placing the control/action at specified position using control/action list in C/SIDE.
You can only get to the home ribbon by using "Promoted", but you don't have control over placement on the home page, except for the PromotedCategory. The client decides the order.
https://msdn.microsoft.com/en-us/dynamics-nav/newdev-page-ext-object addafter(AddressDetails; "Post Code") Fields and groups Then the above link should be corrected. right?
Yes, Thanks.
Thanks for the feedback. This is fixed with the next refresh on msdn.