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 :
Microsoft Dynamics CRM (Archived)

set contact fullname value

(0) ShareShare
ReportReport
Posted on by

i passing first, middle  and last name from url to contact screen. like

 parameters["firstname"] = firstName;
 parameters["middlename"] = middleName;
 parameters["lastname"] = lastName;

Xrm.Utility.openEntityForm("contact", contactid, parameters);

The problem is here fullname is changing the value.

how do i change full name if i change first, middle or last name using javascript?

*This post is locked for comments

I have the same question (0)
  • Royal King Profile Picture
    27,686 on at

    Full name is controlled by system setting of the Full r name format, if you want to see First name, last and middle name in the full name then you need to change system settings.This change will be applied to only new crecords , it wont change for existing records.

  • Community Member Profile Picture
    on at

    correction - full name is not updating the passing value,

  • Royal King Profile Picture
    27,686 on at

    you can't update fullname that's system field  . You need to make change in full name format based on your need, once you make change here it will automatically applied for new records created.

  • Community Member Profile Picture
    on at

    yes i can't update full name, but if i update first, last and middle name, fullname should show value. but here it is not showing. i have to click manyually, then it updates.

  • Royal King Profile Picture
    27,686 on at

    Are you opening existing contact by passing parameter?  For new contact i can see  full name is showing based on parameter passed.

    Here is my full name format settings 

    2014_2D00_08_2D00_29_5F00_2224.png

    This is the script i used to pass parameter and open new contact form

    var parameters = {};
    parameters["firstname"] = "firstname";
    parameters["middlename"] = "middlename";
    parameters["lastname"] = "lastname";
    parameters["telephone1"] = "(425) 555-1234";
    Xrm.Utility.openEntityForm("contact", null, parameters );

    I see result as below when contact is opened. As you see below full name shows based on the parameter passed and fullname format correctly

    2014_2D00_08_2D00_29_5F00_2240.png

    If you are talking about below flyout composite control, One way to stop this popup ( Works properly only in IE)  is setfocus to other attribute in the form onload event. 

  • Community Member Profile Picture
    on at

    did  you save it?

    yes it will show, if you press save, required full name error will throw.

    if you click the full name and next press save button it will save.

    Can you do without click the full name?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 2

#1
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans