Reputation: 1
I am using SharePoint online. I have a requirement, in the Document Library users are not allowed to drag and drop folders but they can drag and drop files. If a folder is dragged I need to show a warning. How can we achieve this? I was trying with SPFx but had no luck. Can I add event listener to detect folder drop before it is dropped?. Any suggestion to achieve this would be really helpful
Upvotes: 0
Views: 1650
Reputation: 956
Not sure if this is achievable. You might want to have a look into this:
How can I disable the Document Library drag and drop function?
Also you can read this ms doc:
Upvotes: 4