Skip to main content
Nintex Community Menu Bar

Hello!

I am trying to pull all attachments from a sharepoint list using the “Get item attachment by name” control. Now, my question is… will nintex be able to connect to a url as such to connect to the list?

 

https://companyname-my.sharepoint.com/personal/joe_smith_company_com/Lists/Equipment%20tracker/AllItems.aspx

 

I notice this list is located under a users personal location… now, they gave my admin acct access but I am not able to connect to that list.

 

Hi ​@jpacheco 

This looks more like a OneDrive URL to me.  Are you able to set up a connection into that location and retrieve the file via the OneDrive connector?


Hi ​@jpacheco 
Has your question been resolved? 


@brent_read ,

 

Thanks for your response… I will attempt this and let you know!


@brent_read ,

Brent,

So I was able to setup a connection to that location I believe… but how does one go about retrieving all attachments from all items listed?

I need to pull all attachments from the items and copy them somewhere external. I don’t know where to even begin there…

Help?


@brent_read ,

 

Ok, so I put together this WF but not able to publish it...could I be doing something wrong?
 

 


Hi ​@jpacheco,

It’s hard to know why the workflow will not publish without seeing the issue.

If I were to attempt this solution, I would do it like this.

Use a start form for the start event. Nothing needs to be on the form; it's just a way to start the workflow. It appears that you have the start event set to run with every new file added.  This is also a valid solution.

Then, use the Microsoft OneDrive for Business - Get folder contents action and set a variable to save the Paths of all the files in the folder.


Next, loop through the paths.
 


With each loop, get a file.


And then store it externally.  In my example, I am using Box.

The workflow will look like this.
 


You can run this for each folder unless you find another way to change the path dynamically. I haven’t thought that far ahead yet 🙂.


Reply