Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Can we change the allowed special character in assets name settings?

Avatar

Level 7

akshaybhujbale_0-1664455987296.jpeg

Hi Can we change this not allowed characters in assets name ?

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Employee

You may check : /libs/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js

You may weneed to overlay the above node (fileupload.js) and make the required changes in it.

Changes to be made in overlay location (/apps/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js):

 

Screenshot 2022-09-29 at 10.31.41 PM.png

Avatar

Level 7

HI @digarg 

Do you know which is url encoding technique used by aem.

Ex. If our file name is "jcr:content" 

akshaybhujbale_1-1664509436856.png

But the encoded path of this file is 

http://localhost:4503/editor.html/content/dam/specialcharacters/jcr-content

then to encode this jcr:content to jcr-content which is the ecoding technique used by aem.

 

Avatar

Correct answer by
Community Advisor

Hi,

This is not encoding but sling resources mapping

https://sling.apache.org/documentation/the-sling-engine/mappings-for-resource-resolution.html#namesp... 

 



Arun Patidar