AX1080

GetFeatureInfo data lookup

You can use GetFeatureInfo rows in a DataLookup data source to return information about an installed product feature. This is typically only used by product developers.

The GetFeatureInfo data lookup supports similar query parameters as the GetFeatureInfo function, and can be used as a substitute for this function to improve file performance. The data lookup is intended to be used in cases where the queried value is not expected to change during the current file session, and therefore the value only needs to be queried once (or only after specific events).

To create a GetFeatureInfo data lookup, add a [GetFeatureInfo] row to a DataLookup data source and add the appropriate parameter columns. For more information on creating the DataLookup data source, see Creating DataLookup data sources.

GetFeatureInfo parameters

[GetFeatureInfo] rows use the following parameter columns. Within the DataLookup control row, these parameter names must be placed in square brackets—for example, [CodeName]. The parameters can be placed in any order.

NOTE: If the entry for any parameter depends on a value returned by another data lookup row, then that row must be in a different data source and executed before this row is executed. For more information, see Dependent data lookups.

Parameter Description

Code

Use one of the following keywords to specify what information you want to return about the feature:

  • ID: Returns the ID of the feature.
  • Name: Returns the name of the feature.
  • Version: Returns the version number of the feature. The version number is always zero-padded and includes at least three segments, such as: 01.02.00.
  • DateApplied: Returns the date the feature was last installed.

All of these items return blank if the specified feature is not installed in the current system.

Feature

The name or ID of the feature for which you want to return information. The name must match the exact feature name as defined in the product package.

Example

The following screenshot of a DataLookup data source shows several GetFeatureInfo examples: