I have SharePoint 365 and Nintex WorkFlow and Form 365, how a copy list item attachments to a specific folder???
What is the configuration actions???, I saw the videos in some blogs, but this videos are the Nintex 2013 version and the actions are diferents.
Help...
Thanks
FMS.
Solved! Go to Solution.
Hi Federico,
you can achieve this the following way:
2. Use a "Query XML" action to extract the attachment urls from the web service response. Action should look like this:
"var_respContent" is the variable where I store the web request result. The XPath Query will then extract only the "Attachment" elements (an URL string) of that xml and store it in my collection variable "var_attachmentsColl".
3. Use a "For Each" action to loop through all items of your "var_attachmentsColl" collection.
4. Inside the "For Each" loop use a "Regular Expression". We need this to get the Site-Relative URL from the attachment URL (which is an absolute url), we will need this URL later. Be careful, you may need to adapt the pattern I used for your attachment URL.
5. Use an "Office 365 upload file" action to copy the attachment to your library. be careful with the "Folder path" parameter. For me providing "Shared Documents" didn't work, i had to provide the display name of the library which is "Documents".
And that's it. As a result, all the attachments will be copied to your Documents library.
Let me know if you have any further questions.
Cheers
Philipp
Hi Philipp,
Thanks for your reply.
but after working of 10hrs I got resolve it with some simple step.
for web request you have to configure.
and for uploaded file.
and provide the online share point user name and password.
any document you can upload in root site doc library it will redirect to the destination doc library.
Thanks,
Cheers
Thanks Biswadev. You build a simple but effective workflow.
cheers
Hi,
But, only works for document library, not for a customized list.
For the customized list, web request action, body, not there a "Current Ãtem".
FMS
Hi, thanks for response.
I try to replicated your workflow, but I have an error in the results.
This is the structure of my workflow.
1-Web request configuration
2-Query XML
3-For each
4-Regular expression
5-Office 365 Upload file
Can you show us the error? Do you know where the error originates?
Hi,
First, the document attached in the list is not loaded in the document library required.
I created an check mark in the history of workflow for each variable used according to explication, for to check some possible error.
Hi,
My SharePoint structure is:
I have a custom list in the site 1, subsite 1, and I need upload the each attachments for each item in this list in the document library, but ubicated in the site 2, subsite 2.
Federico
Hey Federico,
please check your web request action again. On the screenshot I can see that you entered the URL of your List but you are supposed to enter the URL of the webservice. See my screenshots for a reference.
Regards
Philipp