UDA to return the number of documents in a document library

  • 28 August 2020
  • 1 reply
  • 1 view

Badge

I would like create a UDA that takes an site URL and library name and returns a count of documents in the library.

 

Has anyone done this? Can anyone recommend a best approach?

 

Thanks.


1 reply

Userlevel 6
Badge +22

HI,

 

Basically you just need a query list action to return all the items in the list and then a collection operation to count them.

I have attached a UDA that does this.  Just enter the URL to the site e.g https://SharepointName/siteName/
and the list name and thats it.

Reply