2

Can anyone help me with the code to display documents from multiple document libraries using javascript client object model. I have done displaying from single document library.

1 Answer 1

1

SharePoint doesn't provide any equivalent of SPSiteDataQuery in Client Object Model. Please see the following answer here on SharePoint StackExchange for details:

Thus you have to work with your document libraries separately one-by-one and then merge the results manually and then display the final list of documents. Since you already have the code for a single document library, I think you just have to call this code several times for all of your libraries.

1
  • Thanks Andrey. Your answer gave me the idea. My code is almost complete. Commented Feb 28, 2013 at 3:59

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.