Á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">
	<script type='text/javascript'>
		//<![CDATA[
		AJS.toInit(function() {
			if (Cloak) {
				Cloak.closeHTML = "<span class=\'cloakDefaultClose\'/>";
				Cloak.openHTML = "<span class=\'cloakDefaultOpen\'/>";
				Cloak.toggleZone = true;
				Cloak.memoryDuration = 0;
				Cloak.memoryPrefix = "contentId:108659933";
				Cloak.memoryPath = "/";
			}
		});// ]]>
	</script>
	<script type='text/javascript'>
		//<![CDATA[
		AJS.toInit(function() {
			if (jQuery.composition && jQuery.composition.deck) {
				jQuery.composition.deck.memoryDuration = 0;
			}
		});// ]]>
	</script>
	<h1 id="id-2.Configuração-ConfiguraçõesnoLogix">
		<span style="color: rgb(0, 51, 102);">Logix Settings</span>
	</h1>
	<p>
		To configure the integration of Fluig with Logix, the&#160;<em>profile</em>
		file must be modified, and the following parameters added:
	</p>
	<style type="text/css">
.comment {
	color: #008000;
}
.parameter {
	color: blue;
}
.value {
	color: red;
}
</style>
	<pre>
<span class="comment">#Key to enable the integration of LOGIX with ECM, where:
#true = enabled
#false = disabled</span>
<span class="parameter">logix.ecm.enabled</span>=<span class="value">true</span>
<span class="comment">#URL to find ECM</span>
<span class="parameter">logix.ecm.url</span>=<span class="value">http://localhost:8080/webdesk/</span>
<span class="comment">#Integrating user, this user must exist both in LOGIX and in ECM</span>
<span class="parameter">logix.ecm.user</span>=<span class="value">admlogix</span>
<span class="comment">#Password of integrating user</span>
<span class="parameter">logix.ecm.userPassword</span>=<span
			class="value">********</span>
<span class="comment">#Code of ECM company that will be used in LOGIX</span>
<span class="parameter">logix.ecm.company</span>=<span class="value">1</span>
<span class="comment">#IP or DNS of FTP server of ECM</span>
<span class="parameter">logix.ecm.ftpHost</span>=<span class="value">localhost</span>
<span class="comment">#Port of FTP server of ECM</span>
<span class="parameter">logix.ecm.ftpPort</span>=<span class="value">21</span>
<span class="comment">#Number of days for expiration of documents posted by LOGIX (default 4015)</span>
<span class="parameter">logix.ecm.docExpiration</span>=<span
			class="value">365</span>
<span class="comment">#Indicates whether the XMLs sent through the WF will be saved in the LOGIX server</span>
<span class="parameter">logix.ecm.wsSaveXml</span>=<span class="value">true</span>
<span class="comment">#Indicates whether the tool being used is Fluig or ECM</span>
<span class="parameter">logix.ecm.isFluig</span>=<span class="value">true</span>
</span>
</pre>
	<h1 id="id-2.Configuração-ConfiguraçõesnoFluig">
		<span style="color: rgb(0, 51, 102);">Settings in Fluig</span>
	</h1>
	<p>In Fluig, two custom Datasets are needed to activate integration
		with the ERP Logix.</p>
	<h3 id="id-2.Configuração-ServiçoWSECMSERVICELOGIX">
		<span style="color: rgb(0, 51, 102);">WSECMSERVICELOGIX Service</span>
	</h3>
	<p>The WSECMSERVICELOGIX service that allows the execution of Logix
		routines through Web Service from Fluig will need to be created in
		Fluig. This service is created through Fluig Studio, as shown in the
		image below.&#160;</p>
	<p>
		<img class="confluence-embedded-image"
			src="http://tdn.totvs.com/download/attachments/108659933/WSECMSERVICELOGIX.jpg?version=1&modificationDate=1405025383000&api=v2"
			data-image-src="http://tdn.totvs.com/download/attachments/108659933/WSECMSERVICELOGIX.jpg?version=1&modificationDate=1405025383000&api=v2">
	</p>
	<p>
		The path of the service will be similar to:&#160;<a rel="nofollow">http://[SERVIDOR-HTTP-LOGIX]:[PORTA-HTTP-LOGGIX]/WSECMSERVICELOGIX.apw?WSDL</a>.
	</p>
	<h3 id="id-2.Configuração-DatasetLogixServerDS">
		<span style="color: rgb(0, 51, 102);">Dataset LogixServerDS</span>
	</h3>
	<p>
		This Dataset must be created with information from the HTTP TOTVS Tec
		execution server of Logix. This Dataset must contain the server path
		(IP or DNS), port, integrating user and the integrating user password
		in Base64 (the online service <a href="http://www.base64encode.org/"
			class="external-link" rel="nofollow">http://www.base64encode.org/</a>&#160;may
		be used to codify the password in Base64).
	</p>
	<p>The content, in JavaScript, can be found below:</p>
	<div class="code panel pdl" style="border-width: 1px;">
		<div class="codeContent panelContent pdl">
			<pre class="theme: Eclipse; brush: javascript; gutter: false"
				style="font-size: 12px;">function createDataset(fields, constraints, sortFields) {
	var newDataset = DatasetBuilder.newDataset();
	     
	//Create the DATASET columns.
	newDataset.addColumn("host");
	newDataset.addColumn("port");
	newDataset.addColumn("user");
	newDataset.addColumn("pswd");
	//Creates the records of the DATASET columns.
	newDataset.addRow(new Array("localhost","8080","admlog","MTIzNDU2Nzg="));

	return newDataset;
}</pre>
		</div>
	</div>
	<h3 id="id-2.Configuração-DatasetLogixExecServiceDS">
		<span style="color: rgb(0, 51, 102);">Dataset
			LogixExecServiceDS</span>
	</h3>
	<p>
		This other Dataset is responsible for executing the ERP Logix routines
		from Fluig. The JavaScript file to be imported to Fluig can be found
		through this link: <strong><a
			href="attachments/108659933/147096286.js">LogixExecServiceDS.js</a></strong>.
	</p>
	<p>&#160;</p>
</div>

 

...