Á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="ConfigurarAplicativosEMSnoFluig-Índice">Contents</h1>
	<p>
		<style type='text/css'>/*<![CDATA[*/
div.rbtoc1412695481224 {
	padding: 0px;
}
div.rbtoc1412695481224 ul {
	list-style: none;
	margin-left: 0px;
}
div.rbtoc1412695481224 li {
	margin-left: 0px;
	padding-left: 0px;
}
/*]]>*/
</style>
	<div class='toc-macro rbtoc1412695481224'>
		<ul class='toc-indentation'>
			<li><span class='TOCOutline'>1</span> <a
				href='#ConfigurarAplicativosEMSnoFluig-ConfiguraçãodeAplicativoEMSnoFluig'>Configure
					EMS applications on platform</a>
				<ul class='toc-indentation'>
					<li><span class='TOCOutline'>1.1</span> <a
						href='#ConfigurarAplicativosEMSnoFluig-CadastrandooAdapter'>Registering
							the Adapter</a></li>
					<li><span class='TOCOutline'>1.2</span> <a
						href='#ConfigurarAplicativosEMSnoFluig-Cadastrandooaplicativo'>Registering
							the application</a></li>
					<li><span class='TOCOutline'>1.3</span> <a
						href='#ConfigurarAplicativosEMSnoFluig-PublicandoumAplicativo'>Publishing
							an application</a></li>
					<li><span class='TOCOutline'>1.4</span> <a
						href='#ConfigurarAplicativosEMSnoFluig-Configurandoosparâmetrosvariáveis'>Configuring
							the variable parameters</a></li>
				</ul></li>
			<li><span class='TOCOutline'>2</span> <a
				href='#ConfigurarAplicativosEMSnoFluig-ThirdPartyTrademarks'>Third-Party
					Trademarks</a></li>
		</ul>
	</div>
	</p>
	<p>&#160;</p>
	<h1
		id="ConfigurarAplicativosEMSnoFluig-ConfiguraçãodeAplicativoEMSnoFluig">Configure
		EMS applications on TOTVS Fluig Platform</h1>
	<p>In order to execute EMS programs, it is necessary to configure
		the Adapter and the Application.</p>
	<p>&#160;</p>
	<p>
		<img class="confluence-embedded-image image-center"
			src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2013%3A47%3A43.png?version=1&modificationDate=1378917992000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2013%3A47%3A43.png?version=1&modificationDate=1378917992000&api=v2">
	</p>
	<p>&#160;</p>
	<h3 id="ConfigurarAplicativosEMSnoFluig-CadastrandooAdapter">Registering
		the Adapter</h3>
	<p>First, it is necessary to register an adapter that uses the file
		emshradapter.jar. For such, it is necessary to add a new adapter and
		on the JAR File inform:&#160;&#160;</p>
	<div class="code panel pdl" style="border-width: 1px;">
		<div class="codeContent panelContent pdl">
			<pre class="theme: Confluence; brush: xml; gutter: false"
				style="font-size: 12px;">{$WDKPROTOCOL}://{$WDKHOST}:{$WDKPORT}/{$WDKWEBHOME}/utils/emshradapter.jar</pre>
		</div>
	</div>
	<p>&#160;</p>
	<p>
		The <em>Adapter</em> functionality is available in the <em>Control
			Panel</em> menu, </em>Documents <em>tab. 
	</p>
	<p>
		<img class="confluence-embedded-image image-center"
			src="http://tdn.totvs.com/download/attachments/74645637/2-ems.png?version=1&modificationDate=1409253224000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/74645637/2-ems.png?version=1&modificationDate=1409253224000&api=v2">
	</p>
	<p>&#160;</p>
	<h3 id="ConfigurarAplicativosEMSnoFluig-Cadastrandooaplicativo">Registering
		the application</h3>
	<p>After registering the adapter, it is necessary to create the
		application that will execute the EMS.</p>
	<p>Click on add and enter the application code and description,
		select the adapter from the EMS and, in the command line field,
		insert:&#160;</p>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;</span>
	</p>
	<div class="code panel pdl" style="border-width: 1px;">
		<div class="codeContent panelContent pdl">
			<pre class="theme: Confluence; brush: xml; gutter: false"
				style="font-size: 12px;">{$PARAM_path_PROGRESS}\bin\prowin32.exe -pf {$PARAM_pf} -basekey ini -ininame {$PARAM_ininame} -p men\men906za.p</pre>
		</div>
	</div>
	<p>
		<img class="confluence-embedded-image image-center"
			src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2013%3A55%3A28.png?version=1&modificationDate=1378918458000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2013%3A55%3A28.png?version=1&modificationDate=1378918458000&api=v2">
	</p>
	<p>&#160;</p>
	<p>&#160;</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>For unified banks, a new alias file must be created, where the
				RUN command will be changed, informing the value men/men906za.p.</p>
			<p>And on the application command line, the parameter –p must be
				informed with the path to the new alias file. Example:</p>
			<div class="code panel pdl" style="border-width: 1px;">
				<div class="codeContent panelContent pdl">
					<pre class="theme: Confluence; brush: xml; gutter: false"
						style="font-size: 12px;">{$PARAM_path_PROGRESS}\bin\prowin32.exe –pf {$PARAM_pf} -basekey ini -ininame {$PARAM_ininame} –p f:\datasul\ems\alias.p</pre>
				</div>
			</div>
		</div>
	</div>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;">It is
			also necessary to add seven parameters in the <em>Parameters</em>
			table in the application registration. To include a parameter, just
			click on <em>Add</em>.
		</span>
	</p>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;"><img
			class="confluence-embedded-image image-center"
			src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2015%3A27%3A37.png?version=1&modificationDate=1378923986000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2015%3A27%3A37.png?version=1&modificationDate=1378923986000&api=v2"></span>
	</p>
	<p>Registered parameters must be configured according to the
		following table:</p>
	<div class="table-wrap">
		<table class="confluenceTable">
			<tbody>
				<tr>
					<td class="highlight-grey confluenceTd"
						data-highlight-colour="grey"><p>
							<strong>Parameter</strong>
						</p></td>
					<td class="highlight-grey confluenceTd"
						data-highlight-colour="grey"><p>
							<strong>Value</strong>
						</p></td>
					<td class="highlight-grey confluenceTd"
						data-highlight-colour="grey"><p>
							<strong>Variable per User</strong>
						</p></td>
					<td class="highlight-grey confluenceTd"
						data-highlight-colour="grey"><p>
							<strong>Password Format</strong>
						</p></td>
				</tr>
				<tr>
					<td class="confluenceTd"><p>company</p></td>
					<td class="confluenceTd"><p>1 (EMS Company, usually 1)</p></td>
					<td class="confluenceTd"><p>No</p></td>
					<td class="confluenceTd"><p>No</p></td>
				</tr>
				<tr>
					<td class="confluenceTd"><p>ininame</p></td>
					<td class="confluenceTd"><p>Inform the INI file path used
							in the EMS shortcut. Ex: \\servidor\ems\scripts\progress.ini</p></td>
					<td class="confluenceTd"><p>Optional. If the path is the
							same for all users, there is no need to be variable.</p></td>
					<td class="confluenceTd"><p>No</p></td>
				</tr>
				<tr>
					<td class="confluenceTd"><p>password</p></td>
					<td class="confluenceTd"><p>Inform the user password in
							EMS</p></td>
					<td class="confluenceTd"><p>Yes</p></td>
					<td class="confluenceTd"><p>Yes</p></td>
				</tr>
				<tr>
					<td class="confluenceTd"><p>path_PROGRESS</p></td>
					<td class="confluenceTd"><p>
							Inform the installation directory path for Progress® on the
							user’s machine. <span
								style="font-size: 10.0pt; line-height: 13.0pt;">Example:
								C:\dlc101b</span>
						</p></td>
					<td class="confluenceTd"><p>Yes</p></td>
					<td class="confluenceTd"><p>No</p></td>
				</tr>
				<tr>
					<td class="confluenceTd"><p>pf</p></td>
					<td class="confluenceTd"><p>Inform the PF file path used
							in the EMS shortcut. Ex: \\servidor\ems\scripts\ems.pf</p></td>
					<td class="confluenceTd"><p>Optional. If the path is the
							same for all users, there is no need to be variable.</p></td>
					<td class="confluenceTd"><p>No</p></td>
				</tr>
				<tr>
					<td class="confluenceTd"><p>product</p></td>
					<td class="confluenceTd"><p>
							Inform the product that will be executed (EMS2, EMS5 or HR). <span
								style="font-size: 10.0pt; line-height: 13.0pt;">For
								EMS2.04, use EMS2.</span>
						</p></td>
					<td class="confluenceTd"><p>No</p></td>
					<td class="confluenceTd"><p>No</p></td>
				</tr>
				<tr>
					<td class="confluenceTd"><p>user</p></td>
					<td class="confluenceTd"><p>Inform the access user to EMS</p></td>
					<td class="confluenceTd"><p>Yes</p></td>
					<td class="confluenceTd"><p>No</p></td>
				</tr>
			</tbody>
		</table>
	</div>
	<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>The parameters must be with the coed exactly as shown in
				column Table parameter above, respecting capitalization.</p>
		</div>
	</div>
	<p>
		To ensure that the command line is correctly configured, a simple test
		can be made in Windows® Execute.&#160;<span
			style="font-size: 10.0pt; line-height: 13.0pt;">Substitute the
			parameters in the command line for the real values and execute it.</span>
	</p>
	<p>For example, change</p>
	<div class="code panel pdl" style="border-width: 1px;">
		<div class="codeHeader panelHeader pdl"
			style="border-bottom-width: 1px;">
			<b>From:</b>
		</div>
		<div class="codeContent panelContent pdl">
			<pre class="theme: Confluence; brush: xml; gutter: false"
				style="font-size: 12px;">{$PARAM_path_PROGRESS}\bin\prowin32.exe -pf {$PARAM_pf} -basekey ini -ininame {$PARAM_ininame} -p men\men906za.p</pre>
		</div>
	</div>
	<div class="code panel pdl" style="border-width: 1px;">
		<div class="codeHeader panelHeader pdl"
			style="border-bottom-width: 1px;">
			<b>To:</b>
		</div>
		<div class="codeContent panelContent pdl">
			<pre class="theme: Confluence; brush: xml; gutter: false"
				style="font-size: 12px;">c:\dlc101b\bin\prowin32.exe -pf f:\ems\scripts\ems.pf  -basekey ini -ininame f:\ems\scripts\progress.ini -p men\men906za.p</pre>
		</div>
	</div>
	<p>&#160;</p>
	<h3 id="ConfigurarAplicativosEMSnoFluig-PublicandoumAplicativo">Publishing
		an Application</h3>
	<p>In order to configure a program in EMS, it is necessary to
		publish a new application under a folder.</p>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;"><img
			class="confluence-embedded-image image-center"
			src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2014%3A12%3A57.png?version=1&modificationDate=1378919506000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2014%3A12%3A57.png?version=1&modificationDate=1378919506000&api=v2"></span>
	</p>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;</span>
	</p>
	<p>The EMS application previously configured must be selected, and
		in the Parameter field, the constant “Program:” must be informed, plus
		the EMS program path that will be executed. Example:</p>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;</span>
	</p>
	<div class="code panel pdl" style="border-width: 1px;">
		<div class="codeContent panelContent pdl">
			<pre class="theme: Confluence; brush: xml; gutter: false"
				style="font-size: 12px;">Program:btb/btb001aa.w</pre>
		</div>
	</div>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;"><img
			class="confluence-embedded-image image-center"
			src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2014%3A14%3A34.png?version=1&modificationDate=1378919604000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2014%3A14%3A34.png?version=1&modificationDate=1378919604000&api=v2"></span>
	</p>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;</span>
	</p>
	<p>&#160;Publishing the application, a link will be created on the
		selected folder. When clicking on the link, the program informed in
		the application parameters will be open.</p>
	<p>&#160;</p>
	<h3
		id="ConfigurarAplicativosEMSnoFluig-Configurandoosparâmetrosvariáveis">Configuring
		the variable parameters</h3>
	<p>
		<span style="font-size: 10.0pt; line-height: 13.0pt;">&#160;</span>
	</p>
	<p>Since some parameters are variables, each user must access the
		User Preferences and configure these parameters. For example, the path
		for Progress®, EMS user name and password.</p>
	<p>
		<img class="confluence-embedded-image"
			src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2014%3A18%3A52.png?version=1&modificationDate=1378919861000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/74645637/image2013-9-11%2014%3A18%3A52.png?version=1&modificationDate=1378919861000&api=v2">
	</p>
	<p>&#160;</p>
	
	<p>&#160;</p>
</div>