Using an external service

In addition to the standard AutoComplete service, you can use an external online service to provide AutoComplete functionality for your Infor Public Sector site.

To connect to an external service you must first set up a service profile using the Create Service Profile form. Specify the host address for the online service, the request method (usually GET), and the response format (JSON or XML). Use the Response Mapping grid to map the data in the response to properties in Infor Public Sector.

See "Service profiles" in the Infor Public Sector System Administration Guide for more information.

Next, you must set up one or more components to use the service profile that you created. To do this add a child COMPONENT node to the COMPONENTS node in the AutoComplete configuration. (Use the configuration in the Infor Public Sector application directory. You are bypassing the standard AutoComplete service, so the configuration in the AutoComplete directory is irrelevant.) Add the Service Profile Name attribute and specify the name of the service profile.

If you specify a service profile for a component, that component will use the external service that the service profile points to, rather than the standard Infor Public Sector AutoComplete service.

You must also add the Index Manager Type and Index Search Type attributes. Set the Index Manager Type to Hansen.Core.IndexSearch.NetServiceIndexManager and the Index Search Type to Hansen.Core.IndexSearch.NetServiceIndexSearcher.

Finally, specify the component moniker and the property for which you are configuring AutoComplete. The property name must match one of the properties returned by the service profile, as defined in the response mappings. This is used to map the data returned by the external service to the correct control.

Note: AutoComplete indexes are not created for components that use an external service.