Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, July 10, 2012 8:53 AM
Hii
can any one suggest me how can i find GUID of custom list column in sharepoint 2010??
thanks in advance
All replies (8)
Tuesday, July 10, 2012 9:37 AM âś…Answered | 2 votes
You can do it through powershell if you need.
$web = get-spweb http://yourweburl
$list = $web.lists["YourList"]
$list.fields["YourColumnname"].id
$web.dispose()
You can also use .internalname in place of id to get the internal name used by caml etc.
Paul.
Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.
Tuesday, July 10, 2012 8:58 AM | 1 vote
hi,
see this post
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.id
Tuesday, July 10, 2012 9:08 AM | 1 vote
Hi,
You could get the list column properties including GUID via SharePoint Manager 2010.
Regards
Mukesh Ajmera http://in.linkedin.com/pub/mukesh-ajmera/21/7b5/bab
Tuesday, July 10, 2012 9:13 AM
If you want this from Developer's approach, you can try using the API shared by Alexandru. One example is available here:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldlookup.aspx
If you want to try this as a end-user(from Browser), then use this:
Thanks & Regards,
Kamlesh | Blog | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Tuesday, July 10, 2012 9:22 AM
Hi ksdn,
i am not much into this development part,and the second method gives us the Guid of the List,and i need the Guid of List Column
Tuesday, July 10, 2012 9:24 AM
Hi aleaxandru,
i am not much into this development part,
is there any other alternate way,through SQL,or something else
Tuesday, July 10, 2012 10:11 AM
thanks
cimares,it worked
Tuesday, July 10, 2012 10:12 AM | 6 votes
you can obtain list info + field`s info using this URL in your browser
http://yoursrv/_vti_bin/owssvr.dll?XMLDATA=1&List={your list GUID}&Cmd=ExportList&ExtendedFieldsProperties=1&ExcludeViews=1
To view List GUID: Go to List settings and copy from browser address list GUID (encoded)