Show all subsites list on page in SharePoint Server 2010 using web service


In this post, we will discuss how to show all sub-site in my root site page.

Also you can check out:

Steps to create a private App Catalog and upload our app in SharePoint 2013

How to create a udcx file for Main Data Connection in Infopath?

Enable Sign in as Different User Option in SharePoint 2013

For this follow these steps:

1. Open the site in SharePoint Designer 2010.

2. Go to the Data Sources on Ribbon and click on the SOAP Service Connection. See in fig

Show all subsites list on page in SharePoint Server 2010 using web service
Show all subsites list on page in SharePoint Server 2010 using web service

3. Add the link to your site in the field “Service description location” and add the part :
_vti_bin/Webs.asmx?WSDL this will give you link like this
http://sitecollectionurl/sites/yoursites/_vti_bin/Webs.asmx?WSDL

4. Now click on the “Connect now” button: SPD automatically adds the select statement, the WebSoap port, and GetWebCollection. See in fig

Show all subsites list on page in SharePoint Server 2013 using web service
Show all subsites list on the page in SharePoint Server 2013 using web service

5. Click OK.

6. Now you go to the page where you want to add the list in SharePoint designer.


7. On the Insert tab, add a Data view of the SOAP service connection. See in fig

Show all subsites list on page in SharePoint Server 2016 using web service
Show all subsites list on the page in SharePoint Server 2016 using web service

8. Now you save the page and open it in your browser, you will see a list of subsites. See in fig

Show all subsites list on page in SharePoint Server 2016 using web service
Show all subsites list on the page in SharePoint Server 2016 using web service

You May Also like the Following SharePoint Online Tutorials:

About Navneet Singh

I am Navneet Singh, Working at C3it software solutions pvt. ltd. in Pune. My core skills are SharePoint 2013, Office 365, SharePoint 2010, SharePoint Designer, SharePoint Designer Workflow, Nintex Workflow, Infopath, Webpart, CSOM/SSOM, Power-shell, C#, ASP.NET and SQL Server.

View all posts by Navneet Singh →

Leave a Reply