Skip to main content
Nintex Community Menu Bar

Hi folks,

We’re using Nintex Forms for SharePoint 2013 and our customer is unhappy with the available list item attachment control on the form. I totally see his pain points as they’re using internet explorer as enterprise browser (as many of our customers) and this means they are able to upload the attachments using the browse dialog and selecting file by file. So, no drag & drop, no multiple select. Very annoying.

 

I’ve to say, that we are on client side, without possibility to deploy any server-side custom controls. And we’re using Classic forms because of heavy JavaScript & CSS customization.


We’ve injected a custom control using jQuery where we are able to use drag & drop from desktop and also to upload multiple files at once. Behind the scenes we are using SharePoint’s REST and AJAX to attach those files to the currently open item.

 

But is not a good solution as updating the item while the item is open, would cause an error message when users click on the save button, as our custom attachment upload has modified the item behind the form and the form notice this with an error message, that someone else has changed the current item. Fully understandable so far.

 

Now I’m looking for possibilities to get those actions in line.
It seems the Nintex original attachment control holds the changes to attachments (new added and removed files) in memory until the user clicks on save and apply them while saving the metadata.

Is it possible to use Nintex Forms Object Model to push the new added files into an array or such to let the original attachment control upload them on save event? I had a look into NWF.FormFiller.Attachment object but was not able to find such method. Is there a documentation of this objects somewhere?

Or is it possible to somehow hook into save event and to inject the files in this moment somehow?

Is it possible to reload attachment control without reloading the whole form?
Any other idea is highly appreciated.

 

Thank you and kind regards
Anatoli

Currently encountering same issue. I have to currently tell users it they need to make an edit/update to an attachment(s) they need to open the form but not to put in edit mode:





  1. Click on form link


  2. Edit Documentation and save changes and close the document.


  3. To add comments or change item on form click Edit and then submit.




Also need help on how to be able to edit the attachments and submit /save with out creating the error:



Sorry, something went wrong



Save Conflict



         Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in your Web browser, refresh the page, and resubmit your changes.



Technical Details



Troubleshoot issues with Microsoft SharePoint Foundation.



Correlation ID: e54af49f-f325-10e2-366e-9e785094cbfa



Date and Time: 9/29/2021 12:01:59 PM



 



 



 


Reply