back to top

Modifying the Edit Name Dialog in the Infor CRM Web Client

The name control in the Infor CRM web client comes with a pop-up edit dialog where you can enter in the suffix, first, middle, and last name, as well as the prefix.

This dialog has the Suffix and Prefix fields tied to the Picklists for “Name Suffix” and “Name Prefix”. However the dialog also has these fields so that users have to type a value that matches an existing entry. If for instance you have to add a contact with a suffix of “Lord Supreme Commander” you are out of luck.

Let’s take a look at how we can modify the name edit dialog.

First get Ryan’s awesome Custom Loader module.

Next we can add a new module in the Modules directory. Our module will extend the standard Infor name control widget of “Sage/UI/Controls/Name”. Using the dojo aspect function we will extend the showDialog function of the base widget. in this code snippet we will change the suffix field to have a custom (empty) on change event, instead of the built in validation that enforces the value matches an item in the list.

the finished code looks like this:

require([
    'dojo/aspect',
    'Sage/UI/Controls/Name',
], function (
    aspect,
    name
) {
    aspect.after(name.prototype, 'showDialog', function () {        
        var suff = dijit.byId('ContentPlaceHolderMain_MainContent_ContactDetails_nmeContactName-Suffix-Select');
        suff.onChange = function (e) {
            //console.log('we are no longer doing anything. la la la.');
        };
    });
});

Boom! there you go!

I should mention this code has the client side control name hard coded, which won’t work for other pages where the name control is not on the main Contact Detail. You can get to the control name using the this.clientId and adding the “-Suffix-Select” to it. So modify as you see fit.

Contact Customer FX for your CRM project
We let our expertise speak for itself - let us know how our all-star team can help on your CRM project
About the Author
Kris Halsrud
Kris Halsrud
Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Infor CRM SLX 10.0: Delegate Ownership Changes for “Everyone” Records

Learn how the new EveryoneOwnerAssignment secured action in Infor CRM SLX 10.0 allows designated users to change ownership of Everyone-owned records without requiring Administrator access.

Related Articles

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Related Videos