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!
Hi, Im trying to change the menu item label, i've tried:
but it still doesnt change, please help. Thanks!
Hi BozLeo,
You can set the caption directly in the property.
And make sure the label “@GLS60128” works exactly.
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();
}
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.
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.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,936 Super User 2024 Season 2
Martin Dráb 229,381 Most Valuable Professional
nmaenpaa 101,156