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

In list workflow starting button

I am working on a project at work that required a button that the user would click to kick off a process based on a field they filled in.  Normally, a WorkFlow could be assigned to a list on creation or update of an item, but in this case, I need to have the ability to kick off different WorkFlows based on the current stage the item is in and, as I mentioned, the fields filled in by the user.  The first step is to get the button in the list. Since I am using a very restricted version of Continue reading In list workflow starting button