cancel
Showing results for 
Search instead for 
Did you mean: 

hyperlink in notification email

Former Member
0 Kudos

hello!

i configured notification about approval workflow via email. now i would like to add the link to the portal to the text of the email. how can i include a hyperlink in the xml-file of the notification?

thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

thank you for your answer roland. i knew that - what i would like to know are the possible xml-tags in these files. i would like to inklude a hyperlink in a file and i do not know how to tag in the km-xml.

matthias

DirkLehmann
Advisor
Advisor
0 Kudos

Hi Matthias,

the XML/XSL is more or less free to be completly rewritten to fit your needs. (as long as the files are valid XML files).

Here's how the mechanism works:

In the top section of the XSL there are some empty parameters. These parameters will be filled by KM Pipeline Service, which is called to create the HTML notifications. The Pipeline Service will load the XML aswell as the XSL, add some meaningful values to the XSL properties and then transform the XML to a HTML mail, by the rules of the XSL.

So a standard XSLT will take place. You can simulate this with every XML/XSL Editor/Tool of your chooise that supports XSLT. (e.g. for windows machines google for "Cooktop" (and "Xalan" as Transformer))

If you simply would like to add a link to the HTML mail (and keep the rest of the mail as it is), simply add the link (as HTML Tag <a href="...">bla</a>) to the XSL. (Somewhere at the top you'll see the XSL defining the HTML Frame for the mail. Simply add your link somewhere in here.) For quick and easy testing reasons, please use a XSLT compatible tool....

Hope this clears things up a little...

Dirk

Answers (2)

Answers (2)

Krasle
Advisor
Advisor
0 Kudos

Hi Matthias,

You might have a look at this post for more info on

notifications.

Regards,

Darin

former_member195891
Active Participant
0 Kudos

Hello Matthias,

The notificatior service of KMC uses XML based templates for creating the email notifications. You find them in the directory /root/etc/notifications (path in KM). The path on the filesystem could be found by just checking the etc file system repository manager.

In this directoy you find xml and corresponding xsl files which could be modified.

Please keep in mind that they could be overwritten when applying KM patches/hotfixes.

Kind regards,

Roland