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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Business Central forum

Customizing Promoted Action Caption in Business Central

(0) ShareShare
ReportReport
Posted on by 30

Hi,

I tried to change caption with visual studio code by following the code from https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-promoted-actions but it doesn't change anything from business central.

The code I use is

pageextension 50100 DemoAddFieldCardExt extends "Customer Card"
{
PromotedActionCategories = 'New,Process,Report,Manage,New Document,Request Approval,Customer,Page';
}

7774.Untitled.png

Is there any problem with the code?

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Is there an action inside the new Category5 and Category6 group? Something like:

    actions

       {

           area(Creation)

           {

               action("Sales Quote")

               {

                   Promoted = true;

                   PromotedCategory = Category5;  // PromotedActionCategories = New Document

                   PromotedOnly = true;

                   PromotedIsBig = true;

                   Image = NewSalesQuote;

                   ApplicationArea = All;

                   trigger OnAction()

                   begin

                       Message('Create sales quote');

                   end;

               }

           }

           area(Processing)

           {

               action("Send Approval Request")

               {

                   Promoted = true;

                   PromotedOnly = true;

                   PromotedCategory = Category6;  // PromotedActionCategories = Request Approval

                   Image = SendApprovalRequest;

                   ApplicationArea = All;

                   trigger OnAction()

                   begin

                   end;

               }

           }

    }

  • Blide12 Profile Picture
    30 on at

    I do not add action area, I just want to change the Caption of promoted action, for example "Customer" into "Client", "New Document" into "New Task", etc.

    The whole coding that i use is

    pageextension 50100 DemoAddFieldCardExt extends "Customer Card"

    {

       PromotedActionCategories = 'New,Process,Report,Manage,New Document,Request Approval,Customer,Page';

       layout

       {

           addlast(General)

           {

               field("My Option"; "Option Field")

               {

                   ApplicationArea = All;

               }

           }

       }

       actions

       {

           // Add changes to page actions here

           modify("Request Approval")

           {

               Caption = 'Modified requestApproval Action';

           }

           modify("&Customer")

           {

               Caption = 'Modified Customer Action';

           }

           addlast("&Customer")

           {

               action("Customer List Report")

               {

                   Caption = 'cust report';

                   trigger OnAction();

                   var

                       rep: Report "Customer - List";

                   begin

                       rep.Run;

                   end;

               }

           }

       }

    }

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans