<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.smt-x.com/index.php?action=history&amp;feed=atom&amp;title=UseWebServiceInForm</id>
	<title>UseWebServiceInForm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.smt-x.com/index.php?action=history&amp;feed=atom&amp;title=UseWebServiceInForm"/>
	<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=UseWebServiceInForm&amp;action=history"/>
	<updated>2026-04-04T02:11:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=UseWebServiceInForm&amp;diff=257&amp;oldid=prev</id>
		<title>Smtxwiki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=UseWebServiceInForm&amp;diff=257&amp;oldid=prev"/>
		<updated>2020-05-25T20:44:31Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:44, 25 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.smt-x.com/index.php?title=UseWebServiceInForm&amp;diff=256&amp;oldid=prev</id>
		<title>Smtxwiki: Created page with &quot;Sometimes you want to retrieve data from web services while completing a form. SSP provides a NCALC function to lookup web service data from any web service d...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.smt-x.com/index.php?title=UseWebServiceInForm&amp;diff=256&amp;oldid=prev"/>
		<updated>2016-12-19T11:18:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Sometimes you want to retrieve data from web services while completing a form. SSP provides a &lt;a href=&quot;/index.php/AllFunctions&quot; title=&quot;AllFunctions&quot;&gt;NCALC&lt;/a&gt; function to lookup web service data from any web service d...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sometimes you want to retrieve data from web services while completing a form. SSP provides a [[AllFunctions|NCALC]] function to lookup web service data from any web service defined in SSP.&lt;br /&gt;
&lt;br /&gt;
The following example is given below:&lt;br /&gt;
When a value is entered in a text field, SSP should check through web service if that value exists in a datastore and then provide 2 other fields with data from that web service.&lt;br /&gt;
&lt;br /&gt;
Preparations&lt;br /&gt;
* Define a text field&lt;br /&gt;
* Define 2 read-only text fields to contain the looked up data&lt;br /&gt;
* Define a generic web service on the datastore to lookup the data&lt;br /&gt;
&lt;br /&gt;
==Default answers on read-only fields ==&lt;br /&gt;
The read-only fields should get the NCALC function defined in their Dynamic value setting:&lt;br /&gt;
  WebserviceLookup(&amp;#039;Datastore - Get data - AD building&amp;#039;, &amp;#039;Building Code&amp;#039;, &amp;#039;FilterName&amp;#039;, &amp;#039;#REPLACE-FORMFIELD-WebserviceTest||Name||#&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
The example above shows a web-service call to the web service named &amp;quot;Datastore - Get data - AD building&amp;quot; and retrieving the field &amp;quot;Building Code&amp;quot;. The list with building is filtered with the value entered in the first text field &amp;quot;WebserviceTest&amp;quot;. You can set any number of filters, as long as the used filtered is defined within the web service.&lt;br /&gt;
&lt;br /&gt;
[[File:2016-07-18_16_33_59-SSP_7.0_Dev_Version.jpg]]&lt;/div&gt;</summary>
		<author><name>Smtxwiki</name></author>
	</entry>
</feed>