Skip to content

Commit d16a1a1

Browse files
committed
Added DataTable Sample Script
1 parent e6ffef6 commit d16a1a1

File tree

1 file changed

+168
-0
lines changed

1 file changed

+168
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Script xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<Commands>
4+
<ScriptAction>
5+
<ScriptCommand xsi:type="CommentCommand" CommandID="380b1f4b-3098-403d-8857-e93cf5179435" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="1" PauseBeforeExeucution="false" v_Comment="Create Sample Invoice DataTable" CommandEnabled="true" />
6+
</ScriptAction>
7+
<ScriptAction>
8+
<ScriptCommand xsi:type="CreateDataTableCommand" CommandID="248f9dae-5404-4a39-8025-9bbf12474173" CommandName="CreateDataTableCommand" IsCommented="false" SelectionName="Create DataTable" DefaultPause="0" LineNumber="2" PauseBeforeExeucution="false" CommandEnabled="true" v_DataTableName="vDataTable">
9+
<v_ColumnNameDataTable>
10+
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
11+
<xs:element name="ColumnNamesDataTable123019.065134">
12+
<xs:complexType>
13+
<xs:sequence>
14+
<xs:element name="Column_x0020_Name" type="xs:string" minOccurs="0" />
15+
</xs:sequence>
16+
</xs:complexType>
17+
</xs:element>
18+
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="ColumnNamesDataTable123019.065134" msdata:UseCurrentLocale="true">
19+
<xs:complexType>
20+
<xs:choice minOccurs="0" maxOccurs="unbounded">
21+
<xs:element ref="ColumnNamesDataTable123019.065134" />
22+
</xs:choice>
23+
</xs:complexType>
24+
</xs:element>
25+
</xs:schema>
26+
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
27+
<DocumentElement>
28+
<ColumnNamesDataTable123019.065134 diffgr:id="ColumnNamesDataTable123019.0651341" msdata:rowOrder="0" diffgr:hasChanges="inserted">
29+
<Column_x0020_Name>Account</Column_x0020_Name>
30+
</ColumnNamesDataTable123019.065134>
31+
<ColumnNamesDataTable123019.065134 diffgr:id="ColumnNamesDataTable123019.0651342" msdata:rowOrder="1" diffgr:hasChanges="inserted">
32+
<Column_x0020_Name>Amount</Column_x0020_Name>
33+
</ColumnNamesDataTable123019.065134>
34+
</DocumentElement>
35+
</diffgr:diffgram>
36+
</v_ColumnNameDataTable>
37+
</ScriptCommand>
38+
</ScriptAction>
39+
<ScriptAction>
40+
<ScriptCommand xsi:type="AddDataRowCommand" CommandID="50afb155-8413-4e13-a8b1-65a9d320b41d" CommandName="AddDataRowCommand" IsCommented="false" SelectionName="Add DataRow" DefaultPause="0" LineNumber="3" PauseBeforeExeucution="false" CommandEnabled="true" v_DataTableName="vDataTable">
41+
<v_AddDataDataTable>
42+
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
43+
<xs:element name="AddDataDataTable123019.071641">
44+
<xs:complexType>
45+
<xs:sequence>
46+
<xs:element name="Column_x0020_Name" type="xs:string" minOccurs="0" />
47+
<xs:element name="Data" type="xs:string" minOccurs="0" />
48+
</xs:sequence>
49+
</xs:complexType>
50+
</xs:element>
51+
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="AddDataDataTable123019.071641" msdata:UseCurrentLocale="true">
52+
<xs:complexType>
53+
<xs:choice minOccurs="0" maxOccurs="unbounded">
54+
<xs:element ref="AddDataDataTable123019.071641" />
55+
</xs:choice>
56+
</xs:complexType>
57+
</xs:element>
58+
</xs:schema>
59+
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
60+
<DocumentElement>
61+
<AddDataDataTable123019.071641 diffgr:id="AddDataDataTable123019.0716411" msdata:rowOrder="0" diffgr:hasChanges="inserted">
62+
<Column_x0020_Name>Account</Column_x0020_Name>
63+
<Data>Northwind Sample</Data>
64+
</AddDataDataTable123019.071641>
65+
<AddDataDataTable123019.071641 diffgr:id="AddDataDataTable123019.0716412" msdata:rowOrder="1" diffgr:hasChanges="inserted">
66+
<Column_x0020_Name>Amount</Column_x0020_Name>
67+
<Data>$3.00</Data>
68+
</AddDataDataTable123019.071641>
69+
</DocumentElement>
70+
</diffgr:diffgram>
71+
</v_AddDataDataTable>
72+
</ScriptCommand>
73+
</ScriptAction>
74+
<ScriptAction>
75+
<ScriptCommand xsi:type="AddDataRowCommand" CommandID="6f5d5bf0-68f2-498b-aefd-76026f9e7777" CommandName="AddDataRowCommand" IsCommented="false" SelectionName="Add DataRow" DefaultPause="0" LineNumber="4" PauseBeforeExeucution="false" CommandEnabled="true" v_DataTableName="vDataTable">
76+
<v_AddDataDataTable>
77+
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
78+
<xs:element name="AddDataDataTable123019.071641">
79+
<xs:complexType>
80+
<xs:sequence>
81+
<xs:element name="Column_x0020_Name" type="xs:string" minOccurs="0" />
82+
<xs:element name="Data" type="xs:string" minOccurs="0" />
83+
</xs:sequence>
84+
</xs:complexType>
85+
</xs:element>
86+
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="AddDataDataTable123019.071641" msdata:UseCurrentLocale="true">
87+
<xs:complexType>
88+
<xs:choice minOccurs="0" maxOccurs="unbounded">
89+
<xs:element ref="AddDataDataTable123019.071641" />
90+
</xs:choice>
91+
</xs:complexType>
92+
</xs:element>
93+
</xs:schema>
94+
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
95+
<DocumentElement>
96+
<AddDataDataTable123019.071641 diffgr:id="AddDataDataTable123019.0716411" msdata:rowOrder="0" diffgr:hasChanges="inserted">
97+
<Column_x0020_Name>Account</Column_x0020_Name>
98+
<Data>Automation Builders Inc</Data>
99+
</AddDataDataTable123019.071641>
100+
<AddDataDataTable123019.071641 diffgr:id="AddDataDataTable123019.0716412" msdata:rowOrder="1" diffgr:hasChanges="inserted">
101+
<Column_x0020_Name>Amount</Column_x0020_Name>
102+
<Data>$50.00</Data>
103+
</AddDataDataTable123019.071641>
104+
</DocumentElement>
105+
</diffgr:diffgram>
106+
</v_AddDataDataTable>
107+
</ScriptCommand>
108+
</ScriptAction>
109+
<ScriptAction>
110+
<ScriptCommand xsi:type="CommentCommand" CommandID="54051815-7317-49f3-bdc8-fae37ee00a90" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="5" PauseBeforeExeucution="false" v_Comment="Loop DataTable" CommandEnabled="true" />
111+
</ScriptAction>
112+
<ScriptAction>
113+
<ScriptCommand xsi:type="BeginListLoopCommand" CommandID="51542cd6-e23d-4ce9-9474-27b8cac4f93e" CommandName="BeginListLoopCommand" IsCommented="false" SelectionName="Loop List" DefaultPause="0" LineNumber="6" PauseBeforeExeucution="false" CommandEnabled="true" v_LoopParameter="{vDataTable}" />
114+
<AdditionalScriptCommands>
115+
<ScriptCommand xsi:type="CommentCommand" CommandID="c7c70dbc-49e5-455b-8679-2441855f3016" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="7" PauseBeforeExeucution="false" v_Comment="Parse Account Column" CommandEnabled="true" />
116+
</AdditionalScriptCommands>
117+
<AdditionalScriptCommands>
118+
<ScriptCommand xsi:type="CommentCommand" CommandID="82982366-8d08-4a02-925e-4cd5cad84168" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="8" PauseBeforeExeucution="false" v_Comment="Show Table Item [Array]" CommandEnabled="true" />
119+
</AdditionalScriptCommands>
120+
<AdditionalScriptCommands>
121+
<ScriptCommand xsi:type="MessageBoxCommand" CommandID="baf2dbbe-caf3-465d-95cb-211c7e1f9db7" CommandName="MessageBoxCommand" IsCommented="false" SelectionName="Show Message" DefaultPause="0" LineNumber="9" PauseBeforeExeucution="false" CommandEnabled="true" v_Message="{vDataTable}" v_AutoCloseAfter="0" />
122+
</AdditionalScriptCommands>
123+
<AdditionalScriptCommands>
124+
<ScriptCommand xsi:type="CommentCommand" CommandID="771b2fbf-778e-49e2-a7ac-29e7f82b7c11" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="10" PauseBeforeExeucution="false" v_Comment="Select by Column Name" CommandEnabled="true" />
125+
</AdditionalScriptCommands>
126+
<AdditionalScriptCommands>
127+
<ScriptCommand xsi:type="MessageBoxCommand" CommandID="a93e44aa-bef4-431e-8cc4-1238237ed582" CommandName="MessageBoxCommand" IsCommented="false" SelectionName="Show Message" DefaultPause="0" LineNumber="11" PauseBeforeExeucution="false" CommandEnabled="true" v_Message="{vDataTable.Account}" v_AutoCloseAfter="0" />
128+
</AdditionalScriptCommands>
129+
<AdditionalScriptCommands>
130+
<ScriptCommand xsi:type="CommentCommand" CommandID="92bc60b8-7579-4999-aab0-653611bfe6f1" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="12" PauseBeforeExeucution="false" v_Comment="Select by Column Index" CommandEnabled="true" />
131+
</AdditionalScriptCommands>
132+
<AdditionalScriptCommands>
133+
<ScriptCommand xsi:type="MessageBoxCommand" CommandID="00d4c12a-17b5-4e1c-a5d7-b2c4b4ac586f" CommandName="MessageBoxCommand" IsCommented="false" SelectionName="Show Message" DefaultPause="0" LineNumber="13" PauseBeforeExeucution="false" CommandEnabled="true" v_Message="{vDataTable.0}" v_AutoCloseAfter="0" />
134+
</AdditionalScriptCommands>
135+
<AdditionalScriptCommands>
136+
<ScriptCommand xsi:type="CommentCommand" CommandID="ab98e894-f399-42c3-bf46-61ef066e7b08" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="14" PauseBeforeExeucution="false" v_Comment="Select by Index (Json Selector)" CommandEnabled="true" />
137+
</AdditionalScriptCommands>
138+
<AdditionalScriptCommands>
139+
<ScriptCommand xsi:type="MessageBoxCommand" CommandID="d1c325b8-2ace-4a0d-8da7-8e0e7d974d6a" CommandName="MessageBoxCommand" IsCommented="false" SelectionName="Show Message" DefaultPause="0" LineNumber="15" PauseBeforeExeucution="false" CommandEnabled="true" v_Message="{vDataTable =&gt; $.[0]}" v_AutoCloseAfter="0" />
140+
</AdditionalScriptCommands>
141+
<AdditionalScriptCommands>
142+
<ScriptCommand xsi:type="CommentCommand" CommandID="02e39459-f053-49cb-81a7-13f89429ffd3" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="16" PauseBeforeExeucution="false" v_Comment="Parse Amount Column" CommandEnabled="true" />
143+
</AdditionalScriptCommands>
144+
<AdditionalScriptCommands>
145+
<ScriptCommand xsi:type="CommentCommand" CommandID="0e7fd487-30ed-4ed8-b5e3-ccc924cc7c2a" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="17" PauseBeforeExeucution="false" v_Comment="Select by Column Name" CommandEnabled="true" />
146+
</AdditionalScriptCommands>
147+
<AdditionalScriptCommands>
148+
<ScriptCommand xsi:type="MessageBoxCommand" CommandID="1b4216f0-d444-4fc6-80d4-9f1e4257aa3e" CommandName="MessageBoxCommand" IsCommented="false" SelectionName="Show Message" DefaultPause="0" LineNumber="18" PauseBeforeExeucution="false" CommandEnabled="true" v_Message="{vDataTable.Amount}" v_AutoCloseAfter="0" />
149+
</AdditionalScriptCommands>
150+
<AdditionalScriptCommands>
151+
<ScriptCommand xsi:type="CommentCommand" CommandID="44fbcc56-2941-4165-8763-baa8f2fddf04" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="19" PauseBeforeExeucution="false" v_Comment="Select by Column Index" CommandEnabled="true" />
152+
</AdditionalScriptCommands>
153+
<AdditionalScriptCommands>
154+
<ScriptCommand xsi:type="MessageBoxCommand" CommandID="b3477224-e8f0-43d7-b10e-23a0f9d45ccd" CommandName="MessageBoxCommand" IsCommented="false" SelectionName="Show Message" DefaultPause="0" LineNumber="20" PauseBeforeExeucution="false" CommandEnabled="true" v_Message="{vDataTable.1}" v_AutoCloseAfter="0" />
155+
</AdditionalScriptCommands>
156+
<AdditionalScriptCommands>
157+
<ScriptCommand xsi:type="CommentCommand" CommandID="fa8f74ee-a683-46a4-9f9f-deb99ca995cc" CommandName="CommentCommand" IsCommented="false" SelectionName="Add Code Comment" DefaultPause="0" LineNumber="21" PauseBeforeExeucution="false" v_Comment="Select by Index (Json Selector)" CommandEnabled="true" />
158+
</AdditionalScriptCommands>
159+
<AdditionalScriptCommands>
160+
<ScriptCommand xsi:type="MessageBoxCommand" CommandID="7f2b8199-0023-48c9-ab5b-e02ff2833292" CommandName="MessageBoxCommand" IsCommented="false" SelectionName="Show Message" DefaultPause="0" LineNumber="22" PauseBeforeExeucution="false" CommandEnabled="true" v_Message="{vDataTable =&gt; $.[1]}" v_AutoCloseAfter="0" />
161+
</AdditionalScriptCommands>
162+
<AdditionalScriptCommands>
163+
<ScriptCommand xsi:type="EndLoopCommand" CommandID="193e6e45-cbaf-473d-a87c-27d662e39503" CommandName="EndLoopCommand" IsCommented="false" SelectionName="End Loop" DefaultPause="0" LineNumber="23" PauseBeforeExeucution="false" CommandEnabled="true" />
164+
</AdditionalScriptCommands>
165+
</ScriptAction>
166+
</Commands>
167+
<Variables />
168+
</Script>

0 commit comments

Comments
 (0)