Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

SFU​.getLookupSchemaAndData()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use getLookupSchemaAndData() method to get Data Lookup schema and data from Lookup name.

Syntax

SFU.getLookupSchemaAndData(lookupName, lookupParameters, getAllColumnData);

Parameters

Parameter

Description

lookupName

Name of the Data Lookup.

lookupParameters

Collection of parameters for parameterized Data Lookup

This parameter is optional. Pass this only when lookup is Parameterised

getAllColumnData

Boolean parameter. Default value is false.

Pass this as true when all the columns from the Data Lookup query are required.

This parameter is optional. Pass this only when all the columns from the Lookup query are required.

Return Value

This method returns a JSON object containing Display column, Value column, Data.

Example

For examples, see Data Binding Drop-Down Controls Using a Lookup Name (Parameterized) and Data Binding Drop-Down Controls Using Lookup Name (Non-parameterized)

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in