Skip to main content
Oct 16, 2015 2:27 AM UTC
Solved

Can the character replacement string be changed for Journal Entries?

We are implementing journal entries in our AEM 5.6.1 implementation. When a user saves an entry and the title has spaces or other illegal characters, the characters get replaced with an underscore (_); Is there an OSGi setting or some other way to change that character to a hyphen, like the page manager does in the site admin? Our SEO department insists on using hyphens.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

If there is no information on this in the AEM docs -- please file a bug at: http://helpx.adobe.com/marketing-cloud/experience-manager.html.

6 replies

Sham_HC
Level 10
Oct 16, 2015 2:27 AM UTC

Patrick Dumontel wrote...

Sham HC wrote...

Patrick Dumontel wrote...

The name of the page is not a parameter; and changing the title is not a good idea because it still needs to be the jcr:title property. Filter could be good, but again, the name resolution is going to happen inside JournalImpl from the title. 

 

what is JournalImpl reffered here? please eloborate more

 

The actual class would actually be JournalEntryImpl, the implementation of the JournalEntry interface, CollabUtil.save does the actual saving of the page.

 

Sorry!! I completely forgot about Social Journal.   No idea here. 

Translate
Oct 16, 2015 2:27 AM UTC

Sham HC wrote...

Patrick Dumontel wrote...

The name of the page is not a parameter; and changing the title is not a good idea because it still needs to be the jcr:title property. Filter could be good, but again, the name resolution is going to happen inside JournalImpl from the title. 

 

what is JournalImpl reffered here? please eloborate more

 

The actual class would actually be JournalEntryImpl, the implementation of the JournalEntry interface, CollabUtil.save does the actual saving of the page.

Translate
Sham_HC
Level 10
Oct 16, 2015 2:27 AM UTC

Patrick Dumontel wrote...

The name of the page is not a parameter; and changing the title is not a good idea because it still needs to be the jcr:title property. Filter could be good, but again, the name resolution is going to happen inside JournalImpl from the title. 

 

what is JournalImpl reffered here? please eloborate more

Translate
Oct 16, 2015 2:27 AM UTC

Sham HC wrote...

no such settings in osgi. You need to prevent by validating/changing at client side. at server side use filter or listener. 

 

The name of the page is not a parameter; and changing the title is not a good idea because it still needs to be the jcr:title property. Filter could be good, but again, the name resolution is going to happen inside JournalImpl from the title. 

Translate
Sham_HC
Level 10
Oct 16, 2015 2:27 AM UTC

no such settings in osgi. You need to prevent by validating/changing at client side. at server side use filter or listener. 

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:27 AM UTC

If there is no information on this in the AEM docs -- please file a bug at: http://helpx.adobe.com/marketing-cloud/experience-manager.html.

Translate