The external data source can be enhanced to make external assembly calls to look up data (e.g., to view and select external data from SAP from within SmartSolve). This lookup capability is not limited only to Webservices, and can call any third party application data. However, the wrapper assembly should be written in Microsoft.Net.
Follow the steps below to configure Webservice Calls.
NOTE: The caller method needs to use following signature:
- public DataSet WebServiceDataLookup(String UserName, String Password, String URL, String[] DataInput)
- Add the following code before returning the dataset to specify which columns will be returned to the SmartSolve field (you can return multiple data fields). Replace the names of Column 1 and Column 2 below with the name of the fields in your data.
ds.ExtendedProperties.Add("SelectValueColumns","Column 1,Column 2");
NOTES:
EXAMPLE:
NOTES:
- The example entry above uses the configuration named LocalWS to make a call to web service.
- ExternalDataDisplay.aspx?RequestType=ExternalAssembly&ConfigName=LocalWS must be entered exactly when setting the Zoom properties.
- Please see Working with Forms for more information on setting field properties.
See Also
Deleting External Data Sources
Exporting External Data Sources
Importing External Data Sources
|
|