10-28-2016 01:46 AM
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 ??
10-28-2016 05:03 AM
"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.
10-28-2016 04:04 AM
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.
10-28-2016 05:00 AM
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>
10-28-2016 05:03 AM
"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.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.