Home > Forum > Actions > Upload to Sharepoint

Upload to Sharepoint
0

Hello,

I have an application where users attach documents, and I want these documents to be uploaded to SharePoint. Additionally, I would like to create a dedicated folder for each set of attached documents on the current instance. However, I haven't found a specific action to achieve this.
Can you suggest an idea?

Thank you.

MVP

Hi Andree Li,

I used the REST API to upload documents as I couldn't use the SharePoint connection for authentication.

Search for these values the page for to see examples:
The following example shows how to create a folder.
The following example shows how to create a large binary file.
https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest

In the attached screenshot you can see my example on how to upload the document.

Best regards.
Daniel