Is it possible to have an anonymous form in Nintex Automation Cloud with an attachment field that when summitted, the workflow will create the item in SharePoint on-prem (SharePoint 2016), then attach the attachments from the form to the newly created item.
Using Nintex Gateway I am able to create the item in the on-prem list, but I cannot figure how how to add the attachments from the form to the new item in on-prem.
Any help would be appreciated.
Thanks.
Best answer by Gavin-Adams
Hi @chad_johnson ,
my understanding is that the Nintex Gateway service does not support file variables for any of the supported connection (SQL on-prem, SharePoint On-premise, web serivces)
This is frustrating and a few of us have been pushing through Nintex ideas to get this added
Please consider adding your support to the following ideas:-
my understanding is that the Nintex Gateway service does not support file variables for any of the supported connection (SQL on-prem, SharePoint On-premise, web serivces)
This is frustrating and a few of us have been pushing through Nintex ideas to get this added
Please consider adding your support to the following ideas:-
Yes there is a way in online , i don’t now if it will work in On-premise,
Create a long texte field on your SharePoint list (Html)
Create a library in SharePoint where you will store your file
In Nintex automation cloud , use a for each action in your Nintex form to get your file collection , choose file as data type ,
In Nintex automation ,with the sharepoint action Store a file, store your file in the library created in step 2, create a variable for the result Output (Ex : varMyFiles)
In Nintex automation , with Create a text string action put this code in the string Components:
Store your string components result in a variable name it varMyFilesUrl
In Nintex automation cloud if you have used create an item in sharePoint list action , Go and search for your sharePoint field created in step 1 , and give the value as varMyFilesUrl
If you want to display the attachement in your validation form use a label action in the form and put your varMyFilesUrl inside