Using Nintex 2013 On-Premise, is a Web Service really the only way to grab an attachment within a nintex form and then save it to a separate library? There must be a better way, especially since the web services are no longer recommended.
Am I missing something obvious?
Solved! Go to Solution.
Hello Dave Georgopoulis -
Yes, you will need to leverage some web service to convert the attachment to base64 and then pass it over to the destination.
We are currently looking at doing it the opposite way. Where we have regular filings that require specific attachments to be carried with the task. We leverage a site workflow to create the necessary items, and then upon creation, the workflow will get the needed documents, convert them to base64 and then add it as an attachment via the AddAttachment list method.
Bit of a pain, but once you have a method to convert it to base64, you can do anything with it at that point.
I made UDA out of our own in-house webservice.
Hope this helps!
Does the action "Copy to SharePoint" help you? It copy all the specific list item attachment to a destination you will specify in the settings.
This did work well for me. I didn't see it because I was trying to build this as a UDA and that action wasn't available there but if I don't use a UDA, this seems to meet my requirements!
I am trying to use this action now and I keep getting this error. Any thoughts?
I am trying to copy the attachments from a list to a library within the same site.
Do you have permissions to the URL you are pointing the copy to? Do you have the wrong credentials specified in Override credentials area of the control?
It is just copying from one list to a library within the same site, so I should not need override credentials, I do not think...? That being said, I have tried multiple different username and passwords in the override including my farm account and I am getting the same error with each.
Ok. So override credentials are empty in the action above? Also, is this action nested within an action set, and if so, do you have the button checked in the action set configuration to run as workflow owner? Finally, you are sure that you have the permissions to create new items in the destination library?
Just trying to check everything here...
currently there are credentials that are being pushed in there automatically. I am not sure why SharePoint is picking what is in there but I have tested this with different credentials. I am not 100% sure if I have tested it being blank....
This is the only action on the workflow.
Yes I have permissions to everything on the farm, including the destination library.