Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Which DAM file and method should I modify to add an autocorrect?

Avatar

Level 5

Hi, I want to implement an autocorrect so that when the user uploads an asset in DAM, if it contains characters, it will remove them when the user clicks on upload.

For example if the user uploads a file called green+apple.jpg and click on upload, the asset will now be called greenapple.jpg.

I have been researching and modifying the files:

fileupload.js
util.js

But I can't do it, the only thing I could do is to modify the dialog that shows the warning if it contains characters but I don't want that, I want to change the name of the asset eliminating the characters when it is going to be uploaded.

Aaron_Dempwolff_0-1695394936656.png

Aaron_Dempwolff_1-1695394991246.png

 

1 Reply

Avatar

Employee

I don't know the answer, but FYI: users can upload assets also by simply dragging them into the browser window.