سؤال

I'm using MOSS OOTB WebServices wherein I in need a webservice method name which gives me all subsite Urls and their titles..

I'm using GetWebCollection method of Webs.asmx webserive but this method is not giving me parent's title.

Thanks!!

هل كانت مفيدة؟

المحلول

If you need to get current web, use GetWeb method.

Alternatively you can try GetAllSubWebCollection, because it Returns the titles and URLs of all sites within the current site collection rather than GetWebCollection, which returns only the titles and URLs of all sites directly beneath the current site.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top