You could, for example, use another application to provide data to populate a drop down menu on your form. Or you could search a list of products maintained by another application. The ability to share data is a very powerful feature of Forms Experience Builder.
To use an application as a service, the designer of an application must set the requisite permissions on the Access
tab of the application. Access can be set for Read
, or Read/Write
. If you set Read
access, other applications are able to Retrieve and Search information from a specific application. If you set Read/Write
access, other applications are able to Retrieve, Search, Delete and Submit information to and from a specific application. For more information on setting permissions, see Defining permissions to share data with other applications
When using another Forms Experience Builder application as a service, mandatory items must be explicitly mapped in the service mapping Inputs and Outputs. Default Items in the form do not satisfy the mandatory requirement as they are not evaluated on the server. If any value is marked as mandatory, it must have a value mapped to it in the mappings dialog.
To see the list of applications available as services select the IBM
Forms Experience Builder Applications entry in the Service Catalog
list. A list of all applications and methods available for Service mapping is shown. Each application can expose the following methods based on Access settings:
Use Retrieve retrieve a single record from another application. For example, use Retrieve to pre-populate information based on an employee serial number entered by the user into the form. The retrieve returns a single row, and cannot be mapped to a repeating or list item.Search
Use Search to return a list of records from another application that meets the search criteria. For example, use Search to populate a drop down with a list of values from another Forms Experience Builder application. The results from a search must be mapped to a repeating/list, drop down, or table item.Delete
When Delete service method is called, it deletes the record in the target application that meets the supplied parameters. Use this method with caution as there is no way to retrieve the data after the record is deleted.Submit
The Submit method is used to create a record in the target application. Submit replicates a user interacting with, and submitting, the target form. Parent topic: Incorporating web services into your applications