Where does the CAML go if being used with Web Services not Object Model? RRS feed

  • Question

  • Hi,


    I can generate CAML queries (using the U2U CAML builder) but where do you put these queries in the page using SharePoint Designer to see the results rendered in a browser?

    (Please note I have to use SPD. I can not use VS for this!) Hence using web services on the client as opposed to running server side and object model code.

    Here is a CAML query: (but where does it go?)


             <FieldRef Name='ID' />
             <Value Type='Counter'>1</Value>
          <FieldRef Name='Title' Ascending='False' />




    Sunday, August 8, 2010 12:41 PM

All replies

  • I think you will find your answer in my blog:


    Ishai Sagi, SharePoint MVP MCTS in SharePoint Development (WSS & MOSS) Author (2007 how to book): Author (2010 how to book): Blog: Company:
    Monday, August 9, 2010 3:23 AM
  • Hi,


           Would you please let me know how is your problem going? Is Ishai’s suggestion helpful for your issue?

           If you need further assistance, please feel free to let us know.

           Have a nice day!


    Best Regards

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contact

    Thursday, August 12, 2010 10:29 AM
  • Hi Aaron,


    Isahi's post was not helpful but I am grateful to him for taking the time to reply.

    It looks to me (and of course I may be wrong) that Isahi's post shows how to edit c# code in Visual Studio to contain CAML.

    But I want to know where you put CAML into the aspx code you see when you use SharePoint Designer as I am not using Visual Studio for this specific requirement.

    IF the code shown in Isahi's blog post is code in SharePoint Designer then where in the page would that code block go?

    What I really want to know is where in the aspx code can I drop a CAML query I have made (by using the U2U CAML builder tool by Jan Tielens for example - and see the result rendered in Internet Explorer...

    Isahi's post does not make it clear to me how this is achieved but thanks again to him for replying!





    Thursday, August 12, 2010 11:14 AM