web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM - How can I know the attributes alias Nam

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

I am trying to create a new Lead after connecting successfully, for a client.

Entity ipsLead = new Entity("lead");
                ipsLead.Attributes["subject"] = crmLeadModel.LeadSubject;
                ipsLead.Attributes["firstname"] = crmLeadModel.FirstName;
                ipsLead.Attributes["lastname"] = crmLeadModel.LastName;
                ipsLead.Attributes["jobtitle"] = crmLeadModel.JobTitle;
                ipsLead.Attributes["businessphone"] = crmLeadModel.BusinessPhone;
                ipsLead.Attributes["mobilephone"] = crmLeadModel.MobilePhone;
                ipsLead.Attributes["email"] = crmLeadModel.EmailAddress;

                ipsLead.Attributes["companyname"] = crmLeadModel.CompanyName;
                ipsLead.Attributes["website"] = crmLeadModel.CompanyWebsite;
                ipsLead.Attributes["address"] = crmLeadModel.CompanyAddress;

                ipsLead.Attributes["description"] = crmLeadModel.Description;

Now, some of the attributes are not correct since it is throwing an error regarding invalid attributes names. Below is an image of a lead in the CRM. 

Now my question is how can I know the attribute alias name for each attribute in order to map from code?

Thanks in advance

1055.Untitled.jpg

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    4628.3.png

    hi you can find it here . Setting > Customization > Customize the System > Choose your entity > Fields > Schema Name

  • Community Member Profile Picture
    on at

    Thank you :)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans