Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
newGuid() Method

SP.Guid.newGuid() Method

SharePoint 2010

Last modified: May 16, 2011

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Generates a new GUID consisting of random hexadecimal numbers.

var value = SP.Guid.newGuid();

Type: SP.Guid

A new GUID consisting of random hexadecimal numbers.

This method returns a new GUID, which consists of random hexadecimal numbers.

Show:
© 2015 Microsoft