Skip to main content
Version: 11.2

$.udb(ds).lookupRefs()

note

This article is about the lookupRefs() function of the DataSourceContainer object.

$.udb(ds).lookupRefs()

warning

This technical function is not typically needed. You only need it if you want to access runtime metadata of a Lookup control, in particular, if you need to access its runtime data source alias.

tip

You can access runtime metadata in the reverse direction (from a given data source to the lookup controls that refer to it) via the .lookups() function.

Accesses runtime metadata of a Lookup control.

Returns an array.

Syntax

$.udb( *ds* ).lookupRefs()

The required ds is a data source selector.

Example

$.udb('EMP').lookupRefs();

Example result:
[
{
linkDs: 'DEPT_LOOKUP',
linkAlias: '1.DS12',
columns: [
{ linkColumn: 'DEPT_NO', refParentColumn: '$26' }
]
}
]