cancel
Showing results for 
Search instead for 
Did you mean: 

Email Subject in Subscription Notification - customize wording?

yannfloch
Advisor
Advisor
0 Kudos

Hi all,

we use EP6 NW04SPS11.

Our users have discussions in Collaboration Rooms to which they can subscribe. Then they get an Email containing a link to the discussion.

The Problem: in the email the word "subscription" is not really optimal, so we took the SUBSCRIPTIONADMIN_de.xml from etc/notifications to change the text in the mail body.

But i can't find the place where the subject of the email is generated, there we always have the text "Subskription "<DiscussionTitle>". There had been an great discussion thread with doku about this but the Email Subject is still an open issue

Any ideas out there ?

regard, yann

Accepted Solutions (0)

Answers (1)

Answers (1)

DirkLehmann
Advisor
Advisor
0 Kudos

Hi Yann,

this is a little bit tricky, though.

The subject is taken from a property file inside this JAR:

<i>\usr\sap\{REL}\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.repository.service\private\lib\km.appl.repository.service.app.subscription_core.jar</i>

When you open this JAR you'll find several translated property files. (Res_??.properties)

Inside these files you'll find the mailing subjects.

I'm not sure if this trick works...: Unzip the JAR, edit the file, zip the JAR. Test if this works...

Maybe you'll have to redeploy the PAR (that contains the JAR). The PAR could be found here:

<i>\usr\sap\{REL}\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\com.sap.km.cm.repository.service.par.bak</i>

Simply rename the par from <i>.par.bak</i> to <i>.par</i> (after changing the JARs content) then restart the portal. This will redeploy the PAR, with its content. This should do it, if the first one doesn't...

Puh...I guess this should do it.

Hope this works!

Regards

Dirk

yannfloch
Advisor
Advisor
0 Kudos

Hi Dirk,

last but not least...your hints were very helpful, thanks!

The property files didn't seem to contain the mail subject (but the body), but i found a class "SubscriptionNotification" which i decompiled and i think that the subject in the email is build of "<localized event name>+<name of the subscription>", for example 'Subskription "Test"'. That means that i have to look for the translated eventname....the hunting goes on...

best regards

yann

Former Member
0 Kudos

Hi Yann,

we have the same requirement... Did you find the corresponding jar ?

Regards

Flo