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 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
add comment

1 Answer

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
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.