Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have noticed that many examples of internet which show creating the list definition have a GUID in the id of the field. How is this ID got? e.x.

Where is this GUID got from?

share|improve this question
    
Oh really, I didn' know that It was so simple. thanks –  user9878 Aug 4 '12 at 17:22
add comment

3 Answers

Usually in Visual Studio; Tools -> Generate GUID

share|improve this answer
add comment

Go to the list settings page. Right click on "Title, description and navigation" and copy the URL. Paste that into notepad and copy everything after "List=" in the string. That's your URL Encoded GUID for the list. All you need to do is decode it here http://www.albionresearch.com/misc/urlencode.php

source: Get a SharePoint List GUID from the Browser

share|improve this answer
add comment

While each generated GUID is not guaranteed to be unique, the total number of unique keys (2^128 or 3.4×10^38) is so large that the probability of the same number being generated twice is very small. For example, consider the observable universe, which contains about 5×10^22 stars; every star could then have 6.8×10^15 universally unique GUIDs.

For more information:

http://stackoverflow.com/questions/39771/is-a-guid-unique-100-of-the-time

share|improve this answer
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.