SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am devising a program that consumes the Sharepoint 2010 SOAP web services. One of the methods uses the Web Search service Query method that retrieves a bunch of results, of which neither are GUIDs. It does however return the URL of each results. The webs web-service has a class member 'GetObjectIdFromUrl' method that retrieves the ObjectId.

However, I am unable to find any information online if ObjectId and GUID are the same. By name alone, they are not.

If they are not, can anybody provide cues as to how I can retrieve GUIDs for search results. One rationale would be to mention in the Query XML before consuming the search API that the GUID needs to be returned by encoding in <Properties><Property name = "GUID"/></Properties>

share|improve this question

An object id is the general term for a GUID of a sharepoint object (Site, item, list, etc) Logic exstracted from here

share|improve this answer
oh cool, so they are technically the same, I wonder why a generalization for ObjectId exists when GUID suffices in any case, but thanks ! – user1020069 Sep 13 '12 at 17:58

Your Answer


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.