Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Get data from multiples SharePoint library's in multiple sites

I want to extract information from multiple SharePoint libraries that are located in different SharePoint sites collection.

All libraries in the same name have the same structure. I'm getting an error that is nor possible to convert the value "Library1" to the type List

I'm using the following script:

Thank you in advance for your time

 

1 Reply

  • You are trying to do too much at once, including nested "each" statements.  Refactor your code to use functions.