SharePoint Products TechCenter > SharePoint Products and Technologies Forums > SharePoint - Design and Customization > Create a c# webservice to read of ALL subsites on wss3.0 and then use SPD to display a report
Ask a questionAsk a question
 

QuestionCreate a c# webservice to read of ALL subsites on wss3.0 and then use SPD to display a report

  • Friday, November 06, 2009 9:52 PM.NET CONFUSED Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi I am creating a webservice which will use the sharepoint object model api's . what I want to acheive
    is the following psuedo code

    create variable dt as DataTable
    For each subsite in site
        Collect all values in a list item called 'listHello' and append to DataTable variable DT
    loop

    webservice to push out DT


    Once this is done I am going to use Sharepoint Designer to connect to the webservice and retrieve the values and
    display on a page. Here I can use XLST to create nice format reports.

    Is there an example of how you can do this . Where do I have to place the webservice so it can fully use the sharepoint object  API's . I have created aspx webpages and stored in the _layouts so where does the webservice go ?

    Basically I need to create a dashboard to retrieve ALL subsites sites for a listitem X.... am i wrong to do this way ?
    • Moved byMike Walsh MVPMVP, ModeratorSaturday, November 07, 2009 10:24 AMNothing at all seemingly to do with workflow. SPD questions go to Design/Customization (unless they ARE (SPD) workflow questions) (From:SharePoint - Workflow)
    •  

All Replies