<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dataislands.crmtogether.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.101.25.209</id>
	<title>Data Islands - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dataislands.crmtogether.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=89.101.25.209"/>
	<link rel="alternate" type="text/html" href="https://dataislands.crmtogether.com/index.php?title=Special:Contributions/89.101.25.209"/>
	<updated>2026-11-28T04:59:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://dataislands.crmtogether.com/index.php?title=Scripting&amp;diff=22</id>
		<title>Scripting</title>
		<link rel="alternate" type="text/html" href="https://dataislands.crmtogether.com/index.php?title=Scripting&amp;diff=22"/>
		<updated>2021-12-10T13:41:08Z</updated>

		<summary type="html">&lt;p&gt;89.101.25.209: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To automate Data Islands flows you can write a script and run this&lt;br /&gt;
&lt;br /&gt;
First we will create a PUSH script. &lt;br /&gt;
&lt;br /&gt;
Here is an example that connects and queries a Sage 300 ERP databse on MSSQL server. &lt;br /&gt;
&lt;br /&gt;
The scenario here is one where you want some customer data (from table ARCUS) to provide to a sales rep. You only want to provide contact information and exclude financial information. &lt;br /&gt;
&lt;br /&gt;
Open notepad and copy the contents below into it (replacing the items in CAPS with your credentials) and save as &amp;quot;demopush.tsd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;connect USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
addserver sql SERVERNAME SQLUSER SQLPASSWORD&lt;br /&gt;
&lt;br /&gt;
usedb saminc&lt;br /&gt;
&lt;br /&gt;
addregion Sage300Marketing&lt;br /&gt;
&lt;br /&gt;
deleteisland arcuslist&lt;br /&gt;
&lt;br /&gt;
querydb &amp;quot;SELECT NAMECUST,NAMECTAC,TEXTPHON1,TEXTPHON2,EMAIL1,EMAIL2 FROM ARCUS WHERE PRICLIST=&#039;WHS&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
push arcuslist&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
dcdc&lt;br /&gt;
USERNAME  = Data Islands acocunt username&lt;br /&gt;
&lt;br /&gt;
PASSWORD = Data Islands acocunt password&lt;br /&gt;
&lt;br /&gt;
SERVERNAME = Your SQL server name&lt;br /&gt;
&lt;br /&gt;
SQLUSER = Your SQL server user&lt;br /&gt;
&lt;br /&gt;
SQLPASSWORD= Your SQL server password&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This creates the region &amp;quot;Sage300Marketing&amp;quot; (or switches to it if it already exists) and an island &amp;quot;arcuslist&amp;quot; (we delete this and recreate in fact) with the data from the querydb SQL.&lt;br /&gt;
&lt;br /&gt;
This is hosted on the Data Islands cloud.  &lt;br /&gt;
&lt;br /&gt;
You can test this from within the app also. This is useful when writing. Using the  &lt;br /&gt;
&lt;br /&gt;
&amp;gt;script &amp;quot;FILEPATH&amp;quot; &lt;br /&gt;
&lt;br /&gt;
eg &lt;br /&gt;
&lt;br /&gt;
&amp;gt;script &amp;quot;c:\sample\demo\demopush.tsd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
and this will allow you run and test a script.  &lt;br /&gt;
&lt;br /&gt;
Next up we want to automate this. &lt;br /&gt;
&lt;br /&gt;
Using windows taskmanager you can run the dataislands app and pass in the &amp;quot;demopush.tsd&amp;quot; as a parameter. The app will then run the script.&lt;br /&gt;
&lt;br /&gt;
EG&lt;br /&gt;
&lt;br /&gt;
TSDataIslands.exe &amp;quot;demopush.tsd&amp;quot;&lt;/div&gt;</summary>
		<author><name>89.101.25.209</name></author>
	</entry>
	<entry>
		<id>https://dataislands.crmtogether.com/index.php?title=Scripting&amp;diff=21</id>
		<title>Scripting</title>
		<link rel="alternate" type="text/html" href="https://dataislands.crmtogether.com/index.php?title=Scripting&amp;diff=21"/>
		<updated>2021-12-10T13:38:02Z</updated>

		<summary type="html">&lt;p&gt;89.101.25.209: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To automate Data Islands flows you can write a script and run this&lt;br /&gt;
&lt;br /&gt;
First we will create a PUSH script. &lt;br /&gt;
&lt;br /&gt;
Here is an example that connects and queries a Sage 300 ERP databse on MSSQL server. &lt;br /&gt;
&lt;br /&gt;
The scenario here is one where you want some customer data (from table ARCUS) to provide to a sales rep. You only want to provide contact information and exclude financial information. &lt;br /&gt;
&lt;br /&gt;
Open notepad and copy the contents below into it (replacing the items in CAPS with your credentials) and save as &amp;quot;demopush.tsd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;connect USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
addserver sql SERVERNAME SQLUSER SQLPASSWORD&lt;br /&gt;
&lt;br /&gt;
usedb saminc&lt;br /&gt;
&lt;br /&gt;
addregion Sage300Marketing&lt;br /&gt;
&lt;br /&gt;
deleteisland arcuslist&lt;br /&gt;
&lt;br /&gt;
querydb &amp;quot;SELECT NAMECUST,NAMECTAC,TEXTPHON1,TEXTPHON2,EMAIL1,EMAIL2 FROM ARCUS WHERE PRICLIST=&#039;WHS&#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
push arcuslist&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USERNAME  = Data Islands acocunt username&lt;br /&gt;
&lt;br /&gt;
PASSWORD = Data Islands acocunt password&lt;br /&gt;
&lt;br /&gt;
SERVERNAME = Your SQL server name&lt;br /&gt;
&lt;br /&gt;
SQLUSER = Your SQL server user&lt;br /&gt;
&lt;br /&gt;
SQLPASSWORD= Your SQL server password&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This creates the region &amp;quot;Sage300Marketing&amp;quot; (or switches to it if it already exists) and an island &amp;quot;arcuslist&amp;quot; (we delete this and recreate in fact) with the data from the querydb SQL.&lt;br /&gt;
&lt;br /&gt;
This is hosted on the Data Islands cloud.  &lt;br /&gt;
&lt;br /&gt;
You can test this from within the app also. This is useful when writing. Using the  &lt;br /&gt;
&lt;br /&gt;
&amp;gt;script &amp;quot;FILEPATH&amp;quot; &lt;br /&gt;
&lt;br /&gt;
eg &lt;br /&gt;
&lt;br /&gt;
&amp;gt;script &amp;quot;c:\sample\demo\demopush.tsd&amp;quot; &lt;br /&gt;
&lt;br /&gt;
and this will allow you run and test a script.  &lt;br /&gt;
&lt;br /&gt;
Next up we want to automate this. &lt;br /&gt;
&lt;br /&gt;
Using windows taskmanager you can run the dataislands app and pass in the &amp;quot;demopush.tsd&amp;quot; as a parameter. The app will then run the script.&lt;br /&gt;
&lt;br /&gt;
EG&lt;br /&gt;
&lt;br /&gt;
TSDataIslands.exe &amp;quot;demopush.tsd&amp;quot;&lt;/div&gt;</summary>
		<author><name>89.101.25.209</name></author>
	</entry>
</feed>