Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I heard for SharePoint list/list column, it has an internal name which could be used for programming (as identifier for list/list column), and also has a display name (which is showed for end user for list name or list column name).

How to find and set such internal name and display name for list/list column?

thanks in advance, George

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

If you are asking how to find the list GUID (Globally Unique Identifier), navigate to the list and choose Settings --> List Settings. You'll get a URL that looks something like:

http://yourportal/%5Flayouts/listedit.aspx?List=%7B16FF7A0D%2D0E12%2D47F7%2DB03E%2D59E59925FBBA%7D

That long string of characters at the end is your GUID, although it is URL encoded, so change:

the %7B to a {
all %2D to hyphens
the %7D to a }

Giving you a list GUID of: {16FF7A0D-0E12-47F7-B03E-59E59925FBBA}

(or easier, just use the URL encoding converter here: http://www.blooberry.com/indexdot/html/topics/urlencoding.htm)

share|improve this answer
    
Sorry, I do not mean GUID. I mean InternalName and Name of a field. Any ideas how to find InternalName and name of a column? SPField f = //some field f.InternalName; f.Title; –  George2 Dec 11 '09 at 18:45
    
Cool, question answered! –  George2 Dec 13 '09 at 7:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.