Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Change Menu Item Label ()

Posted on by 45

Hi, Im trying to change the menu item label, i've tried:

  • parmDialogCaption("@GLS60128");
  • _args.menuItemName("@GLS60128");

but it still doesnt change, please help. Thanks!

pastedimage1571640403379v1.png

  • MATTGUO Profile Picture
    MATTGUO 22,306 on at
    RE: Change Menu Item Label ()

    Hi BozLeo,

    You can set the caption directly in the property.

    8510.png

    And make sure the label “@GLS60128” works exactly.

  • Evaldas Profile Picture
    Evaldas 1,798 on at
    RE: Change Menu Item Label ()

    You can set the title of the dialog in the controller class by calling parmDialogCaption method before you call startOperation.

    public static client void main(Args args)

    {

       MyController controller;

       controller = new MyController();

       controller.parmArgs(args);

       controller.parmDialogCaption("My title");

       controller.startOperation();

    }

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Change Menu Item Label ()

    By default the dialog should show the label of your menu item that points to the controller class. Perhaps you could try removing all your code that you use to change it, and see if it already works without any development.

  • bozLeo Profile Picture
    bozLeo 45 on at
    RE: Change Menu Item Label ()

    I put it inside the main method of my controller class

    contract.parmDialogCaption("@GLS60128");

    _args.menuItemName("@GLS60128");

    am i doing this correctly?

    Edit: Yes, I have tried restarting my IIS and deleting my browser's cache.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,936 Super User 2024 Season 2 on at
    RE: Change Menu Item Label ()

    Hi BozLeo,

    Where exactly did you put this coding? What exactly is this dialog about? Have you also synchronized the database after the build? Potentially, also try to restart the IIS service.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,936 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,381 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans