Title field and special characters | Community
Skip to main content
Level 2
Sep 22, 2023 4:04 PM UTC
Solved

Title field and special characters

Hello,

 

I am curious if there is a way to adjust the logic for the page title field in AEM to strip out special characters instead of replacing the character with a hypen.

 

Example:

Title: I am a title, with a comma

AEM Name/URL: i-am-a-title--with-a-comma

Expectation: i-am-a-title-with-a-comma

 

I feel like this is something that should just work OOTB.

 

- E

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
adivj95
adivj95Accepted solution
Level 2
Sep 23, 2023 4:16 AM UTC

@edardna 
This JSP is executed during page creation through the Sites Console, at the location: /libs/cq/gui/components/siteadmin/admin/createpagewizard/page/POST.jsp.
You may consider overlaying this file and incorporating your custom logic

3 replies

kautuk_sahni
Employee
Sep 25, 2023 1:44 PM UTC

@edardna Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Translate
Kautuk Sahni
A_H_M_Imrul
New Participant
Sep 23, 2023 5:16 AM UTC
adivj95
adivj95Accepted solution
Level 2
Sep 23, 2023 4:16 AM UTC

@edardna 
This JSP is executed during page creation through the Sites Console, at the location: /libs/cq/gui/components/siteadmin/admin/createpagewizard/page/POST.jsp.
You may consider overlaying this file and incorporating your custom logic

Translate