GetMatchingFields method

Retrieves any fields that match all of the specified tags or just one of them in the data model of an app.

Tags set by Qlik Sense are prefixed by the $ sign.

Parameters

Name Description Mandatory Type
qTags

List of tags. The GetMatchingFields method looks for fields that match one or all of the tags in this list, depending on the value of qMatchingFieldMode .

Yes Array of Strings
qMatchingFieldMode

Matching field mode. The default value is MATCHINGFIELDMODE_MATCH_ALL.

One of:

  • MATCHINGFIELDMODE_MATCH_ALL
  • MATCHINGFIELDMODE_MATCH_ONE
No String

Returns

Name Description Type
qFieldNames

List of matching fields.

Array of NxMatchingFieldInfo