Drag & Drop feature for SharePoint list

Harry N Nomikos 1,336 Reputation points
2021-08-19T09:32:30.477+00:00

Hi there,

I'm trying to see if there's an option for Drag and Drop for attachments on SharePoint lists and I was advised that REST API is the way to do it. I'm not really familiar with it, so any guidance on where to start will be greatly appreciated.

Cheers
Harry

Microsoft 365 and Office SharePoint Development
Microsoft 365 and Office SharePoint For business Windows
{count} votes

Accepted answer
  1. Harry N Nomikos 1,336 Reputation points
    2021-08-24T05:20:41.687+00:00

    Hi @Echo Du_MSFT

    Thanks for the above response :)

    Could you recommend any videos to help me set up SPFx on my SharePoint list under a modern view?

    My list has quite a lot of data in there atm and I want to make sure I implement this without any disruption to the end user.

    Cheers,
    Harry


1 additional answer

Sort by: Most helpful
  1. Echo Du_MSFT 17,316 Reputation points
    2021-08-20T07:09:16.203+00:00

    Hi @Harry N Nomikos ,

    According to my research, it is not possible out-of-the-box to drag and drop a attachment to the list.

    • If you are using classic experience, you could try to use REST API to achieve.
    • If you are using modern experience, you may try to develop SPFx.

    Here is a demo of using SPFx web part to upload files as an item attachments:

    https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-file-upload

    Thanks,
    Echo Du

    ====================================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.