Can the character replacement string be changed for Journal Entries? | Community
Skip to main content
October 16, 2015
Solved

Can the character replacement string be changed for Journal Entries?

  • October 16, 2015
  • 6 replies
  • 1126 views

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.
Best answer by smacdonald2008

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

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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.

Sham_HC
Level 10
October 16, 2015

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

October 16, 2015

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. 

Sham_HC
Level 10
October 16, 2015

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

October 16, 2015

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.

Sham_HC
Level 10
October 16, 2015

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.