Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Custom fullname value for contact

(0) ShareShare
ReportReport
Posted on by

A have written a plugin to customize the way that fullname on a contact entity is formatted. I have a custom field whose value I want to incorporate into the fullname. The plugin is working fine as far as saving the record.

However, in the contact form, I have having trouble getting the page to "ignore" the fullname field and it's "popup".  I  have added the FirstName and LastName fields to the form, and also added all custom fields that are needed to compute the fullname.  When creating a new contact record on this form, I have entered values for FirstName and LastName and for my custom field and then selected the "Save" button.  Instead of saving the record, CRM shifts focus the the fullname field and displays the popup control, showing the FirstName and LastName fields (with my populated values) and an "OK" button.  I am forced to click OK and then click save again.  This will not work for my users.

I also attempted to "hide" the fullname field (even though it is required), but CRM displays it anyways.  I've also tried to write some javascript to set the fullname field value, but it has not affect.

Is this a behavior that I am going to be able to work around using JavaScript or some other configuration?

If not, I will probably just ask users to enter FirstName and LastName through the popup and not display these fields seperately, but that solution causes a confusing inconsistency between the fullname that is displayed to the user and the value that is actually saved.

*This post is locked for comments

  • Verified answer
    Abed Haniyah Profile Picture
    Abed Haniyah 4,285 on at
    RE: Custom fullname value for contact

    Dear Larry,

    You can add last name field on contact form, and make first name and last name fields not business required from their property, then hide full name field from contact form.

    Then make a business rule to make sure that last name field must contain data, also change the display name for last name to full name.

    Regards,

    Abed.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans