Expand my Community achievements bar.

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

Can the character replacement string be changed for Journal Entries?

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

6 Replies

Avatar

Correct answer by
Level 10

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.

Avatar

Level 10

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

Avatar

Level 1

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. 

Avatar

Level 10

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

Avatar

Level 1

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.

Avatar

Level 10

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.