Home
Analytics
Changing the subject line in an iHub job completion notification
CodeRookie
<p>Good morning, all! I was approached by a user with a question about being able to change the subject line content in the iHub job completion notification. I am looking at the <strong>acnotification.xml</strong> file, and see that the <strong><subject></subject></strong> is hard coded as '<strong>Actuate iHub Notification</strong>'. Further down in the file, I see where there are insert statements using variables, '<strong>jobType</strong>', '<strong>reportLink</strong>', '<strong>jobCompletion</strong>'. Would it be possible to create a variable, say '<strong>jobName</strong>', and do something like:</p>
<p> </p>
<p><strong><subject><insert variable="jobName"> Notification</subject></strong></p>
<p> </p>
<p>If this might be a possibility, where would I begin the process?</p>
<p> </p>
<p>Thanks for any help provided!</p>
<p> </p>
<p>Scott</p>
<p> </p>
Find more posts tagged with
Comments
jneneman
<p>Hi Scott,</p>
<p> </p>
<p>You can certianly make the change noted above. You would simply:</p>
<p>1 - backup your current acnotification.xml file</p>
<p>2 - Stop the iServer/iHub</p>
<p>3 - Modify the acnotification.xml to have a subject noted as: <strong><subject><insert variable="jobName"> Notification</subject></strong></p>
<p>4 - Start the iServer/iHub</p>
<p> </p>
<p>Then you could test. If you have a variable that isn't valid you'll see an error: <Unknown template variable: xxxxx>. jobName is one of the available variables. Here is a link to the functionality of the acnotification.xml that also includes the possible variables that could be used:</p>
<p><a data-ipb='nomediaparse' href='
http://developer.actuate.com/be/documentation/R11SP4/mc/help/wwhelp/wwhimpl/js/html/wwhelp.htm#href=admin/about-adsys.html'>http://developer.actuate.com/be/documentation/R11SP4/mc/help/wwhelp/wwhimpl/js/html/wwhelp.htm#href=admin/about-adsys.html</a></p>
;
CodeRookie
<p>Thanks for the quick response, Jeffrey! I will look at following those steps.</p>
<p> </p>
<p>Have a great day!</p>
<p> </p>
<p>Scott</p>
CodeRookie
<p>Worked like a charm! Thanks so much for the help!!</p>
<p> </p>
<p>Scott</p>