Listing Marked Documents from Multiple Document Libraries – Part 2

In Part 1, I retrieved a list of Document Library lists that contained files and started building the display. Now, I need to get the marked documents and display them for each Document Library. Since I created the array libraryList as part of the first steps, I can now loop through this list and get each set of files. Now, make sure that you set the REST API “async” option to false, because you don’t want things to happen out of sequence and end up with nothing displayed. The call to each of the Document Library lists will have a Continue reading Listing Marked Documents from Multiple Document Libraries – Part 2

Listing Marked Documents from Multiple Document Libraries – Part 1

I had a small project at work to list marked documents a SharePoint site Page. The documents would be part of a Document Library and they are marked using a choice option, which means they need to be grouped by each of the options in the list. And, to top things off, there are multiple Document Library lists. And, to make things harder, the choice field has a different name in each of the Document Library list. At first, I thought this might be a hard little project, but it turned out easier to do than expected. I am using Continue reading Listing Marked Documents from Multiple Document Libraries – Part 1