Drag & Drop attachments on a list
Hello,
Looking for some guidance on this scenario. I have a custom list in SharePoint 2013 on premise, that I have used skybow Rich Forms on and customized the form layout and some logic.
The request that I have been given is that the form is not to intuitive for attaching documents to it. Is there a way to add an area on the form that the end user can drag and drop a document into so that the form would then attaché the document to this form in question?
Let me know if this is even possible.
-
in skybow rich forms we have a feature to add sub libraries to a form.
http://www.skybow.com/hubfs/docs/o365/webframe.html#InsertSublibrary.html
With this you can simply drag & drop multiple documents onto a form where the files are automatically organized in folders in the background. We don't use the attachment functionality there.
The only limitation there is, that this is only possible on Display & EditForms, as there is no item created on a NewForm and we would need the ID to create the folder.
With actions on the save button on the NewForm you can redirect automatically to the Display or EditForm after saving.

You can use one of our functions to retrieve the ID of the recently created item by the current user in the list. Use the following snippet in the List Item Id field:
[[@Web.GetFirstValueForQuery('Contacts', '<Where><Eq><FieldRef Name=Author LookupId=True /><Value Type=User ><UserID/></Value></Eq></Where><OrderBy><FieldRef Name=Created Ascending=False /></OrderBy>', 'ID')]]
Kind regards
Matthias
0
Please sign in to leave a comment.
Comments
1 comment