Jun 8, 2012

Internal Column Name in SharePoint List

In this article, we will know how to find the Internal Column Name in a SharePoint list.
Steps:
1. Suppose that we have created a list with a column named “Continent” as shown below:
2. Go to Settings-> List Settings -> Click on the Column listed in the Lists to which you have to find the Internal Name
3. You will be navigated to the Title Edit page which is shown below:
4. Now copy the Browser URL (in my case is something is shown below):
http://sitename/_layouts/FldEdit.aspx?List=%7BE62DB5A7%2D12D4%2D474B%2D8EB8%2DF71DE8A86723%7D&Field=Continent
The Bolded letter is the Internal Name of the Column (In my case Continent is the internal column name for the column Continent)
Note: 
If the column name contains spaces then the Internal Name will contain some other characters. Be careful while taking handling this:
Ex: http://SiteName/_layouts/FldEdit.aspx?List=%7B2EB82952%2D9C0B%2D4650%2DB5E9%2D22788822B1AA%7D&Field=Arrived%5Fx0020%5Fon
Here in this name %5F is a '_'
So the Internal Name would be Arrived_x0020_on. Here the Column name is Arrived On but the Internal Name is different and hence beware of this!
5. You can find the internal name using code also.
Ex: string internalName = item.Fields["Field Display Name"].InternalName;
Here in the below link you will see a list of Content types in SharePoint and the Internal Name for it:
Please free to comment and share this post, if this helps you!

0 comments:

Post a Comment

Dear Readers,

I LOVE to hear from you! Your feedback is always appreciated. I will try to reply to your query as soon as possible.

1. Make sure to click the "Notify me" check box at the right side to be notified of follow up comments and replies.
2. Please Do Not Spam - Spam comments will be deleted immediately upon review.