Dynamics CRM: Understanding Name, Schema Name and Display Name

Posted by

When we create a field in Dynamics CRM, We add Display Name and Name. This article talks about these different names and their use.

1. Display Name –

name1
Display Name as Lable on Form
  • This is used to show as a label on the form.
  • It can be changed from field definition page anytime.
  • It can be also changed from the Form customization.
  • Beyond showing as a label, it has no further implication in the backend.

2. Schema Name –

  • It is used to create Database table columns.
  • These are mentioned while doing REST or oData Queries.
  • Used in Early Binding.
  • Auto created for the first time but can be changed there only.
  • They can’t be changed once they are saved

3. Name –

  • They are also known as Logical Name or Attribute Name.
  • It comes with all lower case and auto-generated in the backend.
  • Used as Attribute name in JavaScript programming, using Xrm.Page object.
  • Mostly used with CRM SDK Development.
  • This is the unique name of the class or property created in the Web Services Description Language (WSDL).
name2
Name (Schema Name) created and can be changed before Save.
name3
Name (Schema Name) created and can NOT be changed after Save.

 

As you noticed here, Name field mentioned in Pascal Casing (ClientSource) or Camel Casing (bats_ClientSource) automatically converted to all lower case.

Finally, this how it looks like.

name4
Name, Schema Name and Display Name

 

 

P.S. – This article is for beginners but the very basic concept we normally ignore and fail to answer when experienced 😛

 

Happy Dynamics’ing !!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s