<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Apcurrier</id>
		<title>SDU - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Apcurrier"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Special:Contributions/Apcurrier"/>
		<updated>2026-04-18T01:34:34Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Change_e-mail_subject&amp;diff=3870</id>
		<title>Change e-mail subject</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Change_e-mail_subject&amp;diff=3870"/>
				<updated>2009-05-14T20:37:39Z</updated>
		
		<summary type="html">&lt;p&gt;Apcurrier: Instructions for changing the subject line of Knowledge Documents sent by e-mail&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Release R11.2&lt;br /&gt;
Knowledge Tools&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I needed to change the e-mail subject on e-mails that were sent out from Knowledge Tools. &lt;br /&gt;
This document describes how to make this change.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, edit the kt_document_view.htmpl  which is found in Web Screen Painter under the Interface &amp;quot;Default&amp;quot; and &amp;quot;Default&amp;quot; group.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a function called EmailDocument. In this function is a variable called url (around line 341) which spans multiple lines.  I added another line:&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&amp;quot;+KEEP.DOC_TITLE=&amp;quot; + &amp;quot;$args.TITLE&amp;quot; +&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
This is passing the title in the URL so we can read it from the e-mail page. As the title is truncated at 80 characters, there should be no URL line length issues.&lt;br /&gt;
&lt;br /&gt;
The next document I edited was kt_email_document.htmpl which is under the &amp;quot;Analyst&amp;quot; Interface and &amp;quot;Default&amp;quot; group. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Around line 317 the subject is defined. I changed it from:&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
document.frm.txtSubject.value = &amp;quot;Knowledge Document: &amp;quot; + &amp;quot;$args.KEEP.DOC_ID&amp;quot;;&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
to:&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
document.frm.txtSubject.value = &amp;quot;Knowledge Document: &amp;quot; + &amp;quot;$args.KEEP.DOC_ID &amp;quot; + &amp;quot;$args.KEEP.DOC_TITLE&amp;quot;;&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Save and publish both pages (no service restart required) and test the functionality.  Open a KB article and click on the &amp;quot;email&amp;quot; link. &lt;br /&gt;
Send a copy to yourself - you will find the e-mail subject format will have changed from:&lt;br /&gt;
&lt;br /&gt;
Knowledge Base Document : ######&lt;br /&gt;
&lt;br /&gt;
to:&lt;br /&gt;
 &lt;br /&gt;
Knowledge Base Document : ###### &amp;lt;KB title&amp;gt;&lt;/div&gt;</summary>
		<author><name>Apcurrier</name></author>	</entry>

	</feed>