How to upload multiple attachements in forms for a SharePoint list

  • 4 September 2019
  • 4 replies
  • 60 views

I would like to upload multiple attachments for a sharepoint list, when the form is customized in K2. Please provide me the suggestions

 

for ex: We have repeater control in infopath to attach/add multiple items/documents to upload/insert in the form, in the same way do we have a provision to upload multiple attachements.


11369i1F157AA7324E57B8.png


4 replies

Badge +7

HI  @sthurangi 

 

Please follow the link below to help solve the issue on uploading multiple attachments in forms for a Sharepoint list:

https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Upload-multiple-files-to-SharePoint-Document-Set-in-Workflow/td-p/83659/page/3

 

Please let me know if this help solve your issue.

Thanks for your reply,

 

I had seen this solution.

Instead of using SQL as smart object, I am using SP List as smartobject with the form customized in K2 five. Here my requirement is to upload/add attachment for that particular list item Id and get the attachements for the same list item id.

Trying the below solution by seeing the below article

https://community.k2.com/t5/K2-Five/SharePoint-Attachment-View-Help-with-adding-items-to-a-new-list/m-p/106779#M1591

Badge +9

Hi Sthurangi


 


1. The activity destination: Plan per slot, use the get list method of the smartobject and return its ID.


2. Use a smartobject event to 'get list' of the smartobject: Input mapping is the "To Integer (ActivityInstanceDestInstanceData)"  That's the ID captured in step 1.  Return the values you want into SCOPE = DESTINATION fields. You create this field by creating an ACTIVITY field that is NOT SHARED.


3. Use those fields as needed.  I need to upload attachments to SharePoint so I'm using the Out of the Box SharePoint Document Event in the same activity. 


 


Ref:https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Upload-multiple-files-to-SharePoint-Document-Set-in-Workflow/td-p/83659


 


Regards


Elvis


 

Badge +7

Hello  @sthurangi ,

 

The last time we spoke on "How to upload multiple attachments in forms for a SharePoint list", you specified that you will use https://community.k2.com/t5/K2-Five/SharePoint-Attachment-View-Help-with-adding-items-to-a-new-list/m-p/106779#M1591 to upload/add attachment for that particular list item Id and get the attachements for the same list item id. 

 Did you manage to get it right?

 

Reply