Saturday, May 31, 2008

How to find the Internal name of a field of a list?

Many times while coding (especially in event handlers) we need the internal names of the fields of the list. A simple way to find out the internal names is given below:

Go to list settings and then click on the column (field) name from the page.
It will navigate to the column details page with the information like the data type name etc.
To find out the internal name go to the address bar and press 'End' which will take you to the end of the address url.
the last word is the internal name of the field.

3 comments:

Anonymous said...

What about spaces and special chars?

SharePoint Kings said...

it will encode it and the same you can find with the method describe over here.

Anonymous said...
This comment has been removed by a blog administrator.



Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to sharepointkings@gmail.com with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to sharepointkings@gmail.com