This project has moved and is read-only. For the latest updates, please go here.


Jan 12, 2010 at 4:16 PM
Edited Jan 12, 2010 at 4:22 PM

From webdes03: Any ideas why SP web service GetWebCollection would return all top level sites, as opposed to those in the current collection?

Currently, the GetWebCollection documentation doesn't show any options.  However, you should be able to all it with webURL set to the Web (site) from which you'd like to obtain the Web Collection.


Jan 12, 2010 at 4:21 PM

I'm webdes03, but I can forgive you for confusing me with someone who's obviously far more intelligent and doesn't bug you all the time ;-)

Jan 12, 2010 at 4:23 PM

Through the miracles of rapid editing, you are webdes03 once again.  And you don't bug me: we collaborate on solutions. (Now if I could just get you to pay me...)

Try passing the webURL option.  It ought to work even though the documentation didn't show that it would.  (I've updated the docs.)


Jan 12, 2010 at 4:25 PM
Edited Jan 12, 2010 at 4:27 PM

You are the man!

And, it even works behind a DNS alias which surprised me... I thought I'd have to give it the ugly URL.


Jan 12, 2010 at 4:47 PM