cancel
Showing results for 
Search instead for 
Did you mean: 

Disable drag and drop feature in alfresco

hiten_rastogi1
Star Contributor
Star Contributor

Hi,

I have a task in which I have to disable uploading of document in a folder of a specific name e.g. ABC. I was able to grey out the upload button with the help of this link. Similarly, I want to disable the drag and drop feature.

Can anyone please point me to a right direction ??

1 ACCEPTED ANSWER

"Editor" still allows upload of new versions.

As I have stated, there is no other alternative in default Alfresco - if you really need to address this requirement than you must develop a custom solution by extending from the documentlist YUI widget.

View answer in original post

3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator

Can't you just use permissions to restrict the ability to upload? E.g. limit all users to Editor / Consumer permission? That should disable both the upload button and drag and drop.

There is a "dragAndDropAllowed" property in the YUI documentlist widget that could be set to false to disable drag and drop. But that would disable the feature in the entire page. There is no setting to just disable it for a specific folder.

Hi Alex,

I can't limit the permission on a folder to Editor/Consumer, as it will

take away the right to upload new version of that document and among other

things. I have to somehow disable drag and drop based on the folder name.

Please suggest if there is a way to achieve it or anything better.

Thanks

Hiten Rastogi

Sr. Software Engineer

Mobile: +91 9899586608

Email: hiten.rastogi@eisenvault.com <vipul.swarup@eisenvault.com>

"Editor" still allows upload of new versions.

As I have stated, there is no other alternative in default Alfresco - if you really need to address this requirement than you must develop a custom solution by extending from the documentlist YUI widget.