Skip to main content
Nintex Community Menu Bar

UDA to return the number of documents in a document library

  • August 28, 2020
  • 1 reply
  • 2 views

Forum|alt.badge.img

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

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • August 31, 2020

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.