I have a requirement to restrict only a particular DAM folder in AEM with upload restriction of svg files only.
I believe we need to overlay fileUpload.js from libs(/libs/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js) folder to apps folder.
And make changes to this js to make this possible.
Has anyone achieved this and does any one have a sample code for this js changes to restrict a filetype for a particular dam folder only?
Restrict only a specific AEM DAM folder with a filetype
795 Views Asked by PV_PN At
1
There are 1 best solutions below
Related Questions in JQUERY
- How to sort these using Javascript or Jquery Most effectively
- Ajax jQuery firing multiple time display event for the same result
- .hover() seems to overwrite .click()
- Check for numeric value with optional commas javascript
- Extending Highmaps Side Effect
- Array appending after each onclick and loop in javascript
- how can i append part of a table based on how many tr it has?
- Play multiple audio files in a slider
- Remove added set of rows
- Access property of an object of type [Model] in JQuery
- AJAX PHP - Reload div after submit
- proengsoft/laravel-jsvalidation ReferenceError: jQuery is not defined
- when a checkbox is checked how to display a different hidden element using javascript
- Get jquery error Uncaught RangeError: Maximum call stack size exceeded
- Removing only the closest thead on table filtering
Related Questions in AEM
- Impose component restriction to a series of parsys-CQ
- Can't install AEM and Sling plugin in eclipse
- Adobe CQ: Copy node from one CQ instance to another using crx/de
- How to include an existing component multiple times
- How to start a clean publishing instance and sync everything including OSGi bundles?
- How to create multi image component with image preview In adobe cq5?
- TouchUI Image disable upload in dialog
- How to add a custom button in rte plugin in aem/cq
- How can single instance of an OSGI factory configuration be read from Java in CQ
- How to stop sling scheduler work if inconsistent situation occures inside the job?
- Get JSP output within Servlet in AEM
- How to adapt a child node in sling model of aem6
- OSGi Component's default configuration value contains escaped backslash
- How to programatically delete revisions of a page in CQ5?
- Blog component doesn't work properly when change the name of page in AEM 6.0
Related Questions in JQUERY-FILE-UPLOAD
- jQuery file upload to S3 (and rails) with CORS headers
- upload and save image onclick of image
- Jquery file upload submits form on upload
- jQuery File Upload in AngularJS
- How to save multiple files to database rather than disk
- How does the jQuery file upload plugin gain reference to file content in IE9?
- Chunked file upload with angular-js and jquery-file-uplad, nginx and rails
- Unique id for blueimp jquery file upload
- How do I declare dropZone element in AngularJS version of File Upload?
- Mobile browsers ignoring Access-Control-Max-Age
- Upload background-image
- jQuery fileupload with hidden files
- jQuery-File-Upload progress
- JQuery multiple file upload
- jQuery / AngularJS - Upload file with AJAX
Related Questions in AEM-6
- AEM: using sling error handler: how do I redirect error originating from specific pages to a specific error page only
- what is the use of png.java in AEM
- how to store property value in jcr content level with out select radio button in touch ui Dialog in AEM 6.3
- AEM 6.3 404 errors with font files
- how to activate page with out creating version history data in aem
- how to activate page with out create version in author instance
- AEM Mocks: Problem with ResourceResolverType.JCR_OAK
- How to include 'Source Edit' plugin in RTE component in AEM 6.5?
- How To Enable Image Cropping in Touch UI Page Properties
- Add granite:data to cq dialog textfield
- Event listener when cq-FileUpload-clear is clicked
- AEM Multifield - Modifying values in multifield values
- Adobe AEM - Full copy of environment
- CSV file getting deleted from AEM PUBLISH on code deployment
- What is the Touch UI replacement of xtype tableedit2?
Related Questions in AEM-TOUCH-UI
- How to include 'Source Edit' plugin in RTE component in AEM 6.5?
- How To Enable Image Cropping in Touch UI Page Properties
- What is the Touch UI replacement of xtype tableedit2?
- AEM pathfield to allow selection of only child pages
- AEM - Predicate to list only immediate children
- Embedding custom component Touch UI dialogs within other custom component Touch UI dialogs
- Not able to remove components in Editable Template AEM
- How to programatically create pages in AEM with editable template
- Why image is not reflecting on page properties of touch UI dialog in AEM 6.2 after reloading?
- Is there any difference between _cq_dialog.xml _cq_dialog/.content.xml?
- How can I add an editable child component in another component using React in AEM?
- How to dynamically populate AEM page property dialog?
- How to copy a component from one page to another in touch UI AEM?
- Decimal number-field is not working in AEM touch UI dialog
- Restrict only a specific AEM DAM folder with a filetype
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
instead of writing an overlay and messing with Adobe's UI code (which might change without notice) I would rather go for one of the following two options:
This might seem like it is more complicated, but in the end, it is a one time change, with a configurable folder list and it has no dependencies to any overlays.
On top of that you will not have to check overlayed JS libs for changes with each fix that is installed on the machine.
HTH OliG