SharePoint Static Name vs Internal Name vs Display Name

During development of SharePoint Project code I found a field contains multiple name and i was confused for multiple names.

After doing some research I found detailed information about them

Display Name : A string that contains the display name. (Display Name also known as Title)
Internal Name: Gets the internal name that is used for the field.
Static Name: Gets or sets the internal name of the field.

Display Name is the name shown to the user. It can contain spaces in special characters. When display name is created, an Internal Name is derived from it by replacing spaces and special characters with _0xXXXX_ where XXXX is a Unicode hexadecimal representation of the character being replaced. For example: My Column Name would be converted to My_0x0020_Column_0x0020_Name. Once the Internal Name is set it cannot be changed even if the Display Name from which it is derived is changed.

In detail

Display Name: A string that contains the display name. Display name is used to derive Internal and Static Names, however once those are set, changing Display Name will not affect Internal and Static Names.

Internal Name: Gets the internal name that is used for the field. It is a unique non-changeable string that identifies a column in the list. If multiple columns in the list have the same name, SharePoint will add 0,1,2,etc at the end of each new column added to make them unique.

Static Name: Gets or sets the internal name of the field. This is the internal name of the fields without any digits added to it. It is not guaranteed to be unique within a list.

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 )

Connecting to %s