Auto-Lookup > WCF > Multiple Columns

This topic shows how to create a lookup with WCF as the data source based on multiple columns for the Auto-Lookup form control.

Background and Setup

Good to Know

  • There is more than one path to configure a lookup. Make sure you use the document that shows the path for your lookup..
  • Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

How to Start

  1. On the Auto-Lookup form control configuration screen, on the Configure tab, click Add Lookup.

    For information about how to open this screen, refer to Auto-Lookup form control.


    Click Add Lookup
  2. On the Select Data Source Type screen, select WCF Service.

    Select WCF Service
  3. Click Next.

Lookup Details

Specifies the basic configuration for a lookup.

Figure: Lookup Details screen

Lookup Details screen

Good to Know

Fields

Field NameDefinition

Access Token

Description:
Specifies the access token that connects to your data source.
Allowed Values:
A list of access tokens configured for your environment.
Default Value:
None
Accepts Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Add New Add New icon

Opens this Screen:
Access Token for WCF Service
Function of this Screen:
Configure an access token to connect to a WCF service.

Lookup Name

Description:
Specifies the name you want to give to your lookup procedure.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
  • Spaces
Default Value:
None
Accepts Variables:
No
Example:
Refer to:

Lookup Type

Description:
Specifies the type of lookup procedure to do.
Allowed Values:
  • Name/Value - The lookup gets data for specified name/value pairs.
  • Multiple Columns - The lookup gets data for more than one column.
Default Value:
Name/Value
Example:
Refer to:

Configure Lookup > Request tab

Configures a lookup with more than one column from your data source.

Figure: Configure Lookup > Request tab

Request tab

Fields

Field NameDefinition

Service Operation

Description:
Specifies the name of the method to call.
Allowed Values:
A valid web method name from the specified WCF service.
Default Value:
None
Example:
GetSalesInfo

Also refer to:

Endpoint URL

Description:
Specifies the URL of the endpoint of the web service or WCF service you want to connect.
Allowed Values:
A valid endpoint URL.
Default Value:
None.

However, once a web service is connected, the endpoint URL shows if it is defined in the WSDL file.

Accepts Variables:
No
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Generate Message Contracts

Description:
Specifies if the method you call supplies a message contract or not.

A message contract gives the structure of a SOAP message.

Allowed Values:
  • Selected - The method gives message contracts.
  • Deselected - The method does not give message contracts.
Default Value:
Deselected

Request Mapping

Description:
Connects the WCF service request to your process schema. This is mandatory only if the request passes data from the process schema to parameters in the service operation.
To Open this Field:
  1. On the Configure Lookup screen, in the Request tab, select the name of the method from the Service Operation list.
Allowed Values:
To open the Schema Mapper, click the Ellipses (...) button.

Use this screen to connect the response to the data model for your process.

Default Value:
None
Example:
Refer to:

Configure Lookup > Response tab

Connects the response data from the WCF call to your app.

Figure: Configure Lookup > Response tab

Response tab

Fields

Field NameDefinition

Service Operation

Description:
Specifies the name of the method to call.
Allowed Values:
A valid web method name from the specified WCF service.
Default Value:
None
Example:
GetSalesInfo

Also refer to:

Endpoint URL

Description:
Specifies the URL of the endpoint of the web service or WCF service you want to connect.
Allowed Values:
A valid endpoint URL.
Default Value:
None.

However, once a web service is connected, the endpoint URL shows if it is defined in the WSDL file.

Accepts Variables:
No
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Map Response to AgilePoint Schema

Description:
Specifies if the WCF service response connects to your process schema.
Allowed Values:
To open the Schema Mapper, click the Ellipses (...) button.

Use this screen to connect the response to the data model for your process.

Default Value:
None
Example:
Refer to:

Store the Response In This Variable

Description:
Specifies the name of the process data variable that stores the response to a method call to a WCF service.
Allowed Values:
A process data variable.
Default Value:
None
Accepts Variables:
Yes

Configure Lookup > Error Messages tab

Configures the message to show if the lookup does not return any data.

Figure: Configure Lookup > Error Messages tab

Error Messages tab

Fields

Field NameDefinition

Service Operation

Description:
Specifies the name of the method to call.
Allowed Values:
A valid web method name from the specified WCF service.
Default Value:
None
Example:
GetSalesInfo

Also refer to:

Endpoint URL

Description:
Specifies the URL of the endpoint of the web service or WCF service you want to connect.
Allowed Values:
A valid endpoint URL.
Default Value:
None.

However, once a web service is connected, the endpoint URL shows if it is defined in the WSDL file.

Accepts Variables:
No
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

No Items Retrieved

Description:
Specifies the error message to show if the lookup does not return any data.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
  • Spaces
Default Value:
None

Lookup Failed

Description:
Specifies the message to show if the data fails to load.
Allowed Values:
More than one line of text.
Default Value:
Failed to load data.