Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Title field and special characters

Avatar

Level 1

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 3

@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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 3

@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

Avatar

Administrator

@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.



Kautuk Sahni