By the way I solved my problem with the help of the org.apache.sling.commons.mime.internal.MimeTypeServiceImpl.cfg.json.I added to default values of the config my mimetype:{ "mime.types": ""text/x-yaml yaml yml"}and the response header "Content-Type" changed from "application/octet-stream" to the "...
Hi, I have some yaml files loaded as dam assets and some of yaml files are directly uploaded under the /content/project/page/jcr:content/root/myComponent/file with the help of cq/gui/components/authoring/dialog/fileupload. When I try to get the content of the files(for example /content/dam/projec...
By the way I have successfully added json file under content/dam. I uploaded json file as asset to dam and added /jcr:content/renditions/original to the file path, for example: /content/dam/my-project/metadata-dropdown-products.json/jcr:content/renditions/original
Hello, I need to validate json/yaml files prior to loading it to the assets in AEM 6.5, if the file is not valid than show an error to the author, if it is valid than just upload it. Right now I am trying to overlay and customize the upload.js file which is meant for handle the "Upload" button, if...