Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.
HTML

<div id="main-content" class="wiki-content group">
	<h1 id="TemplatesdeE-mailCustomizados-Índice">Index</h1>
	<p>
		<style type='text/css'>/*<![CDATA[*/
div.rbtoc1412695840628 {
	padding: 0px;
}
div.rbtoc1412695840628 ul {
	list-style: none;
	margin-left: 0px;
}
div.rbtoc1412695840628 li {
	margin-left: 0px;
	padding-left: 0px;
}
/*]]>*/
</style>
	<div class='toc-macro rbtoc1412695840628'>
		<ul class='toc-indentation'>
			<li><span class='TOCOutline'>1</span> <a
				href='#TemplatesdeE-mailCustomizados-Objetivo'>Objective</a></li>
			<li><span class='TOCOutline'>2</span> <a
				href='#TemplatesdeE-mailCustomizados-Introdução'>Introduction</a>
				<ul class='toc-indentation'>
					<li><span class='TOCOutline'>2.1</span> <a
						href='#TemplatesdeE-mailCustomizados-Impactosgerais'>General
							impacts</a></li>
					<li><span class='TOCOutline'>2.2</span> <a
						href='#TemplatesdeE-mailCustomizados-ImpactosnoscódigosJAVA'>Impacts
							on JAVA codes</a></li>
					<li><span class='TOCOutline'>2.3</span> <a
						href='#TemplatesdeE-mailCustomizados-Impactosnosarquivosfísicosdetemplate'>Impacts
							on template physical files</a></li>
					<li><span class='TOCOutline'>2.4</span> <a
						href='#TemplatesdeE-mailCustomizados-Impactosnoupdatedaversão1.3.0'>Impacts
							on version 1.3.0 update</a></li>
				</ul></li>
		</ul>
	</div>
	</p>
	<h1 id="TemplatesdeE-mailCustomizados-Objetivo">Objective</h1>
	<p>The goal of this guide is to inform the impacts, solutions and
		changes made in the version 1.3.0 email default templates.&#160;</p>
	<h1 id="TemplatesdeE-mailCustomizados-Introdução">Introduction</h1>
	<p>
		<span>E-mail template codes have had their names changed to
			facilitate maintenance and for the standardization of nomenclature.</span>
	</p>
	<p>
		<span><br /></span>
	</p>
	<p>
		<strong>Example:</strong>
	</p>
	<p>
		An event that was called <strong>APPROVE_TASK</strong> and had the
		template code <strong>TPL105</strong>, now has the code <strong>TPLAPPROVE_TASK.</strong>
		Note that the nomenclature pattern is prefixed <strong>TPL</strong> +
		<strong>(event code).</strong>
	</p>
	<p>
		A file named <strong>TPL105-pt.html</strong> was renamed to <strong>TPLAPPROVE_TASK-pt.html</strong>
	</p>
	<p>
		That new standard facilitated the maintenance of the template.
		Previously it was necessary to access the <em>html</em> file to map
		what template was being changed.
	</p>
	<p>&#160;</p>
	<p>&#160;</p>
	<h3 id="TemplatesdeE-mailCustomizados-Impactosgerais">General
		impacts</h3>
	<p>The codes and the names of the template physical files have been
		changed into Fluig default.</p>
	<p>The template HTML codes have been changed to follow a standard.</p>
	<p>These changes can affect customers and third-party applications
		that use custom templates.</p>
	<div class="aui-message hint shadowed information-macro">
		<p class="title">Note</p>
		<span class="aui-icon icon-hint">Icon</span>
		<div class="message-content">
			<p>
				<em>Default system events are pre-registered events on Fluig.
					Events that the client created are not considered default.</em>
			</p>
		</div>
	</div>
	<div class="aui-message warning shadowed information-macro">
		<p class="title">Note</p>
		<span class="aui-icon icon-warning">Icon</span>
		<div class="message-content">
			<p>
				<em>This change affects <em>only </em>the Fluig default events
				</em>
			</p>
		</div>
	</div>
	<p>&#160; &#160;</p>
	<p>&#160;</p>
	<h3 id="TemplatesdeE-mailCustomizados-ImpactosnoscódigosJAVA">Impacts
		on JAVA codes</h3>
	<p>The functions that specified any event code need to be changed
		to the new standard.</p>
	<p>&#160;</p>
	<p>
		<strong>For example:</strong>
	</p>
	<p>
		An event that was called <strong>APPROVE_TASK</strong> and had the
		template code <strong>TPL105</strong>, now has the code <strong>TPLAPPROVE_TASK.</strong>&#160;
	</p>
	<ul style="list-style-type: square;">
		<li>Note that the nomenclature pattern is prefixed&#160;<strong>TPL</strong>&#160;+&#160;<strong>(event
				code).</strong></li>
	</ul>
	<div class="aui-message hint shadowed information-macro">
		<p class="title">Note</p>
		<span class="aui-icon icon-hint">Icon</span>
		<div class="message-content">
			<p>
				<em>When the code is neither specified nor found, Fluig uses
					the e-mail default template.</em>
			</p>
		</div>
	</div>
	<p>
		<span><br /></span>
	</p>
	<p>
		<span>Example of JAVA calling for the event&#160;<strong>APPROVE_TASK</strong></span><span
			style="font-size: 10.0pt; line-height: 13.0pt;">:</span>
	</p>
	<div class="code panel pdl" style="border-width: 1px;">
		<div class="codeContent panelContent pdl">
			<pre class="theme: Confluence; brush: java; gutter: false"
				style="font-size: 12px;">notifier.notify("APPROVE_TASK", "TPL105", parameters, recipients, "text/html");</pre>
		</div>
	</div>
	<p>
		<span><br /></span>
	</p>
	<p>
		<span>Example of the new standard:</span>
	</p>
	<div class="code panel pdl" style="border-width: 1px;">
		<div class="codeContent panelContent pdl">
			<pre class="theme: Confluence; brush: java; gutter: false"
				style="font-size: 12px;">notifier.notify("APPROVE_TASK", "TPLAPPROVE_TASK", parameters, recipients, "text/html");</pre>
		</div>
	</div>
	<p>&#160;</p>
	<p>If you have questions about what the new template code is, the
		following EXCEL file maps the new codes with the old ones.</p>
	<p>
		<a href="attachments/146969092/147097582.xlsx">Mappings of updates
			to old templates</a>
	</p>
	<div class="aui-message warning shadowed information-macro">
		<p class="title">Note</p>
		<span class="aui-icon icon-warning">Icon</span>
		<div class="message-content">
			<p>
				<em>The templates created and customized by the customer that
					are not Fluig default events have not been affected.</em>
			</p>
		</div>
	</div>
	<p>&#160;</p>
	<p>&#160;</p>
	<h3
		id="TemplatesdeE-mailCustomizados-Impactosnosarquivosfísicosdetemplate">Impacts
		on template physical files</h3>
	<p>The default template files have also had their names changed.
		Those who used the default now have their own template with the
		following standard:</p>
	<p>
		A file named <strong>TPL105-pt.html</strong> of event <strong>APPROVE_TASK&#160;</strong>
		was renamed to <strong>TPLAPPROVE_TASK-pt.html</strong>
	</p>
	<p>
		The event&#160;<strong>APPROVE_TASK_RESPONSABLE,</strong>&#160;which
		had no template now has the <strong>TPL<strong>APPROVE_TASK_RESPONSABLE</strong></strong>-<strong>pt.html.</strong>
	</p>
	<div class="aui-message warning shadowed information-macro">
		<p class="title">Note</p>
		<span class="aui-icon icon-warning">Icon</span>
		<div class="message-content">
			<p>
				<em>The templates created and customized by the customer that
					are not Fluig default events have not been affected.</em>
			</p>
		</div>
	</div>
	<p>&#160; &#160;</p>
	<p>&#160;</p>
	<h3 id="TemplatesdeE-mailCustomizados-Impactosnoupdatedaversão1.3.0">Impacts
		on version 1.3.0 update</h3>
	<p>
		To update the Fluig installation to version 1.3.0, the default
		templates are moved from the folder&#160;<strong>tempaltes\tpl
		</strong>(template default folder) to the folder&#160;<strong><span
			style="font-size: 10.0pt; line-height: 13.0pt;">templates\tplmail_backup</span></strong><span
			style="font-size: 10.0pt; line-height: 13.0pt;">&#160;and the
			new default templates in the new version and new nomenclature pattern
			are added again. Therefore, if the client has changed any physical
			file of a default event, that file will be in the backup folder and
			the client will have to update the event template again.</span>
	</p>
	<p>
		<strong><br /></strong>
	</p>
	<p>
		<strong>Example:</strong>
	</p>
	<p>
		If the client, in the previous version, changed to the event <strong>CREATE_DOCUMENT</strong>
		the default template file for <strong>template_create_document-pt.html.</strong>&#160;The
		update process will delete this file and will replace it with the new
		default file &#160;<strong>TPLCREATE_DOCUMENT-pt.html</strong><strong>&#160;</strong>and
		move the file&#160;<strong>template_create_document-pt.html&#160;</strong>to
		the backup folder.&#160;
	</p>
	<p>
		For the user to go back to their version, it is only necessary to
		update the file&#160;<strong>template_create_document-pt.html&#160;</strong>again.
	</p>
	<div class="aui-message warning shadowed information-macro">
		<p class="title">Note</p>
		<span class="aui-icon icon-warning">Icon</span>
		<div class="message-content">
			<p>
				<em>The templates created and customized by the customer that
					are not the system default events have not been affected.</em>
			</p>
		</div>
	</div>
	<p>&#160;</p>
	<p>&#160;</p>
	<p>&#160;</p>
	<p>&#160;</p>
	<p>&#160;</p>
</div>