Customizing Asset Upload Dialog
Customizing Asset Upload Dialog We have seen in the previous blogs that how we can detect duplicate assets, but once this feature is enabled it will be applied to each and every asset you are uploading. So, if you don’t want it to be applied for some assets or you want to have control over whether or not you want to get duplicates of an asset, then you can customize asset dialog then have a control over this feature. Let’s find out how to do this. Asset Upload Dialog looks something like as shown in below screenshot. Now I want to toggle between applying duplicate asset feature or not. So, I am adding one checkbox to the above dialog when this is checked it will call duplicate asset feature, else it won’t call. In order to achieve this, follow below steps. First step is to find the script that is responsible to render this dialog. After debugging, I found that " /libs/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js " ...