import { d as HostConfig } from "./auth-types-DjJJgiRF.js"; //#region src/qix/types/engine-schema.d.ts declare const QIX_SCHEMA_VERSION = "12.2760.0"; type AlfaNumString = { /** * Calculated value. */ qString?: string; /** * Is set to true if the value is a numeric. */ qIsNum?: boolean; }; type AlternateStateData = { /** * Name of the alternate state. * Default is current selections: $ */ qStateName?: string; /** * List of the selections. */ qFieldItems?: BookmarkFieldItem[]; }; type AppEntry = { /** * Identifier of the app. */ qID?: string; /** * Title of the app. */ qTitle?: string; /** * Path of the app. */ qPath?: string; /** * Last reload time of the app. */ qLastReloadTime?: string; /** * Is set to true if the app is read-only. */ qReadOnly?: boolean; /** * Meta data. */ qMeta?: NxMeta; /** * App thumbnail. */ qThumbnail?: StaticContentUrl; qFileSize?: number; /** * If true the app has section access configured. */ qHasSectionAccess?: boolean; }; /** * Lists the app objects. Is the layout for _AppObjectListDef_. *
An app object is a generic object created at app level.
*/ type AppObjectList = { /** * Information about the list of dimensions. */ qItems?: NxContainerEntry[]; }; /** * Defines the list of objects in an app. *
An app object is a generic object created at app level.
*/ type AppObjectListDef = { /** * Type of the app list. */ qType?: string; /** * Data that you want to include in the app list definition. * You need to enter the paths to the information you want to retrieve. */ qData?: Record; }; type AppScript = { /** * Script text. */ qScript?: string; /** * Information about publishing and permissions. * This parameter is optional. */ qMeta?: NxMeta; /** * True if user is temporarily locked from modifying the script. Meta contains the ID of the last modifier. Only applicable to QCS. */ qIsLocked?: boolean; }; type AppScriptMeta = { /** * Information about publishing and permissions. * This parameter is optional. */ qMeta?: NxMeta; /** * True if user is temporarily locked from modifying the script. Meta contains the ID of the last modifier. Only applicable to QCS. */ qIsLocked?: boolean; }; type ApplyGroupStateWarning = { /** * Group state that could not be applied. */ qState?: GroupState; /** * Nature of the warning. * * One of: * * group_missing or GROUP_MISSING * * group_not_applicable or GROUP_NOT_APPLICABLE * * fielddef_missing or FIELDDEF_MISSING */ qType?: ApplyGroupStateWarningType; }; type ApplyGroupStateWarningType = "group_missing" | "GROUP_MISSING" | "group_not_applicable" | "GROUP_NOT_APPLICABLE" | "fielddef_missing" | "FIELDDEF_MISSING"; /** * Result of applying GroupState to multiple cyclic groups. * * Stability: *experimental* */ type ApplyGroupStatesResult = { /** * When true, the operation was successful. */ qApplySuccess?: boolean; /** * Lists which states failed to be applied and why. */ qWarnings?: ApplyGroupStateWarning[]; }; type ArrayOfNxValuePoint = NxPivotValuePoint[]; type AssociationScore = { /** * Pair of fields. * _< FieldName1>_ / _< FieldName2>_ * Where: * < _FieldName1_ > is a field in the table 1 (defined in _qTable1_ ) * < _FieldName2_ > is a field in the table 2 (defined in _qTable2_ ) * If the field is a synthetic key, the name of the field is preceded by _[Synthetic key]:_ . */ qFieldPairName?: string; /** * Flag used to interpret calculated scores. * One of the following values or sum of values that apply: * * 0: The cardinal ratio cannot be zero but the symbol score and the row score can be zero. * * -1: The fields do not have the same type. * * -2: The number of rows of the field _FieldName1_ is zero. * * -4: The number of distinct values of the field _FieldName1_ is zero. * * -8: The number of rows of the field _FieldName2_ is zero. * * -16: The number of distinct values of the field _FieldName2_ is zero. * * Example: * The number of rows of the field _FieldName1_ is zero, and the number of distinct values of the field _FieldName2_ is zero, then _qScoreSummary_ is -18. */ qScoreSummary?: number; /** * Association information about the field _FieldName1_ defined in _qFieldPairName_ . */ qField1Scores?: FieldScores; /** * Association information about the field _FieldName2_ defined in _qFieldPairName_ . */ qField2Scores?: FieldScores; }; type BNFDef = { /** * Array of token references that all together build up the definition of the current token. * Generally, if the array is not empty, the definition is a BNF rule (_qIsBnfRule_ is set to true). However, some BNF rules do have an empty array (_qIsBnfRule_ is set to true, but _qBnf_ is empty). */ qBnf?: number[]; /** * Number of the current token definition. */ qNbr?: number; /** * Number of the parent rule definition. */ qPNbr?: number; /** * Reference identifier to a function described in the documentation. The identifier is stored in the definition of the token containing the function name. * Is not used in Qlik Sense. */ qHelpId?: number; /** * Token name. * One of: * * A rule name * * An identifier * * A literal value */ qName?: string; /** * Literal string of the token. * Examples: 'Round' and '('. */ qStr?: string; /** * If set to true, a list of related rule tokens is assigned to _qBnf_ . * This parameter is optional. The default value is false. */ qIsBnfRule?: boolean; /** * If set to true, the definition specifies a script statement. * This parameter is optional. The default value is false. */ qScriptStatement?: boolean; /** * If set to true, the definition specifies a control statement. * This parameter is optional. The default value is false. */ qControlStatement?: boolean; /** * If set to true, the definition specifies a literal token. * This parameter is optional. The default value is false. */ qBnfLiteral?: boolean; /** * If set to true, the definition is related to a Qlik Sense function. It cannot be an aggregation function. * This parameter is optional. The default value is false. */ qQvFunc?: boolean; /** * If set to true, the definition is related to an aggregation function. * This parameter is optional. The default value is false. */ qAggrFunc?: boolean; /** * Group of the function. * * One of: * * ALL or FUNC_GROUP_ALL * * U or FUNC_GROUP_UNKNOWN * * NONE or FUNC_GROUP_NONE * * AGGR or FUNC_GROUP_AGGR * * NUM or FUNC_GROUP_NUMERIC * * RNG or FUNC_GROUP_RANGE * * EXP or FUNC_GROUP_EXPONENTIAL_AND_LOGARITHMIC * * TRIG or FUNC_GROUP_TRIGONOMETRIC_AND_HYPERBOLIC * * FIN or FUNC_GROUP_FINANCIAL * * MATH or FUNC_GROUP_MATH_CONSTANT_AND_PARAM_FREE * * COUNT or FUNC_GROUP_COUNTER * * STR or FUNC_GROUP_STRING * * MAPP or FUNC_GROUP_MAPPING * * RCRD or FUNC_GROUP_INTER_RECORD * * CND or FUNC_GROUP_CONDITIONAL * * LOG or FUNC_GROUP_LOGICAL * * NULL or FUNC_GROUP_NULL * * SYS or FUNC_GROUP_SYSTEM * * FILE or FUNC_GROUP_FILE * * TBL or FUNC_GROUP_TABLE * * DATE or FUNC_GROUP_DATE_AND_TIME * * NUMI or FUNC_GROUP_NUMBER_INTERPRET * * FRMT or FUNC_GROUP_FORMATTING * * CLR or FUNC_GROUP_COLOR * * RNK or FUNC_GROUP_RANKING * * GEO or FUNC_GROUP_GEO * * EXT or FUNC_GROUP_EXTERNAL * * PROB or FUNC_GROUP_PROBABILITY * * ARRAY or FUNC_GROUP_ARRAY * * LEG or FUNC_GROUP_LEGACY * * DB or FUNC_GROUP_DB_NATIVE * * WINDOW or FUNC_GROUP_WINDOW */ qFG?: FunctionGroup; /** * If set to true, the definition is related to a field. * This parameter is optional. The default value is false. */ qFieldFlag?: boolean; /** * Type of the data. * * One of: * * N or NOT_META * * D or META_DOC_NAME * * R or META_RET_TYPE * * V or META_DEFAULT_VALUE */ qMT?: BNFDefMetaType; /** * Indicates whether a script statement, a chart or a script function is deprecated (not recommended for use). * If set to true, the script statement or the function is not recommended for use in Qlik Sense. * This parameter is optional. The default value is false. */ qDepr?: boolean; /** * List of groups the function belongs to. */ qFGList?: FunctionGroup[]; }; type BNFDefMetaType = "N" | "NOT_META" | "D" | "META_DOC_NAME" | "R" | "META_RET_TYPE" | "V" | "META_DEFAULT_VALUE"; type BNFType = "S" | "SCRIPT_TEXT_SCRIPT" | "E" | "SCRIPT_TEXT_EXPRESSION"; type Blob = string; type Bookmark = { qId?: string; qName?: string; qUtcModifyTime?: number; qUtcRecallTime?: number; qRecallCount?: number; qApplyAdditive?: boolean; qFieldItems?: BookmarkFieldItem[]; qVariableItems?: BookmarkVariableItem[]; qSheetId?: string; qObjects?: LayoutBookmarkData[]; qApplyLayoutState?: boolean; qShowPopupInfo?: boolean; qInfoText?: string; qOwner?: string; qGroups?: GroupBookmarkData[]; qShow?: CondDef; qApplyInputFieldValues?: boolean; qInputFieldItems?: InputFieldItem[]; qObjectsLayout?: ExtendedLayoutBookmarkData[]; qIncludeSelectionState?: boolean; qIncludeScrollPosition?: boolean; qAlternateStateData?: AlternateStateData[]; qForAnnotations?: boolean; qIncludeAllVariables?: boolean; }; type BookmarkApplyAndVerifyResult = { /** * Apply successfully or not * */ qApplySuccess?: boolean; /** * Field values verfication result * */ qWarnings?: BookmarkFieldVerifyWarning[]; /** * Result of applying group states (if any). */ qGroupStateResult?: ApplyGroupStatesResult; }; type BookmarkFieldItem = { /** * Name and type of the field. */ qDef?: FieldDefEx; /** * Indicates if the field is locked. * Default is false. */ qLocked?: boolean; /** * Information on the selections criteria. */ qSelectInfo?: SelectInfo; qValues?: FieldValue[]; /** * List of excluded values. * Either the list of selected values or the list of excluded values is displayed. */ qExcludedValues?: FieldValue[]; /** * If set to true, selections within a list object are made in AND mode; If you have a list object that lists all customers, by selecting Customer 1 and Customer 2 while in and-mode, all records that are associated with Customer 1 **and** Customer 2 are selected. * The default value is false; selections within a list object are made in OR mode. If you have a list object that lists all customers, by selecting Customer 1 and Customer 2 while in or-mode, all records that are associated with either Customer 1 **or** Customer 2 are selected. * This parameter is not returned if set to false. */ qAndMode?: boolean; /** * If set to true, the field has always one selection (not 0 and not more than 1). If another value is selected, the previous one is unselected. * The default value is false. This parameter is not returned if set to false. */ qOneAndOnlyOne?: boolean; /** * Count of selected values. Indicates if the Values field is loaded. */ qValuesCount?: number; /** * Count of excluded values. Indicates if the ExcludedValues field is loaded. */ qExcludedValuesCount?: number; }; /** * Defines the range of the bookmark fields that are returned. */ type BookmarkFieldPage = { /** * The start value of the range. */ qStartIndex?: number; /** * The end value of the range. */ qEndIndex?: number; }; type BookmarkFieldPageEx = { /** * The name of the selected state. */ qStateName?: string; /** * The start value of the range. */ qStartIndex?: number; /** * The end value of the range. */ qEndIndex?: number; }; type BookmarkFieldVerifyResultState = "NOT_VERIFIED" | "FIELD_VALUE_MATCH_ALL" | "FIELD_MISSING" | "FIELD_VALUE_MISSING" | "STATE_MISSING"; type BookmarkFieldVerifyWarning = { /** * Alternate State * */ qState?: string; /** * Field Name * */ qField?: string; /** * Field/values verfication result * * Defines result of ApplyAndVerify. * One of: * * NOT_VERIFIED * * FIELD_VALUE_MATCH_ALL * * FIELD_MISSING * * FIELD_VALUE_MISSING * * STATE_MISSING */ qVerifyResult?: BookmarkFieldVerifyResultState; qMissingValues?: string[]; }; /** * Lists the bookmarks. Is the layout for _BookmarkListDef_. */ type BookmarkList = { /** * Information about the list of bookmarks. */ qItems?: NxContainerEntry[]; }; /** * Defines the list of bookmarks. */ type BookmarkListDef = { /** * Type of the list. */ qType?: string; /** * Data */ qData?: Record; /** * Include the bookmark patches. Patches can be very large and may make the list result unmanageable. */ qIncludePatches?: boolean; }; type BookmarkStateFieldPages = { /** * Bookmark field pages for different states. */ qStatePages?: BookmarkFieldPageEx[]; }; type BookmarkVariableItem = { /** * Name of the variable. */ qName?: string; /** * Value of the variable. */ qValue?: FieldValue; /** * The Reporting mode definition of the variable. */ qDefinition?: string; }; type CalendarStrings = { /** * List of short day names. */ qDayNames?: string[]; /** * List of short month names. */ qMonthNames?: string[]; /** * List of long day names. */ qLongDayNames?: string[]; /** * List of long month names. */ qLongMonthNames?: string[]; }; type CharEncodingType = "Utf8" | "CHAR_ENCODING_UTF8" | "Utf16" | "CHAR_ENCODING_UTF16"; type CharRange = { /** * Position of the first search occurrence. */ qCharPos?: number; /** * Number of occurrences found. */ qCharCount?: number; }; /** * Lists the children of a generic object. Is the layout for _ChildListDef_. *
ChildList is used by the _GetLayout Method_ to list the children of a generic object.
*/ type ChildList = { /** * Information about the items in the app object. */ qItems?: NxContainerEntry[]; }; /** * Defines the list of children of a generic object. * What is defined in _ChildListDef_ has an impact on what the _GetLayout_ method returns. See _Example_ for more information. */ type ChildListDef = { /** * Data that you want to include in the child list definition. * You need to enter the paths to the information you want to retrieve. */ qData?: Record; }; type CodePage = { /** * Number of the code page. */ qNumber?: number; /** * Name of the code page. */ qName?: string; /** * Description of the code page. */ qDescription?: string; }; type CondDef = { qAlways?: boolean; qExpression?: ValueExpr; }; type Connection = { /** * Identifier of the connection. * Is generated by the engine and is unique. */ qId?: string; /** * Name of the connection. * This parameter is mandatory and must be set when creating or modifying a connection. */ qName?: string; /** * One of: * * ODBC CONNECT TO [<provider name>] * * OLEDB CONNECT TO [<provider name>] * * CUSTOM CONNECT TO [<provider name>] * * "<local absolute or relative path, UNC path>" * * "<URL>" * * Connection string. * This parameter is mandatory and must be set when creating or modifying a connection. */ qConnectionString?: string; /** * One of: * * ODBC * * OLEDB * * <Name of the custom connection file> * * folder * * internet * * Type of the connection. * This parameter is mandatory and must be set when creating or modifying a connection. * For ODBC, OLEDB and custom connections, the engine checks that the connection type matches the connection string. * The type is not case sensitive. */ qType?: string; /** * Name of the user who creates the connection. * This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections. * A call to _GetConnection Method_ does not return the user name. */ qUserName?: string; /** * Password of the user who creates the connection. * This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections. * A call to _GetConnection Method_ does not return the password. */ qPassword?: string; /** * Is generated by the engine. * Creation date of the connection or last modification date of the connection. */ qModifiedDate?: string; /** * Information about the connection. */ qMeta?: NxMeta; /** * Select which user credentials to use to connect to the source. * * LOG_ON_SERVICE_USER: Disables * * LOG_ON_CURRENT_USER: Enables * * One of: * * LOG_ON_SERVICE_USER * * LOG_ON_CURRENT_USER */ qLogOn?: LogOnType; }; type ContentLibraryList = { /** * Information about the content library. */ qItems?: ContentLibraryListItem[]; }; type ContentLibraryListItem = { /** * Name of the library. */ qName?: string; /** * Is set to true if the library is specific to the app (not a global content library). */ qAppSpecific?: boolean; /** * Information about publishing and permissions. */ qMeta?: NxMeta; }; type CustomConnector = { /** * Name of the custom connector file. */ qProvider?: string; /** * Name of the parent folder that contains the custom connector file. */ qParent?: string; /** * Name of the custom connector as displayed in the Qlik interface. */ qDisplayName?: string; /** * Mode of the machine (64 or 32 bits). * * One of: * * CONNECT_DEFAULT * * CONNECT_64 * * CONNECT_32 */ qMachineMode?: GenericConnectMachine; qSupportFileStreaming?: boolean; }; type CyclicGroupPosition = { /** * Target cyclic group. */ qInfo?: NxInfo; /** * Active field of the cyclic group, identified by a zero-based index. */ qActiveField?: number; }; type DataField = { /** * Name of the field. */ qName?: string; /** * Is set to true if the field is a primary key. */ qIsKey?: boolean; /** * Is shown for fixed records. * _qOriginalFieldName_ and _qName_ are identical if no field names are used in the file. * _qOriginalFieldName_ differs from _qName_ if embedded file names are used in the file. */ qOriginalFieldName?: string; }; type DataRecord = { /** * List of values inside the table. * The first values (in _result/qPreview/0/qValues_ ) correspond to the field names in the table. * The following values (from _result/qPreview/1/qValues_ ) are the values of the fields in the table. */ qValues?: string[]; }; type DataTable = { /** * Name of the table. */ qName?: string; /** * Type of the table. * For example: Table or View. */ qType?: string; }; type DataTableEx = { /** * Name of the table. */ qName?: string; /** * List of the fields in the table. */ qFields?: DataField[]; /** * List of format specification items, within brackets. * Examples of specification items: * * file type * * embedded labels, no labels * * table is <table name> */ qFormatSpec?: string; }; type Database = { /** * Name of the database. */ qName?: string; /** * Is set to true if the database is set by default. */ qIsDefault?: boolean; }; type DatabaseInfo = { /** * Name of the product accessed by the provider. */ qDBMSName?: string; /** * If set to true, it means that the data source contains some databases. */ qDBUsage?: boolean; /** * If set to true, it means that the data source contains some owners. */ qOwnerUsage?: boolean; /** * Character string used after the database name. * Example with separator " **.** ": * FROM LinkedTablesData.dbo.Months * Where: * * **LinkedTablesData** is the database name * * **dbo** is the owner name * * **Months** is the table name */ qDBSeparator?: string; /** * Character string used after the owner name. * Example with separator " **.** ": * FROM LinkedTablesData.dbo.Months * Where: * * **LinkedTablesData** is the database name * * **dbo** is the owner name * * **Months** is the table name */ qOwnerSeparator?: string; /** * If set to true, it means that the database is displayed first, before the owners and tables. */ qDBFirst?: boolean; /** * Prefix used with field, database or owner names that contain special characters or keywords. */ qQuotePreffix?: string; /** * Suffix used with field, database or owner names that contain special characters or keywords. */ qQuoteSuffix?: string; /** * List of the special characters. */ qSpecialChars?: string; /** * Name of the default database. */ qDefaultDatabase?: string; /** * List of the script keywords. */ qKeywords?: string[]; }; type DatabaseOwner = { /** * Name of the owner. */ qName?: string; }; type DelimiterInfo = { /** * Name of the delimiter. * Example: * "Tab_DELIMITER" */ qName?: string; /** * Representation of the delimiter value that is used in the script. * Example: * "'\t'" */ qScriptCode?: string; /** * Delimiter character number used by the engine to determine how to separate the values. */ qNumber?: number; /** * Is set to true if multiple spaces are used to separate the values. */ qIsMultiple?: boolean; }; type DerivedFieldsInTableData = { /** * Name of the derived definition. */ qDefinitionName?: string; /** * List of tags. */ qTags?: string[]; /** * Is set to true is the derived field is in use. */ qActive?: boolean; }; /** * Lists the dimensions. Is the layout for _DimensionListDef_. */ type DimensionList = { /** * Information about the list of dimensions. */ qItems?: NxContainerEntry[]; }; /** * Defines the lists of dimensions. */ type DimensionListDef = { /** * Type of the list. */ qType?: string; /** * Data */ qData?: Record; }; /** * The DimensionReference structure points to a GenericDimension. * * Stability: *experimental* */ type DimensionReference = { /** * Identifier of the associated dimension. */ qId?: string; /** * Text label. */ qLabel?: string; }; /** * Parameters for a reload. */ type DoReloadExParams = { /** * 0: for default mode. * 1: for ABEND; the reload of the script ends if an error occurs. * 2: for ignore; the reload of the script continues even if an error is detected in the script. */ qMode?: number; /** * Set to true for partial reload. * The default value is false. */ qPartial?: boolean; /** * Set to true to debug reload. * The default value is false. */ qDebug?: boolean; /** * Optional reload ID. * ID will be automatically generated if not set. */ qReloadId?: string; /** * Set to true to skip Store statements. * The default value is false. */ qSkipStore?: boolean; /** * If greater than or equal 0, defines max number of rows loaded from a data source. */ qRowLimit?: number; }; /** * The result and path to script log for a reload. */ type DoReloadExResult = { /** * The reload is successful if True. */ qSuccess?: boolean; /** * Path to the script log file. */ qScriptLogFile?: string; /** * true if memory limits were exhausted during reload. */ qEndedWithMemoryConstraint?: boolean; /** * Number of read rows during a reload */ qNbrOfLoadedRows?: number; /** * Number of stored rows from a reload */ qNbrOfStoredRows?: number; /** * Extra information (if available) in case reload was not successful. */ qFailureData?: FailureData; }; type DocListEntry = { /** * Name of the app. */ qDocName?: string; /** * Not used. */ qConnectedUsers?: number; /** * Last modified time stamp of the app. * This property is used only with Qlik Sense Desktop. * It is set to 0 for Qlik Sense Enterprise. */ qFileTime?: number; /** * Size of remote app. * This property is used only with Qlik Sense Desktop. * It is set to 0 for Qlik Sense Enterprise. */ qFileSize?: number; /** * Identifier of the app. * * In Qlik Sense Desktop, the identifier is the path and name of the app. * * In Qlik Sense Enterprise, the identifier is the app's GUID. */ qDocId?: string; /** * Meta data related to the app. */ qMeta?: NxMeta; /** * Last reload time of the app. */ qLastReloadTime?: string; /** * If set to true, the app is read-only. */ qReadOnly?: boolean; /** * Title of the app. */ qTitle?: string; /** * Thumbnail of the app. */ qThumbnail?: StaticContentUrl; /** * If true the app has section access configured. */ qHasSectionAccess?: boolean; /** * Is the app a Direct Query app? */ qIsDirectQueryMode?: boolean; /** * * One of: * * ANALYTICS * * DATA_PREPARATION * * DATAFLOW_PREP * * SINGLE_TABLE_PREP */ qUsage?: UsageEnum; }; type DriveInfo = { /** * Value of the drive. * Examples: * C:\\\, E:\\\ */ qDrive?: string; /** * Type of the drive. * _Fixed_ means physical drive. */ qType?: string; /** * Name of the drive. */ qName?: string; /** * Information about the drive type. * * One of: * * REMOVABLE * * FIXED * * NETWORK * * CD_ROM * * RAM * * UNKNOWN_TYPE */ qTypeIdentifier?: DriveType; qUnnamedDrive?: boolean; }; type DriveType = "REMOVABLE" | "FIXED" | "NETWORK" | "CD_ROM" | "RAM" | "UNKNOWN_TYPE"; type EditorBreakpoint = { /** * Name of the breakpoint. */ qbufferName?: string; /** * Line number in the script where the breakpoint is set. */ qlineIx?: number; /** * If set to true then the breakpoint is enabled (in use). */ qEnabled?: boolean; }; /** * Renders the embedded snapshot in an object. * The following is returned: * * Any dynamic properties defined in the bookmark * * Any properties defined in _qEmbeddedSnapshot_ * * ### Properties * "qEmbeddedSnapshot": {} */ type EmbeddedSnapshot = object; /** * Defines the embedded snapshot in a generic object. * * ### Properties * "EmbeddedSnapshotDef": {} */ type EmbeddedSnapshotDef = object; type ErrorData = { /** * Detailed information about the error message. */ qErrorString?: string; /** * Line termination characters. */ qLineEnd?: string; /** * Script statement where the error occurs. */ qLine?: string; /** * Type of the error messages. * * One of: * * EDC_ERROR * * EDC_WARNING * * EDC_CIRCULAR_REFERENCE */ qErrorDataCode?: ErrorDataCode; qMessage?: ProgressMessage; }; type ErrorDataCode = "EDC_ERROR" | "EDC_WARNING" | "EDC_CIRCULAR_REFERENCE"; type ExpansionData = { qExcludeList?: boolean; qPos?: PositionMark; }; type ExtendedLayoutBookmarkData = { qId?: string; qActive?: boolean; qShowMode?: number; qScrollPos?: ScrollPosition; qExpansionInfo?: ExpansionData[]; qLeftCollapsed?: boolean; qTopCollapsed?: boolean; qSortData?: InterFieldSortData[]; qDimensionGroupPos?: GroupStateInfo[]; qExpressionGroupPos?: GroupStateInfo[]; qUseGraphMode?: boolean; /** * * One of: * * GRAPH_MODE_BAR * * GRAPH_MODE_PIE * * GRAPH_MODE_PIVOTTABLE * * GRAPH_MODE_SCATTER * * GRAPH_MODE_LINE * * GRAPH_MODE_STRAIGHTTABLE * * GRAPH_MODE_COMBO * * GRAPH_MODE_RADAR * * GRAPH_MODE_GAUGE * * GRAPH_MODE_GRID * * GRAPH_MODE_BLOCK * * GRAPH_MODE_FUNNEL * * GRAPH_MODE_MEKKO * * GRAPH_MODE_LAST */ qGraphMode?: GraphMode; qActiveContainerChildObjectId?: string; qExtendedPivotState?: ExtendedPivotStateData; }; type ExtendedPivotStateData = { qExpressionPosition?: number; qNumberOfLeftDimensions?: number; qDimensionNames?: string[]; qEnableConditions?: string[]; }; /** * Obsolete, use qrs API's to fetch extensions. */ type ExtensionList = { qItems?: string[]; }; /** * Obsolete, use qrs API's to fetch extensions. */ type ExtensionListDef = object; type FailureData = { /** * Array of errors accumulated during reload. */ qErrors?: ReloadError[]; }; type FieldAttrType = "U" | "UNKNOWN" | "A" | "ASCII" | "I" | "INTEGER" | "R" | "REAL" | "F" | "FIX" | "M" | "MONEY" | "D" | "DATE" | "T" | "TIME" | "TS" | "TIMESTAMP" | "IV" | "INTERVAL"; /** * Sets the formatting of a field. * The properties of _qFieldAttributes_ and the formatting mechanism are described below. * * ### Formatting mechanism * The formatting mechanism depends on the type set in _qType,_ as shown below: *
In case of inconsistencies between the type and the format pattern, the format pattern takes precedence over the type.
* * ### Type is DATE, TIME, TIMESTAMP or INTERVAL * The following applies: * * If a format pattern is defined in _qFmt_ , the formatting is as defined in _qFmt_ . * * If _qFmt_ is empty, the formatting is defined by the number interpretation variables included at the top of the script ( _TimeFormat_ , _DateFormat_ , _TimeStampFormat_ ). * * The properties _qDec_ , _qThou_ , _qnDec_ , _qUseThou_ are not used. * * ### Type is INTEGER * The following applies: * * If a format pattern is defined in _qFmt_ , the engine looks at the values set in _qDec_ and _qThou_ . If these properties are not defined, the formatting mechanism uses the number interpretation variables included at the top of the script ( _DecimalSep_ and _ThousandSep_ ). * * If no format pattern is defined in _qFmt_ , no formatting is applied. The properties _qDec_ , _qThou_ , _qnDec_ , _qUseThou_ and the number interpretation variables defined in the script are not used . * * ### Type is REAL * The following applies: * * If a format pattern is defined in _qFmt_ , the engine looks at the values set in _qDec_ and _qThou_ . If these properties are not defined, the engine uses the number interpretation variables included at the top of the script ( _DecimalSep_ and _ThousandSep_ ). * * If no format pattern is defined in _qFmt_ , and if the value is almost an integer value (for example, 14,000012), the value is formatted as an integer. The properties _qDec_ , _qThou_ , _qnDec_ , _qUseThou_ are not used. * * If no format pattern is defined in _qFmt_ , and if _qnDec_ is defined and not 0, the property _qDec_ is used. If _qDec_ is not defined, the variable _DecimalSep_ defined at the top of the script is used. * * If no format pattern is defined in _qFmt_ , and if _qnDec_ is 0, the number of decimals is 14 and the property _qDec_ is used. If _qDec_ is not defined, the variable _DecimalSep_ defined at the top of the script is used. * * ### Type is FIX * The following applies: * * If a format pattern is defined in _qFmt_ , the engine looks at the values set in _qDec_ and _qThou_ . If these properties are not defined, the engine uses the number interpretation variables included at the top of the script ( _DecimalSep_ and _ThousandSep_ ). * * If no format pattern is defined in _qFmt_ , the properties _qDec_ and _qnDec_ are used. If _qDec_ is not defined, the variable _DecimalSep_ defined at the top of the script is used. * * ### Type is MONEY * The following applies: * * If a format pattern is defined in _qFmt_ , the engine looks at the values set in _qDec_ and _qThou_ . If these properties are not defined, the engine uses the number interpretation variables included at the top of any script ( _MoneyDecimalSep_ and _MoneyThousandSep_ ). * * If no format pattern is defined in _qFmt_ , the engine uses the number interpretation variables included at the top of the script ( _MoneyDecimalSep_ and _MoneyThousandSep_ ). * * ### Type is ASCII * No formatting, _qFmt_ is ignored. */ type FieldAttributes = { /** * Type of the field. * Default is U. * * One of: * * U or UNKNOWN * * A or ASCII * * I or INTEGER * * R or REAL * * F or FIX * * M or MONEY * * D or DATE * * T or TIME * * TS or TIMESTAMP * * IV or INTERVAL */ qType?: FieldAttrType; /** * Number of decimals. * Default is 10. */ qnDec?: number; /** * Defines whether or not a thousands separator must be used. * Default is 0. */ qUseThou?: number; /** * Defines the format pattern that applies to _qText_ . * Is used in connection to the type of the field (parameter **qType** ). * For more information, see _Formatting mechanism_. * Example: _YYYY-MM-DD_ for a date. */ qFmt?: string; /** * Defines the decimal separator. * Example: **.** */ qDec?: string; /** * Defines the thousand separator (if any). * Is used if **qUseThou** is set to 1. * Example: **,** */ qThou?: string; }; type FieldDefEx = { /** * Name of the field. */ qName?: string; /** * Type of data entity. * * One of: * * NOT_PRESENT * * PRESENT * * IS_CYCLIC_GROUP * * IS_DRILL_GROUP * * IS_VAR * * IS_EXPR * * IS_IMPLICIT * * IS_DETAIL */ qType?: FieldType; }; type FieldDescription = { /** * Internal number of the field. */ qInternalNumber?: number; /** * Name of the field. */ qName?: string; /** * List of table names. */ qSrcTables?: string[]; /** * If set to true, it means that the field is a system field. * The default value is false. */ qIsSystem?: boolean; /** * If set to true, it means that the field is hidden. * The default value is false. */ qIsHidden?: boolean; /** * If set to true, it means that the field is a semantic. * The default value is false. */ qIsSemantic?: boolean; /** * If set to true, only distinct field values are shown. * The default value is false. */ qDistinctOnly?: boolean; /** * Number of distinct field values. */ qCardinal?: number; /** * Total number of field values. */ qTotalCount?: number; qPossibleCount_OBSOLETE?: number; qHasInfo_OBSOLETE?: boolean; /** * If set to true, it means that the field is locked. * The default value is false. */ qIsLocked?: boolean; /** * If set to true, it means that the field has one and only one selection (not 0 and not more than 1). * If this property is set to true, the field cannot be cleared anymore and no more selections can be performed in that field. * The default value is false. */ qAlwaysOneSelected?: boolean; /** * If set to true a logical AND (instead of a logical OR) is used when making selections in a field. * The default value is false. */ qAndMode?: boolean; /** * Is set to true if the value is a numeric. * The default value is false. */ qIsNumeric?: boolean; /** * Field comment. */ qComment?: string; /** * Gives information on a field. For example, it can return the type of the field. * Examples: key, text, ASCII. */ qTags?: string[]; /** * If set to true, it means that the field is a field on the fly. * The default value is false. */ qIsDefinitionOnly?: boolean; /** * Static RAM memory used in bytes. */ qByteSize?: number; }; type FieldInTableData = { /** * Name of the field. */ qName?: string; /** * Is shown for fixed records. * _qOriginalFieldName_ and _qName_ are identical if no field names are used in the file. * _qOriginalFieldName_ differs from _qName_ if embedded file names are used in the file. */ qOriginalFields?: string[]; qPresent?: boolean; /** * This property is set to true if the field contains some Null values. */ qHasNull?: boolean; qHasWild?: boolean; /** * This property is set to true if the field contains some duplicate values. */ qHasDuplicates?: boolean; /** * This property is set to true if the field contains a synthetic key. */ qIsSynthetic?: boolean; /** * Number of records that have values (for example, not NULL) in the field as compared to the total number of records in the table. */ qInformationDensity?: number; /** * Number of values that are non Null. */ qnNonNulls?: number; /** * Number of rows in the field. */ qnRows?: number; /** * Number of distinct values in the field (in the current table) as compared to the total number of distinct values of this field (in all tables). */ qSubsetRatio?: number; /** * Number of distinct values in the field. */ qnTotalDistinctValues?: number; qnPresentDistinctValues?: number; /** * Tells if the field is a key field. * * One of: * * NOT_KEY * * ANY_KEY * * PRIMARY_KEY * * PERFECT_KEY */ qKeyType?: KeyType; /** * Comment related to the field. */ qComment?: string; /** * List of tags related to the field. */ qTags?: string[]; /** * List of the derived fields. */ qDerivedFields?: DerivedFieldsInTableData[]; qIsFieldOnTheFly?: boolean; qReadableName?: string; }; type FieldInTableProfilingData = { /** * Name of the field. */ qName?: string; /** * List of tags related to the field. */ qFieldTags?: string[]; qNumberFormat?: FieldAttributes; /** * Number of distinct values */ qDistinctValues?: number; /** * Number of distinct numeric values */ qDistinctNumericValues?: number; /** * Number of distinct text values */ qDistinctTextValues?: number; /** * Number of numeric values */ qNumericValues?: number; /** * Number of null values */ qNullValues?: number; /** * Number of textual values */ qTextValues?: number; /** * Number of negative values */ qNegValues?: number; /** * Number of positive values */ qPosValues?: number; /** * Number of zero values for numerical values */ qZeroValues?: number; /** * Sum of all numerical values. NaN otherwise. */ qSum?: number; /** * Squared sum of all numerical values. NaN otherwise. */ qSum2?: number; /** * Average of all numerical values. NaN otherwise. */ qAverage?: number; /** * Median of all numerical values. NaN otherwise. */ qMedian?: number; /** * Standard deviation of numerical values. NaN otherwise. */ qStd?: number; /** * Minimum value of numerical values. NaN otherwise. */ qMin?: number; /** * Maximum value of numerical values. NaN otherwise. */ qMax?: number; /** * Skewness of the numerical values. NaN otherwise. */ qSkewness?: number; /** * Kurtosis of the numerical values. NaN otherwise. */ qKurtosis?: number; /** * The .01, .05, .1, .25, .5, .75, .9, .95, .99 fractiles. Array of NaN otherwise. */ qFractiles?: number[]; /** * Number of empty strings */ qEmptyStrings?: number; /** * Maximum string length of textual values. 0 otherwise. */ qMaxStringLen?: number; /** * Minimum string length of textual values. 0 otherwise. */ qMinStringLen?: number; /** * Sum of all characters in strings in the field */ qSumStringLen?: number; /** * Average string length of textual values. 0 otherwise. */ qAvgStringLen?: number; /** * For textual values the first sorted string. */ qFirstSorted?: string; /** * For textual values the last sorted string. */ qLastSorted?: string; /** * Three most frequent values and their frequencies */ qMostFrequent?: SymbolFrequency[]; /** * Frequency Distribution for numeric fields. */ qFrequencyDistribution?: FrequencyDistributionData; /** * Data evenness aka Shannon's entropy normalized to [0,1] */ qDataEvenness?: number; }; /** * Lists the fields present in the data model viewer. Is the layout for _FieldListDef_. */ type FieldList = { /** * Array of items. */ qItems?: NxFieldDescription[]; }; /** * Defines the fields to show. */ type FieldListDef = { /** * Shows the system tables if set to true. * Default is false. */ qShowSystem?: boolean; /** * Shows the hidden fields if set to true. * Default is false. */ qShowHidden?: boolean; /** * Show the semantic fields if set to true. * Default is false. */ qShowSemantic?: boolean; /** * Shows the tables and fields present in the data model viewer if set to true. * Default is false. */ qShowSrcTables?: boolean; /** * Shows the fields defined on the fly if set to true. * Default is false. */ qShowDefinitionOnly?: boolean; /** * Shows the fields and derived fields if set to true. * Default is false. */ qShowDerivedFields?: boolean; /** * Shows the Direct Discovery measure fields if set to true. * Default is false. */ qShowImplicit?: boolean; }; type FieldOrColumn = { /** * Name of the field or column to be matched. */ qFieldName?: string; /** * Name of the table to be matched on. This parameter is optional. If TableName is set, FieldName represent the Table column with that name. If TableName is not set, FieldName represents the the field with that name. */ qTableName?: string; }; type FieldScores = { /** * Field name. * One of the field names defined in _qFieldPairName._ */ qFieldName?: string; qReadableName?: string; /** * Cardinality of a column/field divided by the number of rows in the table. * If the cardinal ratio is 1, it means that the column is a candidate/primary key. */ qCardinalRatio?: number; /** * Number of distinct matches between the two fields defined in _qFieldPairName_ divided by the number of distinct values in the field _qFieldName_ . * If 0, it means that there are no common values between the two fields defined in _qFieldPairName_ . */ qSymbolScore?: number; /** * Number of matches between the two fields defined in _qFieldPairName_ divided by the number of values in the field _qFieldName_ . * If 0, it means that there are no common values between the two fields defined in _qFieldPairName_ . */ qRowScore?: number; }; type FieldType = "NOT_PRESENT" | "PRESENT" | "IS_CYCLIC_GROUP" | "IS_DRILL_GROUP" | "IS_VAR" | "IS_EXPR" | "IS_IMPLICIT" | "IS_DETAIL"; type FieldValue = { /** * Text related to the field value. * This parameter is optional. */ qText?: string; /** * Is set to true if the value is a numeric. * This parameter is optional. Default is false. */ qIsNumeric?: boolean; /** * Numeric value of the field. * This parameter is displayed if _qIsNumeric_ is set to true. * This parameter is optional. */ qNumber?: number; }; /** * ### FileType * Recognized file formats are: * * _CSV_ for Delimited * * _FIX_ for Fixed Record * * _DIF_ for Data Interchange Format * * _EXCEL_BIFF_ for Microsoft Excel (XLS) * * _EXCEL_OOXML_ for Microsoft Excel (XLSX) * * _HTML_ for HTML * * _QVD_ for QVD file * * _XML_ for XML * * _QVX_ for QVX file * * _JSON_ for JSON format * * _KML_ for KML file * * _PARQUET_ for PARQUET file */ type FileDataFormat = { /** * Type of the file. * * One of: * * CSV or FILE_TYPE_CSV * * FIX or FILE_TYPE_FIX * * DIF or FILE_TYPE_DIF * * EXCEL_BIFF or FILE_TYPE_EXCEL_BIFF * * EXCEL_OOXML or FILE_TYPE_EXCEL_OOXML * * HTML or FILE_TYPE_HTML * * QVD or FILE_TYPE_QVD * * XML or FILE_TYPE_XML * * QVX or FILE_TYPE_QVX * * JSON or FILE_TYPE_JSON * * KML or FILE_TYPE_KML * * PARQUET or FILE_TYPE_PARQUET */ qType?: FileType; /** * One of: * * Embedded labels (field names are present in the file) * * No labels * * Explicit labels (for DIFfiles) */ qLabel?: string; /** * One of: * * None (no quotes) * * MSQ (Modern Style Quoting) * * Standard (quotes " " or ' ' can be used, but only if they are the first and last non blank characters of a field value) * * This property is used for delimited files. */ qQuote?: string; /** * String that marks the beginning of the comment line. * Example: “#” or “//” * The engine ignores the commented lines during the data load. * This property is only used for delimited files. */ qComment?: string; /** * Information about the delimiter. * This property is used for delimited files. */ qDelimiter?: DelimiterInfo; /** * Character set used in the file. */ qCodePage?: number; /** * Size of the header. * Example: If the header size is 2, the first two rows in the file are considered as header and not as data. The header can contain the field names. */ qHeaderSize?: number; /** * Record length. * Each record (row of data) contains a number of columns with a fixed field size. * This property is used for fixed record data files. */ qRecordSize?: number; /** * Number of spaces that one tab character represents in the table file. * This property is used for fixed record data files. */ qTabSize?: number; /** * Is set to true, the end-of-file character is not taken into account during reload. * This property is used for delimited files and fixed record data files. */ qIgnoreEOF?: boolean; /** * Positions of the field breaks in the table. * This property is used for fixed record data files. */ qFixedWidthDelimiters?: string; }; type FileType = "CSV" | "FILE_TYPE_CSV" | "FIX" | "FILE_TYPE_FIX" | "DIF" | "FILE_TYPE_DIF" | "EXCEL_BIFF" | "FILE_TYPE_EXCEL_BIFF" | "EXCEL_OOXML" | "FILE_TYPE_EXCEL_OOXML" | "HTML" | "FILE_TYPE_HTML" | "QVD" | "FILE_TYPE_QVD" | "XML" | "FILE_TYPE_XML" | "QVX" | "FILE_TYPE_QVX" | "JSON" | "FILE_TYPE_JSON" | "KML" | "FILE_TYPE_KML" | "PARQUET" | "FILE_TYPE_PARQUET"; type FilterInfo = { /** * * One of: * * NONE or FILTER_TYPE_NONE * * RAW or FILTER_TYPE_RAW */ qType?: FilterType; qWherePredicate?: string; }; type FilterType = "NONE" | "FILTER_TYPE_NONE" | "RAW" | "FILTER_TYPE_RAW"; type FolderItem = { /** * Name of the folder item. */ qName?: string; /** * Type of the folder item. * * One of: * * FOLDER or FOLDER_ITEM_FOLDER * * FILE or FOLDER_ITEM_FILE * * OTHER or FOLDER_ITEM_OTHER */ qType?: FolderItemType; }; type FolderItemType = "FOLDER" | "FOLDER_ITEM_FOLDER" | "FILE" | "FOLDER_ITEM_FILE" | "OTHER" | "FOLDER_ITEM_OTHER"; type FrequencyDistributionData = { /** * Number of bins. */ qNumberOfBins?: number; /** * Bins edges. */ qBinsEdges?: number[]; /** * Bins frequencies. */ qFrequencies?: number[]; }; type QFunction = { /** * Name of the script function. */ qName?: string; /** * Group of the script function. * * One of: * * ALL or FUNC_GROUP_ALL * * U or FUNC_GROUP_UNKNOWN * * NONE or FUNC_GROUP_NONE * * AGGR or FUNC_GROUP_AGGR * * NUM or FUNC_GROUP_NUMERIC * * RNG or FUNC_GROUP_RANGE * * EXP or FUNC_GROUP_EXPONENTIAL_AND_LOGARITHMIC * * TRIG or FUNC_GROUP_TRIGONOMETRIC_AND_HYPERBOLIC * * FIN or FUNC_GROUP_FINANCIAL * * MATH or FUNC_GROUP_MATH_CONSTANT_AND_PARAM_FREE * * COUNT or FUNC_GROUP_COUNTER * * STR or FUNC_GROUP_STRING * * MAPP or FUNC_GROUP_MAPPING * * RCRD or FUNC_GROUP_INTER_RECORD * * CND or FUNC_GROUP_CONDITIONAL * * LOG or FUNC_GROUP_LOGICAL * * NULL or FUNC_GROUP_NULL * * SYS or FUNC_GROUP_SYSTEM * * FILE or FUNC_GROUP_FILE * * TBL or FUNC_GROUP_TABLE * * DATE or FUNC_GROUP_DATE_AND_TIME * * NUMI or FUNC_GROUP_NUMBER_INTERPRET * * FRMT or FUNC_GROUP_FORMATTING * * CLR or FUNC_GROUP_COLOR * * RNK or FUNC_GROUP_RANKING * * GEO or FUNC_GROUP_GEO * * EXT or FUNC_GROUP_EXTERNAL * * PROB or FUNC_GROUP_PROBABILITY * * ARRAY or FUNC_GROUP_ARRAY * * LEG or FUNC_GROUP_LEGACY * * DB or FUNC_GROUP_DB_NATIVE * * WINDOW or FUNC_GROUP_WINDOW */ qGroup?: FunctionGroup; /** * Signature of the script function. * Gives general information about the function. */ qSignature?: string; }; type FunctionGroup = "ALL" | "FUNC_GROUP_ALL" | "U" | "FUNC_GROUP_UNKNOWN" | "NONE" | "FUNC_GROUP_NONE" | "AGGR" | "FUNC_GROUP_AGGR" | "NUM" | "FUNC_GROUP_NUMERIC" | "RNG" | "FUNC_GROUP_RANGE" | "EXP" | "FUNC_GROUP_EXPONENTIAL_AND_LOGARITHMIC" | "TRIG" | "FUNC_GROUP_TRIGONOMETRIC_AND_HYPERBOLIC" | "FIN" | "FUNC_GROUP_FINANCIAL" | "MATH" | "FUNC_GROUP_MATH_CONSTANT_AND_PARAM_FREE" | "COUNT" | "FUNC_GROUP_COUNTER" | "STR" | "FUNC_GROUP_STRING" | "MAPP" | "FUNC_GROUP_MAPPING" | "RCRD" | "FUNC_GROUP_INTER_RECORD" | "CND" | "FUNC_GROUP_CONDITIONAL" | "LOG" | "FUNC_GROUP_LOGICAL" | "NULL" | "FUNC_GROUP_NULL" | "SYS" | "FUNC_GROUP_SYSTEM" | "FILE" | "FUNC_GROUP_FILE" | "TBL" | "FUNC_GROUP_TABLE" | "DATE" | "FUNC_GROUP_DATE_AND_TIME" | "NUMI" | "FUNC_GROUP_NUMBER_INTERPRET" | "FRMT" | "FUNC_GROUP_FORMATTING" | "CLR" | "FUNC_GROUP_COLOR" | "RNK" | "FUNC_GROUP_RANKING" | "GEO" | "FUNC_GROUP_GEO" | "EXT" | "FUNC_GROUP_EXTERNAL" | "PROB" | "FUNC_GROUP_PROBABILITY" | "ARRAY" | "FUNC_GROUP_ARRAY" | "LEG" | "FUNC_GROUP_LEGACY" | "DB" | "FUNC_GROUP_DB_NATIVE" | "WINDOW" | "FUNC_GROUP_WINDOW"; type GenericBookmarkEntry = { /** * Information about the properties of the bookmark. */ qProperties?: GenericBookmarkProperties; /** * Information about the bookmark. */ qBookmark?: NxBookmark; /** * Information about the Classic bookmark. */ qClassicBookmark?: Bookmark; /** * Information about the Classic bookmark metadata. */ qClassicMetadata?: MetaData; }; /** * Is the layout for _GenericBookmarkProperties_. */ type GenericBookmarkLayout = { /** * Information about the object. */ qInfo?: NxInfo; /** * Information on publishing and permissions. */ qMeta?: NxMeta; /** * Information about the bookmark. */ qBookmark?: NxBookmark; /** * Information about the field selections associated with the bookmark. */ qFieldInfos?: LayoutFieldInfo[]; }; type GenericBookmarkProperties = { /** * Information about the bookmark. * This parameter is mandatory. */ qInfo?: NxInfo; /** * Definition of the dynamic properties. */ qMetaDef?: NxMetaDef; /** * If true all variables will be stored in the bookmark. * * Stability: *experimental* */ qIncludeVariables?: boolean; /** * If true all selected values will be stored distinct, i.e. searchstrings will not be kept. * * Stability: *experimental* */ qDistinctValues?: boolean; }; type GenericConnectMachine = "CONNECT_DEFAULT" | "CONNECT_64" | "CONNECT_32"; type GenericDimensionInfo = { /** * Length of the longest value in the field. */ qApprMaxGlyphCount?: number; /** * Number of distinct field values */ qCardinal?: number; /** * Gives information on a field. For example, it can return the type of the field. * Examples: key, text, ASCII */ qTags?: string[]; /** * If set to true, it means that the field is a semantic. */ qIsSemantic?: boolean; /** * If set to true a logical AND (instead of a logical OR) is used when making selections in a field. * The default value is false. */ qAndMode?: boolean; }; /** * Is the layout for _GenericDimensionProperties_. */ type GenericDimensionLayout = { /** * Identifier and type of the dimension. */ qInfo?: NxInfo; /** * Information about publishing and permissions. */ qMeta?: NxMeta; /** * Name and label of the dimension, information about grouping. */ qDim?: NxLibraryDimension; /** * Cardinal and tags related to the dimension. * Length of the longest value in the field. */ qDimInfos?: GenericDimensionInfo[]; }; type GenericDimensionProperties = { /** * Identifier and type of the dimension. * This parameter is mandatory. */ qInfo?: NxInfo; /** * Definition of the dimension. * This parameter is mandatory. */ qDim?: NxLibraryDimensionDef; /** * Definition of the dynamic properties. */ qMetaDef?: NxMetaDef; }; /** * Is the layout for _GenericMeasureProperties_. */ type GenericMeasureLayout = { /** * Information about the object. */ qInfo?: NxInfo; /** * Information about the measure. */ qMeasure?: NxLibraryMeasure; /** * Information on publishing and permissions. */ qMeta?: NxMeta; }; type GenericMeasureProperties = { /** * Information about the measure. * This parameter is mandatory. */ qInfo?: NxInfo; /** * Definition of the measure. * This parameter is mandatory. */ qMeasure?: NxLibraryMeasureDef; /** * Definition of the dynamic properties. */ qMetaDef?: NxMetaDef; }; type GenericObjectEntry = { /** * Information about the generic object properties. */ qProperty?: GenericObjectProperties; /** * Information about the children of the generic object. */ qChildren?: GenericObjectEntry[]; /** * Reference to a bookmark/snapshot that is embedded in the generic object. */ qEmbeddedSnapshotRef?: GenericBookmarkEntry; }; /** * Is the layout for _GenericObjectProperties_. */ type GenericObjectLayout = { /** * Identifier and type of the generic object. */ qInfo?: NxInfo; /** * Information about publishing and permissions. * This parameter is optional. */ qMeta?: NxMeta; /** * Should be set to create an object that is linked to another object. Enter the identifier of the object you want to link to. * If you do not want to link your object, set this parameter to an empty string. */ qExtendsId?: string; /** * Is set to true if the generic object contains some properties that are not persistent (a soft patch was applied). */ qHasSoftPatches?: boolean; /** * Gives information on the error. * This parameter is optional. */ qError?: NxLayoutErrors; /** * Information about the selections. */ qSelectionInfo?: NxSelectionInfo; /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; }; type GenericObjectLayoutAdditionalProperties = { qAppObjectList?: AppObjectList; qBookmarkList?: BookmarkList; qChildList?: ChildList; qDimensionList?: DimensionList; qEmbeddedSnapshot?: EmbeddedSnapshot; qExtensionList?: ExtensionList; qFieldList?: FieldList; qHyperCube?: HyperCube; qListObject?: ListObject; qMeasureList?: MeasureList; qMediaList?: QMediaList; qNxLibraryDimension?: NxLibraryDimension; qNxLibraryMeasure?: NxLibraryMeasure; qSelectionObject?: SelectionObject; qStaticContentUrl?: StaticContentUrl; qTreeData?: TreeData; qUndoInfo?: UndoInfo; qVariableList?: VariableList; }; type GenericObjectProperties = { /** * Identifier and type of the object. * This parameter is mandatory. */ qInfo?: NxInfo; /** * Should be set to create an object that is linked to another object. Enter the identifier of the linking object (i.e the object you want to link to). * If you do not want to link your object, set this parameter to an empty string. */ qExtendsId?: string; /** * Definition of the dynamic properties. */ qMetaDef?: NxMetaDef; /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; }; type GenericObjectPropertiesAdditionalProperties = { qAppObjectListDef?: AppObjectListDef; qBookmarkListDef?: BookmarkListDef; qChildListDef?: ChildListDef; qDimensionListDef?: DimensionListDef; qEmbeddedSnapshotDef?: EmbeddedSnapshotDef; qExtensionListDef?: ExtensionListDef; qFieldListDef?: FieldListDef; qHyperCubeDef?: HyperCubeDef; qLayoutExclude?: LayoutExclude; qListObjectDef?: ListObjectDef; qMeasureListDef?: MeasureListDef; qMediaListDef?: MediaListDef; qNxLibraryDimensionDef?: NxLibraryDimensionDef; qNxLibraryMeasureDef?: NxLibraryMeasureDef; qSelectionObjectDef?: SelectionObjectDef; qStaticContentUrlDef?: StaticContentUrlDef; qStringExpression?: StringExpression; qTreeDataDef?: TreeDataDef; qUndoInfoDef?: UndoInfoDef; qValueExpression?: ValueExpression; qVariableListDef?: VariableListDef; }; type GenericVariableConstraints = { qType?: GenericVariableType; qValuesText?: string[]; qValuesNum?: number[]; }; /** * Is the layout for _GenericVariableProperties_. */ type GenericVariableLayout = { /** * Identifier and type of the object. * This parameter is mandatory. */ qInfo?: NxInfo; /** * Information about publishing and permissions. * This parameter is optional. */ qMeta?: NxMeta; /** * Some text. */ qText?: string; /** * A value. */ qNum?: number; /** * If set to true, it means that the variable was defined via script. */ qIsScriptCreated?: boolean; }; type GenericVariableProperties = { /** * Identifier and type of the object. * This parameter is mandatory. */ qInfo?: NxInfo; /** * Meta data. */ qMetaDef?: NxMetaDef; /** * Name of the variable. * The name must be unique. * This parameter is mandatory. */ qName?: string; /** * Comment related to the variable. * This parameter is optional. */ qComment?: string; /** * Defines the format of the value. * This parameter is optional. */ qNumberPresentation?: FieldAttributes; /** * Set this property to true to update the variable when applying a bookmark. The variable value will be persisted in the bookmark. * The value of a variable can affect the state of the selections. * Script variables cannot be persisted in the bookmark. * The default value is false. */ qIncludeInBookmark?: boolean; /** * Definition of the variable. */ qDefinition?: string; qConstraints?: GenericVariableConstraints; }; type GenericVariableType = "any" | "VARIABLE_TYPE_ANY" | "number" | "VARIABLE_TYPE_NUMBER" | "text" | "VARIABLE_TYPE_TEXT"; type GraphMode = "GRAPH_MODE_BAR" | "GRAPH_MODE_PIE" | "GRAPH_MODE_PIVOTTABLE" | "GRAPH_MODE_SCATTER" | "GRAPH_MODE_LINE" | "GRAPH_MODE_STRAIGHTTABLE" | "GRAPH_MODE_COMBO" | "GRAPH_MODE_RADAR" | "GRAPH_MODE_GAUGE" | "GRAPH_MODE_GRID" | "GRAPH_MODE_BLOCK" | "GRAPH_MODE_FUNNEL" | "GRAPH_MODE_MEKKO" | "GRAPH_MODE_LAST"; type GroupBookmarkData = { qId?: string; qCyclePos?: number; }; type GroupState = { /** * Target cyclic group. */ qInfo?: NxInfo; /** * String defining the active field. */ qActiveFieldDef?: string; }; type GroupStateInfo = { qGroupName?: string; qCurrentItemName?: string; }; /** * Renders the properties of a hypercube. Is the layout for _HyperCubeDef_. * For more information about the definition of a hypercube, see _Generic object_. *
What is returned in HyperCube depends on the type of the hypercube (straight, pivot or stacked table, or tree) and on the method called (GetLayout, GetHyperCubeData, GetHyperCubePivotData, GetHyperCubeStackData, GetHyperCubeTreeData).
*/ type HyperCube = { /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; /** * Defines the size of the hypercube. */ qSize?: Size; /** * This parameter is optional and is displayed in case of error. */ qError?: NxValidationError; /** * Information on the dimension. */ qDimensionInfo?: NxDimensionInfo[]; /** * Information on the measure. */ qMeasureInfo?: NxMeasureInfo[]; /** * Sort order of the columns in the hypercube. * Column numbers are separated by a comma. * Example: [1,0,2] means that the first column to be sorted was the column 1, followed by the column 0 and the column 2. */ qEffectiveInterColumnSortOrder?: number[]; /** * Aggregate for measures of all values in the field. * The result value depends on the _qAggrFunc_ defined in _HyperCubeDef_. */ qGrandTotalRow?: NxCell[]; /** * Set of data. * Is empty if nothing has been defined in **qInitialDataFetch** in _HyperCubeDef_. */ qDataPages?: NxDataPage[]; /** * Set of data for pivot tables. * Is empty if nothing has been defined in **qInitialDataFetch** in _HyperCubeDef_. */ qPivotDataPages?: NxPivotPage[]; /** * Set of data for stacked tables. * Is empty if nothing has been defined in **qInitialDataFetch** in _HyperCubeDef_. */ qStackedDataPages?: NxStackPage[]; /** * Information about the mode of the visualization. * * One of: * * S or DATA_MODE_STRAIGHT * * P or DATA_MODE_PIVOT * * K or DATA_MODE_PIVOT_STACK * * T or DATA_MODE_TREE * * D or DATA_MODE_DYNAMIC */ qMode?: NxHypercubeMode; /** * Number of left dimensions. * Default value is -1. * The index related to each left dimension depends on the position of the pseudo dimension (if any). * For example, a pivot table with: * * Four dimensions in the following order: Country, City, Product and Category * * One pseudo dimension in position 1 * * Three left dimensions. * * implies that: * * The index 0 corresponds to the left dimension Country. * * The index 1 corresponds to the pseudo dimension. * * The index 2 corresponds to the left dimension City. * * Product and Category are top dimensions. * * Another example: * * Four dimensions in the following order: Country, City, Product and Category. * * One pseudo dimension in position -1. * * Three left dimensions. * * implies that: * * The index -1 corresponds to the pseudo dimension; the pseudo dimension is the most to the right. * * The index 0 corresponds to the left dimension Country. * * The index 1 corresponds to the left dimension City. * * The index 2 corresponds to the left dimension Product. * * Category is a top dimension. */ qNoOfLeftDims?: number; /** * Is used for pivot tables only. * If set to true, the formatting of the results is slightly different. * This property is optional. */ qIndentMode?: boolean; /** * Is used for pivot tables only. * Position of the last expended cell. * This property is optional. */ qLastExpandedPos?: NxCellPosition; /** * True if other row exists. */ qHasOtherValues?: boolean; /** * Title of the hypercube, for example the title of a chart. */ qTitle?: string; /** * The total number of nodes on each dimension (only applicable when _qMode = T_ ). */ qTreeNodesOnDim?: number[]; /** * The message displayed if calculation condition is not fulfilled. */ qCalcCondMsg?: string; /** * The order of the columns. */ qColumnOrder?: number[]; }; /** * Defines the properties of a hypercube. * For more information about the definition of a hypercube, see _Generic object_. */ type HyperCubeDef = { /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; /** * Array of dimensions. */ qDimensions?: NxDimension[]; /** * Array of measures. */ qMeasures?: NxMeasure[]; /** * Defines the sort order of the columns in the hypercube. * Column numbers are separated by a comma. * Example: [1,0,2] means that the first column to be sorted should be the column 1, followed by the column 0 and the column 2. * The default sort order is the order in which the dimensions and measures have been defined in the hypercube. By default, the pseudo-dimension (if any) is the most to the right in the array. * The index of the pseudo-dimension (if any) is -1. * Pseudo dimensions only apply for pivot tables with more than one measure. * A pseudo dimension groups together the measures defined in a pivot table. You can neither collapse/expand a pseudo dimension nor make any selections in it. * Stacked pivot tables can only contain one measure. */ qInterColumnSortOrder?: number[]; /** * Removes zero values. */ qSuppressZero?: boolean; /** * Removes missing values. */ qSuppressMissing?: boolean; /** * Initial data set. */ qInitialDataFetch?: NxPage[]; /** * * One of: * * N or DATA_REDUCTION_NONE * * D1 or DATA_REDUCTION_ONEDIM * * S or DATA_REDUCTION_SCATTERED * * C or DATA_REDUCTION_CLUSTERED * * ST or DATA_REDUCTION_STACKED */ qReductionMode?: NxDataReductionMode; /** * Defines the way the data are handled internally by the engine. * Default value is _DATA_MODE_STRAIGHT_ . * A pivot table can contain several dimensions and measures whereas a stacked pivot table can contain several dimensions but only one measure. * * One of: * * S or DATA_MODE_STRAIGHT * * P or DATA_MODE_PIVOT * * K or DATA_MODE_PIVOT_STACK * * T or DATA_MODE_TREE * * D or DATA_MODE_DYNAMIC */ qMode?: NxHypercubeMode; qPseudoDimPos?: number; /** * Number of left dimensions. * Default value is -1. In that case, all dimensions are left dimensions. * Hidden dimensions (e.g. due to unfulfilled calc condition on dimension level) is still counted in this context. * The index related to each left dimension depends on the position of the pseudo dimension (if any). * For example, a pivot table with: * * Four dimensions in the following order: Country, City, Product and Category. * * One pseudo dimension in position 1 (the position is defined in _qInterColumnSortOrder_ ) * _qInterColumnSortOrder_ is (0,-1,1,2,3). * * Three left dimensions ( _qNoOfLeftDims_ is set to 3). * * implies that: * * The index 0 corresponds to the left dimension Country. * * The index 1 corresponds to the pseudo dimension. * * The index 2 corresponds to the left dimension City. * * Product and Category are top dimensions. * * Another example: * * Four dimensions in the following order: Country, City, Product and Category. * * Three left dimensions ( _qNoOfLeftDims_ is set to 3). * * One pseudo dimension. * * The property _qInterColumnSortOrder_ is left empty. * * Implies that: * * The index 0 corresponds to the left dimension Country. * * The index 1 corresponds to the left dimension City. * * The index 2 corresponds to the left dimension Product. * * Category is a top dimension. * * The pseudo dimension is a top dimension. */ qNoOfLeftDims?: number; /** * If this property is set to true, the cells are always expanded. It implies that it is not possible to collapse any cells. * The default value is false. */ qAlwaysFullyExpanded?: boolean; /** * Maximum number of cells for an initial data fetch (set in _qInitialDataFetch_ ) when in stacked mode ( _qMode_ is K). * The default value is 5000. */ qMaxStackedCells?: number; /** * If this property is set to true, the missing symbols (if any) are replaced by 0 if the value is a numeric and by an empty string if the value is a string. * The default value is false. */ qPopulateMissing?: boolean; /** * If set to true, the total (if any) is shown on the first row. * The default value is false. */ qShowTotalsAbove?: boolean; /** * This property applies for pivot tables and allows to change the layout of the table. An indentation is added to the beginning of each row. * The default value is false. */ qIndentMode?: boolean; /** * Specifies a calculation condition, which must be fulfilled for the hypercube to be (re)calculated. * As long as the condition is not met, the engine does not perform a new calculation. * This property is optional. By default, there is no calculation condition. */ qCalcCond?: ValueExpr; /** * To enable the sorting by ascending or descending order in the values of a measure. * This property applies to pivot tables and stacked pivot tables. * In the case of a pivot table, the measure or pseudo dimension should be defined as a top dimension. The sorting is restricted to the values of the first measure in a pivot table. */ qSortbyYValue?: number; /** * Title of the hypercube, for example the title of a chart. */ qTitle?: StringExpr; /** * Specifies a calculation condition object. * If CalcCondition.Cond is not fulfilled, the hypercube is not calculated and CalcCondition.Msg is evaluated. * By default, there is no calculation condition. * This property is optional. */ qCalcCondition?: NxCalcCond; /** * The order of the columns. */ qColumnOrder?: number[]; /** * Expansion state per dimension for pivot mode ( _qMode_ is P). * * Stability: *experimental* */ qExpansionState?: ExpansionData[]; /** * Hypercube Modifier Dynamic script string * * Stability: *experimental* */ qDynamicScript?: string[]; /** * Set Expression valid for the whole cube. Used to limit computations to the set specified. */ qContextSetExpression?: string; /** * If set to true, suppress any measure grand totals, ignoring any AggrFunc. */ qSuppressMeasureTotals?: boolean; }; type InputFieldItem = { qFieldName?: string; qValues?: FieldValue[]; qPackedHashKeys?: number[]; }; type InterFieldSortData = { qName?: string; qReversed?: boolean; }; type InteractDef = { /** * Interaction type. * * One of: * * IT_MSGBOX * * IT_SCRIPTLINE * * IT_BREAK * * IT_INPUT * * IT_END * * IT_PASSWD * * IT_USERNAME */ qType?: InteractType; /** * Title used in the message box dialog. * This property is relevant if _qType_ is *IT_MSGBOX*. */ qTitle?: string; /** * Message used in the message box dialog. * This property is relevant if _qType_ is *IT_MSGBOX*. */ qMsg?: string; /** * Buttons displayed in the message box dialog. * This property is relevant if _qType_ is *IT_MSGBOX*. * One of: * * 0 means that the _qButtons_ property is not relevant. * * 17 means that the message box contains the **OK** and **Cancel** buttons or the **stop** -sign icon. */ qButtons?: number; /** * Next script statement to be executed. * This property is used if the type of interaction is *IT_SCRIPTLINE*. */ qLine?: string; /** * First line number of the previously executed statement. * This property is used if the type of interaction is *IT_SCRIPTLINE*. */ qOldLineNr?: number; /** * First line number of the next statement to be executed. * This property is used if the type of interaction is *IT_SCRIPTLINE*. */ qNewLineNr?: number; /** * Path specified by the **Include** script variable. * This property is used if the type of interaction is *IT_SCRIPTLINE*. * Example of an **Include** variable: * _$(Include=lib:\\\MyDataFiles\abc.txt);_ */ qPath?: string; /** * This property is set to true if the returned statement is an hidden script statement. */ qHidden?: boolean; /** * Not relevant for describing the requested user interaction. */ qResult?: number; /** * Is not used in Qlik Sense. */ qInput?: string; }; type InteractType = "IT_MSGBOX" | "IT_SCRIPTLINE" | "IT_BREAK" | "IT_INPUT" | "IT_END" | "IT_PASSWD" | "IT_USERNAME"; type KeyType = "NOT_KEY" | "ANY_KEY" | "PRIMARY_KEY" | "PERFECT_KEY"; type LayoutBookmarkData = { qId?: string; qActive?: boolean; qShowMode?: number; qScrollPos?: ScrollPosition; }; /** * Contains JSON to be excluded from validation. */ type LayoutExclude = object; /** * Meta data about the selection in a field. */ type LayoutFieldInfo = { /** * The name of the field. */ qFieldName?: string; /** * Number of selected values in the field. */ qValuesCount?: number; /** * Number of excluded values in the field. */ qExcludedValuesCount?: number; }; type LineageInfo = { /** * A string indicating the origin of the data: * * [filename]: the data comes from a local file. * * INLINE: the data is entered inline in the load script. * * RESIDENT: the data comes from a resident table. The table name is listed. * * AUTOGENERATE: the data is generated from the load script (no external table of data source). * * Provider: the data comes from a data connection. The connector source name is listed. * * [webfile]: the data comes from a web-based file. * * STORE: path to QVD or TXT file where data is stored. * * EXTENSION: the data comes from a Server Side Extension (SSE). */ qDiscriminator?: string; /** * The LOAD and SELECT script statements from the data load script. */ qStatement?: string; }; /** * Renders the properties of a list object. Is the layout for _ListObjectDef_. * For more information about the definition of a list object, see _Generic object_. *
ListObject is used by the _GetLayout Method_ to display the properties of a list object.
*/ type ListObject = { /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; /** * Defines the size of a list object. */ qSize?: Size; /** * This parameter is optional and is displayed in case of error. */ qError?: NxValidationError; /** * Information about the dimension. */ qDimensionInfo?: NxDimensionInfo; /** * Lists the expressions in the list object. */ qExpressions?: NxListObjectExpression[]; /** * Set of data. * Is empty if nothing has been defined in **qInitialDataFetch** in _ListObjectDef_. */ qDataPages?: NxDataPage[]; }; /** * Defines the properties of a list object. * For more information about the definition of a list object, see _Generic object_. */ type ListObjectDef = { /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; /** * Refers to a dimension stored in the library. */ qLibraryId?: string; /** * Refers to a dimension stored in the list object. */ qDef?: NxInlineDimensionDef; /** * Defines the sorting by state. */ qAutoSortByState?: NxAutoSortByStateDef; /** * Defines the frequency mode. The frequency mode is used to calculate the frequency of a value in a list object. * Default is _NX_FREQUENCY_NONE_ . * This parameter is optional. * * One of: * * N or NX_FREQUENCY_NONE * * V or NX_FREQUENCY_VALUE * * P or NX_FREQUENCY_PERCENT * * R or NX_FREQUENCY_RELATIVE */ qFrequencyMode?: NxFrequencyMode; /** * If set to true, alternative values are allowed in _qData_ . * If set to false, no alternative values are displayed in _qData_ . Values are excluded instead. * The default value is false. * Note that on the contrary, the _qStateCounts_ parameter counts the excluded values as alternative values. * This parameter is optional. */ qShowAlternatives?: boolean; /** * Fetches an initial data set. */ qInitialDataFetch?: NxPage[]; /** * Lists the expressions in the list object. * This parameter is optional. */ qExpressions?: NxListObjectExpressionDef[]; /** * If set to true, reduces the set of states returned. * Supported for Direct Query mode only. * Default is false. * * Stability: *experimental* */ qDirectQuerySimplifiedView?: boolean; }; type LocaleInfo = { /** * Decimal separator. */ qDecimalSep?: string; /** * Thousand separator. */ qThousandSep?: string; /** * List separator. */ qListSep?: string; /** * Money decimal separator. */ qMoneyDecimalSep?: string; /** * Money thousand separator. */ qMoneyThousandSep?: string; /** * Current year. */ qCurrentYear?: number; /** * Money format. * Example: _#.##0,00 kr;-#.##0,00 kr_ */ qMoneyFmt?: string; /** * Time format. * Example: _hh:mm:ss_ */ qTimeFmt?: string; /** * Date format. * Example: _YYYY-MM-DD_ */ qDateFmt?: string; /** * Time stamp format. * Example: _YYYY-MM-DD hh:mm:ss[.fff]_ */ qTimestampFmt?: string; /** * Information about the calendar. */ qCalendarStrings?: CalendarStrings; /** * First day of the week, starting from 0. * According to ISO 8601, _Monday_ is the first day of the week. * * 0 = Monday * * 1 = Tuesday * * ... * * 6 = Sunday * * If this property has not been set in a script, the returned value comes from the Windows operating system. */ qFirstWeekDay?: number; /** * Is set to true if broken weeks are allowed in a year. * According to ISO 8601, no broken weeks should be allowed. * This property is not shown if set to false. * If _qBrokenWeeks_ is set to true, _qReferenceDay_ is irrelevant. * If this property has not been set in a script, the returned value comes from the Windows operating system. */ qBrokenWeeks?: boolean; /** * Day in the year that is always in week 1. * According to ISO 8601, January 4th should always be part of the first week of the year ( _qReferenceDay_ =4). * Recommended values are in the range 1 and 7. * If this property has not been set in a script, the returned value comes from the Windows operating system. * This property is not relevant if there are broken weeks in the year. */ qReferenceDay?: number; /** * First month of the year, starting from 1. * According to ISO 8601, _January_ is the first month of the year. * * 1 = January * * 2 = February * * 12 = January * * If this property has not been set in a script, the returned value comes from the Windows operating system. */ qFirstMonthOfYear?: number; /** * Locale name (following language tagging convention RFC 4646): * _< language>-<REGION>_ * Where: * * _language_ is a lowercase ISO 639 language code * * _REGION_ specifies an uppercase ISO 3166 country code. * * If this property has not been set in a script, the returned value comes from the Windows operating system. */ qCollation?: string; /** * Number format. * Example: 3:k;6:M;9:G;12:T;15:P;18:E;21:Z;24:Y;-3:m;-6:μ;-9:n;-12:p;-15:f;-18:a;-21:z;-24:y */ qNumericalAbbreviation?: string; }; type LogOnType = "LOG_ON_SERVICE_USER" | "LOG_ON_CURRENT_USER"; /** * Lists the measures. Is the layout for _MeasureListDef_. */ type MeasureList = { /** * Information about the list of measures. */ qItems?: NxContainerEntry[]; }; /** * Defines the list of measures. */ type MeasureListDef = { /** * Type of the list. */ qType?: string; /** * Data */ qData?: Record; }; /** * Lists the media files. Is the layout for _MediaListDef_. *
This struct is deprecated.
*/ type QMediaList = { /** * Information about the list of media files. * In Qlik Sense Desktop, the media files are retrieved from: * _%userprofile%\Documents\Qlik\Sense\Content\Default_ * In Qlik Sense Enterprise, the media files are retrieved from: * <installation_directory>\Qlik\Sense\Repository\Content\Default * The default installation directory is _ProgramData_ . */ qItems?: MediaListItem[]; }; /** * Defines the list of media files. *
This struct is deprecated.
* * ### Properties * "qMediaListDef": {} * _qMediaListDef_ has an empty structure. No properties need to be set. */ type MediaListDef = object; /** *
In addition, this structure can return dynamic properties.
*/ type MediaListItem = { /** * Relative path to the media file. The URL is static. * Media files located: * * in the _/content/default/_ folder are outside the qvf file. * * in the _/media/ folder_ are embedded in the qvf file. */ qUrlDef?: string; /** * Relative path to the media file. * Media files located: * * in the _/content/default/_ folder are outside the qvf file. * * in the _/media/ folder_ are embedded in the qvf file. */ qUrl?: string; }; type MetaData = { qShared?: boolean; qUtcModifyTime?: number; qSheetId?: string; qTemporary?: boolean; qRestrictedAccess?: boolean; qAccessList?: string[]; qPersonalEditionHash_OBSOLETE?: string; qHidden?: boolean; qLinkedTo?: string[]; }; /** * ### Qlik Sense Desktop * In Qlik Sense Desktop, this structure can contain dynamic properties. * * ### Qlik Sense Enterprise * In Qlik Sense Enterprise, only a few dynamic properties at the app level are persisted. * The persisted dynamic properties are the following: * * modifiedDate * * published * * publishTime * * privileges * * description * * dynamicColor */ type NxAppLayout = { /** * Title of the app. */ qTitle?: string; /** * In Qlik Sense Enterprise, this property corresponds to the app identifier (GUID). * In Qlik Sense Desktop, this property corresponds to the full path of the app. */ qFileName?: string; /** * Date and time of the last reload of the app in ISO format. */ qLastReloadTime?: string; /** * Is set to true if the app has been updated since the last save. */ qModified?: boolean; /** * Is set to true if a script is defined in the app. */ qHasScript?: boolean; /** * Array of alternate states. */ qStateNames?: string[]; /** * Information on publishing and permissions. */ qMeta?: NxMeta; /** * Information about the locale. */ qLocaleInfo?: LocaleInfo; /** * Is set to true if the app contains data following a script reload. */ qHasData?: boolean; /** * If set to true, it means that the app is read-only. */ qReadOnly?: boolean; /** * If set to true, it means that the app was opened without loading its data. */ qIsOpenedWithoutData?: boolean; /** * If set to true, the app is a Session App, i.e. not persistent. */ qIsSessionApp?: boolean; /** * If set to true, the persisted app cannot be used in a Binary load statement in Qlik load script. */ qProhibitBinaryLoad?: boolean; /** * App thumbnail. */ qThumbnail?: StaticContentUrl; /** * If set to true, the app is in BDI Direct Query Mode. */ qIsBDILiveMode?: boolean; /** * If set to true, the app is in Direct Query Mode. */ qIsDirectQueryMode?: boolean; /** * Array of features not supported by the app. */ qUnsupportedFeatures?: NxFeature[]; /** * * One of: * * ANALYTICS * * DATA_PREPARATION * * DATAFLOW_PREP * * SINGLE_TABLE_PREP */ qUsage?: UsageEnum; }; /** * ### Qlik Sense Desktop * In Qlik Sense Desktop, this structure can contain dynamic properties. * * ### Qlik Sense Enterprise * In Qlik Sense Enterprise, only a few dynamic properties at the app level are persisted. * The persisted dynamic properties are the following: * * modifiedDate * * published * * publishTime * * privileges * * description * * dynamicColor */ type NxAppProperties = { /** * App title. */ qTitle?: string; /** * Last reload time of the app. */ qLastReloadTime?: string; /** * Internal property reserved for app migration. * Patch version of the app. * Do not update. */ qMigrationHash?: string; /** * Internal property reserved for app migration. * The app is saved in this version of the product. * Do not update. */ qSavedInProductVersion?: string; /** * App thumbnail. */ qThumbnail?: StaticContentUrlDef; /** * If true the app has section access configured. */ qHasSectionAccess?: boolean; /** * Indicates whether the app is used for Analytics or DataPreparation * * One of: * * ANALYTICS * * DATA_PREPARATION * * DATAFLOW_PREP * * SINGLE_TABLE_PREP */ qUsage?: UsageEnum; }; /** * Layout for _NxAttrDimDef_. */ type NxAttrDimDef = { /** * Expression or field name. */ qDef?: string; /** * LibraryId for dimension. */ qLibraryId?: string; /** * Sorting. */ qSortBy?: SortCriteria; /** * If set to true, this attribute will not affect the number of rows in the cube. */ qAttribute?: boolean; }; /** * Layout for _NxAttrDimDef_. */ type NxAttrDimInfo = { /** * Cardinality of the attribute expression. */ qCardinal?: number; /** * Number of rows. */ qSize?: Size; /** * The title for the attribute dimension. */ qFallbackTitle?: string; /** * The Locked value of the dimension. */ qLocked?: boolean; /** * Validation error. */ qError?: NxValidationError; /** * True if this is a calculated dimension. */ qIsCalculated?: boolean; }; type NxAttrExprDef = { /** * Definition of the attribute expression. * Example: _"Max(OrderID)"_ */ qExpression?: string; /** * Definition of the attribute expression stored in the library. * Example: _"MyGenericMeasure"_ */ qLibraryId?: string; /** * If set to true, this measure will not affect the number of rows in the cube. */ qAttribute?: boolean; /** * Format of the field. * This parameter is optional. */ qNumFormat?: FieldAttributes; /** * Label of the attribute expression. */ qLabel?: string; /** * Optional expression used for dynamic label. */ qLabelExpression?: string; }; /** * Layout for _NxAttrExprDef_. */ type NxAttrExprInfo = { /** * Minimum value. */ qMin?: number; /** * Maximum value. */ qMax?: number; qFallbackTitle?: string; /** * String version of the minimum Value. */ qMinText?: string; /** * String version of the maximum Value. */ qMaxText?: string; /** * Format of the field. * This parameter is optional. */ qNumFormat?: FieldAttributes; /** * This parameter is set to true if _qNumFormat_ is set to _U_ (unknown). The engine guesses the type of the field based on the field's expression. */ qIsAutoFormat?: boolean; }; type NxAttributeDimValues = { /** * List of values. */ qValues?: NxSimpleDimValue[]; }; type NxAttributeExpressionValues = { /** * List of attribute expressions values. */ qValues?: NxSimpleValue[]; }; type NxAutoSortByStateDef = { /** * This parameter applies to list objects. * If the total number of values in the list object is greater than the value set in _qDisplayNumberOfRows_ , the selected lines are promoted at the top of the list object. * If _qDisplayNumberOfRows_ is set to a negative value or to 0, the sort by state is disabled. */ qDisplayNumberOfRows?: number; }; type NxAxisData = { /** * List of axis data. */ qAxis?: NxAxisTicks[]; }; type NxAxisTicks = { /** * Name of the derived definition. */ qName?: string; /** * List of tags. */ qTags?: string[]; /** * List of ticks. */ qTicks?: NxTickCell[]; }; type NxBookmark = { /** * List of selections for each state. */ qStateData?: AlternateStateData[]; /** * Time when the bookmark was created. */ qUtcModifyTime?: number; /** * List of the variables in the app at the time the bookmark was created. */ qVariableItems?: BookmarkVariableItem[]; /** * Softpatches to be applied with this bookmark. */ qPatches?: NxPatches[]; /** * Information about cyclic groups by zero-based index. This field is unused. */ qCyclicGroupStates?: CyclicGroupPosition[]; /** * Information about cyclic groups indexed by field definition. */ qGroupStates?: GroupState[]; }; type NxCalcCond = { /** * Condition for calculating an hypercube, dimension or measure. */ qCond?: ValueExpr; /** * Evaluated if Cond is not fullfilled. */ qMsg?: StringExpr; }; type NxCardinalities = { /** * Number of distinct field values. */ qCardinal?: number; /** * Number of distinct hypercube values. */ qHypercubeCardinal?: number; /** * Number of distinct values when paging for AllValues in a Tree Structure. * Default is -1 if not part of a Tree structure. */ qAllValuesCardinal?: number; }; type NxCell = { /** * Some text. * This parameter is optional. */ qText?: string; /** * A value. * This parameter is optional. */ qNum?: number; /** * Rank number of the value, starting from 0. * If the element number is a negative number, it means that the returned value is not an element number. * You can get the following negative values: * * -1: the cell is a _Total_ cell. It shows a total. * * -2: the cell is a _Null_ cell. * * -3: the cell belongs to the group _Others_ . * * -4: the cell is empty. Applies to pivot tables. */ qElemNumber?: number; /** * State of the value. * The default state for a measure is L. * * One of: * * L or LOCKED * * S or SELECTED * * O or OPTION * * D or DESELECTED * * A or ALTERNATIVE * * X or EXCLUDED * * XS or EXCL_SELECTED * * XL or EXCL_LOCKED * * NSTATES */ qState?: StateEnumType; /** * Is set to _true_ , if **qText** and **qNum** are empty. * This parameter is optional. The default value is _false_ . */ qIsEmpty?: boolean; /** * Is set to _true_ if a total is displayed in the cell. * This parameter is optional. The default value is _false_ . * Not applicable to list objects. */ qIsTotalCell?: boolean; /** * Is set to _true_ if the cell belongs to the group _Others_ . * Dimension values can be set as _Others_ depending on what has been defined in **OtherTotalSpecProp** . * This parameter is optional. The default value is _false_ . * Not applicable to list objects. */ qIsOtherCell?: boolean; /** * Frequency of the value. * This parameter is optional. */ qFrequency?: string; /** * Search hits. * The search hits are highlighted. * This parameter is optional. */ qHighlightRanges?: NxHighlightRanges; /** * Attribute expression values. */ qAttrExps?: NxAttributeExpressionValues; /** * Attribute dimensions values. */ qAttrDims?: NxAttributeDimValues; /** * Is set to _true_ if the value is Null. */ qIsNull?: boolean; qMiniChart?: NxMiniChartData; qInExtRow?: boolean; }; type NxCellPosition = { /** * Position of the cell on the x-axis. */ qx?: number; /** * Position of the cell on the y-axis. */ qy?: number; }; type NxCellRows = NxCell[]; type NxContainerEntry = { /** * Information about the object. */ qInfo?: NxInfo; /** * Information on publishing and permissions. */ qMeta?: NxMeta; /** * Set of data. */ qData?: QData; }; type NxContinuousDataOptions = { /** * Start value. */ qStart?: number; /** * End value. */ qEnd?: number; /** * Number of bins for binning. */ qNbrPoints?: number; /** * Maximum number of ticks. */ qMaxNbrTicks?: number; /** * Maximum number of lines. */ qMaxNumberLines?: number; }; type NxContinuousMode = "Never" | "CONTINUOUS_NEVER" | "Possible" | "CONTINUOUS_IF_POSSIBLE" | "Time" | "CONTINUOUS_IF_TIME"; type NxContinuousRangeSelectInfo = { /** * Range information. */ qRange?: QRange; /** * Dimension index. */ qDimIx?: number; }; type NxCurrentSelectionItem = { /** * Number of values in the field. */ qTotal?: number; /** * This parameter is displayed if its value is true. * Is set to true if the field is a numeric. * This parameter is optional. */ qIsNum?: boolean; /** * Name of the field that is selected. */ qField?: string; /** * This parameter is displayed if its value is true. * Is set to true if the field is locked. * This parameter is optional. */ qLocked?: boolean; /** * This parameter is displayed if its value is true. * Property that is set to a field. Is set to true if the field cannot be unselected. * This parameter is optional. */ qOneAndOnlyOne?: boolean; /** * Text that was used for the search. This parameter is filled when searching for a value and selecting it. * This parameter is optional. */ qTextSearch?: string; /** * Number of values that are selected. */ qSelectedCount?: number; /** * Values that are selected. */ qSelected?: string; /** * Information about the range of selected values. * Is empty if there is no range of selected values. */ qRangeInfo?: RangeSelectInfo[]; /** * Sort index of the field. Indexing starts from 0. */ qSortIndex?: number; /** * Number of values in a particular state. */ qStateCounts?: NxStateCounts; /** * Information about the fields that are selected. */ qSelectedFieldSelectionInfo?: NxFieldSelectionInfo[]; /** * Information about the fields that are not selected. */ qNotSelectedFieldSelectionInfo?: NxFieldSelectionInfo[]; /** * Maximum values to show in the current selections. * The default value is 6. */ qSelectionThreshold?: number; /** * Label that, if defined, is displayed in current selections instead of the actual expression. ReadableName is only used with field-on-the-fly. */ qReadableName?: string; /** * Optional parameter. Indicates if the selection is to be hidden in the Selections bar. * Is set to true if the current selection is hidden. */ qIsHidden?: boolean; /** * List of dimensions in the app that refer to the data model field of an NxCurrentSelectionItem. * * Stability: *experimental* */ qDimensionReferences?: DimensionReference[]; }; type NxDataAreaPage = { /** * Position from the left. * Corresponds to the lowest possible value of the first measure (the measure on the x-axis). */ qLeft?: number; /** * Position from the top. * Corresponds to the highest possible value of the second measure (the measure on the y-axis). */ qTop?: number; /** * Width of the page. * Corresponds to the highest possible value of the first measure (the measure on the x-axis). */ qWidth?: number; /** * Height of the page. * The difference between _qTop_ and _qHeight_ gives the lowest possible value of the second measure (the measure on the y-axis). */ qHeight?: number; }; type NxDataPage = { /** * Array of data. */ qMatrix?: NxCellRows[]; /** * Array of tails. * Is used for hypercube objects with multiple dimensions. It might happen that due to the window size some elements in a group cannot be displayed in the same page as the other elements of the group. Elements of a group of dimensions can be part of the previous or the next tail. * If there is no tail, the array is empty _[ ]_ . */ qTails?: NxGroupTail[]; /** * Size and offset of the data in the matrix. */ qArea?: Rect; /** * Is set to true, if the data have been reduced. * The default value is false. */ qIsReduced?: boolean; }; type NxDataReductionMode = "N" | "DATA_REDUCTION_NONE" | "D1" | "DATA_REDUCTION_ONEDIM" | "S" | "DATA_REDUCTION_SCATTERED" | "C" | "DATA_REDUCTION_CLUSTERED" | "ST" | "DATA_REDUCTION_STACKED"; type NxDerivedField = { /** * Identifier of the derived field. * The identifier is unique. */ qId?: string; /** * Combination of field name, definition and method. * Example: * _OrderDate.MyDefinition.Year_ */ qName?: string; /** * Method name associated to the derived field. */ qMethod?: string; /** * Expression of the derived field. * Example: * If _qName_ is _OrderDate.MyDefinition.Year_ , the expression is as follows: * _=${Mydefinition(OrderDate).Year}_ */ qExpr?: string; /** * List of tags. */ qTags?: string[]; }; type NxDerivedFieldDescriptionList = { /** * Information about the derived fields. */ qDerivedFieldLists?: NxDerivedFieldsData[]; }; type NxDerivedFieldsData = { /** * Name of the derived definition. */ qDerivedDefinitionName?: string; /** * List of the derived fields. */ qFieldDefs?: NxDerivedField[]; /** * List of the derived groups. */ qGroupDefs?: NxDerivedGroup[]; /** * List of tags on the derived fields. */ qTags?: string[]; }; type NxDerivedGroup = { /** * Identifier of the group. */ qId?: string; /** * Name of the derived group. */ qName?: string; /** * Grouping type. * The grouping should be either H or C (Grouping is mandatory for derived definitions). * The parameter is mandatory. * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; /** * List of the derived fields in the group. */ qFieldDefs?: string[]; }; type NxDimCellType = "V" | "NX_DIM_CELL_VALUE" | "E" | "NX_DIM_CELL_EMPTY" | "N" | "NX_DIM_CELL_NORMAL" | "T" | "NX_DIM_CELL_TOTAL" | "O" | "NX_DIM_CELL_OTHER" | "A" | "NX_DIM_CELL_AGGR" | "P" | "NX_DIM_CELL_PSEUDO" | "R" | "NX_DIM_CELL_ROOT" | "U" | "NX_DIM_CELL_NULL" | "G" | "NX_DIM_CELL_GENERATED"; /** *
The fields or expressions in the dimension are either defined in **qDef** or in the master dimension referred to by **qLibraryId**. If **qLibraryId** is set then the qFieldDefs, qFieldLabels, qGrouping, qLabelExpression and qAlias of the master dimension will be used.
If the dimension is set in the hypercube and not in the library, this dimension cannot be shared with other objects.
A dimension that is set in the library can be used by many objects.
*/ type NxDimension = { /** * Refers to a dimension stored in the library. */ qLibraryId?: string; /** * Refers to a dimension stored in the hypercube. */ qDef?: NxInlineDimensionDef; /** * If set to true, no null values are returned. */ qNullSuppression?: boolean; qIncludeElemValue?: boolean; /** * Sets the dimension limits. Each dimension of a hypercube is configured separately. * Defines if some values (grouped as _Others_ ) should be grouped together in the visualization. * For example in a pie chart all values lower than 200 could be grouped together. */ qOtherTotalSpec?: OtherTotalSpecProp; qShowTotal?: boolean; /** * If set to true, all dimension values are shown. */ qShowAll?: boolean; /** * This property is used when some dimension limits are set. * Label of the _Others_ group. The default label is _Others_ . * Example: * _"qOtherLabel":"= <label>"_ * or * _"qOtherLabel":{"qExpr":"= <label>"}_ * Where: * * < _label_ > is the label of the _Others_ group. */ qOtherLabel?: StringExpr; /** * If this property is set, the total of the calculated values is returned. * The default label is _Total_ . * Example: * _"qTotalLabel":"= <label>"_ * or * _"qTotalLabel":{"qExpr":"= <label>"}_ * Where: * * < _label_ > is the label of the _Total_ group. */ qTotalLabel?: StringExpr; /** * Specifies a calculation condition, which must be fulfilled for the dimension to be calculated. * If the calculation condition is not met, the dimension is excluded from the calculation. * By default, there is no calculation condition. * This property is optional. */ qCalcCond?: ValueExpr; /** * List of attribute expressions. */ qAttributeExpressions?: NxAttrExprDef[]; /** * List of attribute dimensions. */ qAttributeDimensions?: NxAttrDimDef[]; /** * Specifies a calculation condition object. * If CalcCondition.Cond is not fulfilled, the dimension is excluded from the calculation and CalcCondition.Msg is evaluated. * By default, there is no calculation condition. * This property is optional. */ qCalcCondition?: NxCalcCond; }; type NxDimensionInfo = { /** * Corresponds to the label of the dimension that is selected. * If the label is not defined then the field name is used. */ qFallbackTitle?: string; /** * Length of the longest value in the field. */ qApprMaxGlyphCount?: number; /** * Number of distinct field values. * * @deprecated: This will be removed in a future version */ qCardinal?: number; /** * Is set to true if the field is locked. */ qLocked?: boolean; /** * Sort indicator. * The default value is no sorting. * This parameter is optional. * * One of: * * N or NX_SORT_INDICATE_NONE * * A or NX_SORT_INDICATE_ASC * * D or NX_SORT_INDICATE_DESC */ qSortIndicator?: NxSortIndicatorType; /** * Array of dimension labels. * Contains the labels of all dimensions in a hierarchy group (for example the labels of all dimensions in a drill down group). */ qGroupFallbackTitles?: string[]; /** * Index of the dimension that is currently in use. * _qGroupPos_ is set to 0 if there are no hierarchical groups (drill-down groups) or cycle groups. */ qGroupPos?: number; /** * Number of values in a particular state. */ qStateCounts?: NxStateCounts; /** * Gives information on a field. For example, it can return the type of the field. * Examples: key, text, ASCII */ qTags?: string[]; /** * This parameter is optional. * Gives information on the error. */ qError?: NxValidationError; /** * Binary format of the field. * * One of: * * D or NX_DIMENSION_TYPE_DISCRETE * * N or NX_DIMENSION_TYPE_NUMERIC * * T or NX_DIMENSION_TYPE_TIME */ qDimensionType?: NxDimensionType; /** * If set to true, it inverts the sort criteria in the field. */ qReverseSort?: boolean; /** * Defines the grouping. * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; /** * If set to true, it means that the field is a semantic. */ qIsSemantic?: boolean; /** * Format of the field. * This parameter is optional. */ qNumFormat?: FieldAttributes; /** * This parameter is set to true if _qNumFormat_ is set to _U_ (unknown). The engine guesses the type of the field based on the field's definition. */ qIsAutoFormat?: boolean; /** * Array of field names. */ qGroupFieldDefs?: string[]; /** * Minimum value. */ qMin?: number; /** * Maximum value. */ qMax?: number; /** * Is continuous axis used. */ qContinuousAxes?: boolean; /** * Is a cyclic dimension used. */ qIsCyclic?: boolean; /** * Is derived field is used as a dimension. */ qDerivedField?: boolean; /** * Array of attribute expressions. */ qAttrExprInfo?: NxAttrExprInfo[]; /** * Array of attribute dimensions. */ qAttrDimInfo?: NxAttrDimInfo[]; /** * The message displayed if calculation condition is not fulfilled. */ qCalcCondMsg?: string; /** * True if this is a calculated dimension. */ qIsCalculated?: boolean; /** * If set to true, it means that the field always has one and only one selected value. */ qIsOneAndOnlyOne?: boolean; /** * Dimension Cardinalities */ qCardinalities?: NxCardinalities; /** * Refers to a dimension stored in the library. */ qLibraryId?: string; /** * The expanded and stripped dimension name used internally in engine. * * Stability: *experimental* */ qEffectiveDimensionName?: string; }; type NxDimensionType = "D" | "NX_DIMENSION_TYPE_DISCRETE" | "N" | "NX_DIMENSION_TYPE_NUMERIC" | "T" | "NX_DIMENSION_TYPE_TIME"; type NxDownloadInfo = { /** * URL to download the reduced app on. */ qUrl?: string; /** * The filesize of the reduced app. */ qFileSize?: number; }; type NxDownloadOptions = { /** * Bookmark Id to apply before reducing the application. */ qBookmarkId?: string; /** * Time in seconds for how long the download link is valid. */ qExpires?: number; qServeOnce?: boolean; }; type NxEngineVersion = { /** * Version number of the Qlik engine component. */ qComponentVersion?: string; }; type NxExportFileType = "CSV_C" | "EXPORT_CSV_C" | "CSV_T" | "EXPORT_CSV_T" | "OOXML" | "EXPORT_OOXML" | "PARQUET" | "EXPORT_PARQUET"; type NxExportState = "P" | "EXPORT_POSSIBLE" | "A" | "EXPORT_ALL"; type NxFeature = "binningData" | "FEATURE_BINNING_DATA" | "bookmarks" | "FEATURE_BOOKMARKS" | "calculatedFields" | "FEATURE_CALCULATED_FIELDS" | "continuousData" | "FEATURE_CONTINUOUS_DATA" | "invertedSelections" | "FEATURE_INVERTED_SELECTIONS" | "rangeSelections" | "FEATURE_RANGE_SELECTIONS" | "reducingData" | "FEATURE_REDUCING_DATA" | "search" | "FEATURE_SEARCH" | "selectionCount" | "FEATURE_SELECTION_COUNT" | "selectionInsights" | "FEATURE_SELECTION_INSIGHTS" | "tableMiniChart" | "FEATURE_TABLE_MINI_CHART" | "trendlines" | "FEATURE_TRENDLINES" | "calculatedDimensions" | "FEATURE_CALCULATED_DIMENSIONS" | "includeZeroValues" | "FEATURE_INCLUDE_ZERO_VALUES" | "includeNullValues" | "FEATURE_INCLUDE_NULL_VALUES" | "filterPanePaging" | "FEATURE_FILTER_PANE_PAGING" | "filterPaneCustomSorting" | "FEATURE_FILTER_PANE_CUSTOM_SORTING" | "showFrequency" | "FEATURE_SHOW_FREQUENCY" | "limitation" | "FEATURE_LIMITATION" | "totals" | "FEATURE_TOTALS"; /** * ### NxDerivedFieldsdata * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qDerivedDefinitionNameName of the derived definition.String
qFieldDefsList of the derived fields.Array of NxDerivedField
qGroupDefsList of the derived groups.Array of NxDerivedGroup
qTagsList of tags on the derived fields.Array of String
*/ type NxFieldDescription = { /** * If set to true, it means that the field is a semantic. */ qIsSemantic?: boolean; /** * If set to true, it means that the field is hidden. */ qIsHidden?: boolean; /** * If set to true, it means that the field is a system field. */ qIsSystem?: boolean; /** * If set to true a logical AND (instead of a logical OR) is used when making selections in a field. * The default value is false. */ qAndMode?: boolean; /** * Name of the field */ qName?: string; /** * Number of distinct field values */ qCardinal?: number; /** * Gives information on a field. For example, it can return the type of the field. * Examples: key, text, ASCII */ qTags?: string[]; /** * If set to true, it means that the field is a field on the fly. */ qIsDefinitionOnly?: boolean; /** * Lists the derived fields if any. */ qDerivedFieldData?: NxDerivedFieldDescriptionList; /** * Is used for Direct Discovery. * If set to true, it means that the type of the field is detail. */ qIsDetail?: boolean; /** * Is used for Direct Discovery. * If set to true, it means that the type of the field is measure. */ qIsImplicit?: boolean; qReadableName?: string; }; type NxFieldProperties = { /** * This parameter is set to true, if the field has one and only one selection (not 0 and not more than 1). * If this property is set to true, the field cannot be cleared anymore and no more selections can be performed in that field. *
The property _OneAndOnlyOne_ can be set to true if one and only value has been selected in the field prior to setting the property.
*/ qOneAndOnlyOne?: boolean; }; type NxFieldResourceId = { /** * Name of the field to get the resource id for. */ qName?: string; /** * Field level resource Id per table that the field is part of */ qResourceIds?: NxFieldTableResourceId[]; }; type NxFieldSelectionInfo = { /** * Name of the field. */ qName?: string; /** * Selection mode. * ### Properties * One of: * * NORMAL for a selection in normal mode. * * AND for a selection in AND mode. * * NOT for a selection NOT in AND mode. * One of: * * NORMAL or SELECTION_MODE_NORMAL * * AND or SELECTION_MODE_AND * * NOT or SELECTION_MODE_NOT */ qFieldSelectionMode?: NxFieldSelectionMode; }; type NxFieldSelectionMode = "NORMAL" | "SELECTION_MODE_NORMAL" | "AND" | "SELECTION_MODE_AND" | "NOT" | "SELECTION_MODE_NOT"; type NxFieldTableResourceId = { /** * Name of the table that the field belongs to get the resource id for */ qTable?: string; /** * Resource identifier for the field */ qResourceId?: string; }; type NxFrequencyMode = "N" | "NX_FREQUENCY_NONE" | "V" | "NX_FREQUENCY_VALUE" | "P" | "NX_FREQUENCY_PERCENT" | "R" | "NX_FREQUENCY_RELATIVE"; type NxGetBookmarkOptions = { /** * List of object types. */ qTypes?: string[]; /** * Set of data. */ qData?: Record; /** * Include the bookmark patches. Patches can be very large and may make the list result unmanageable. */ qIncludePatches?: boolean; }; type NxGetObjectOptions = { /** * List of object types. */ qTypes?: string[]; /** * Set to true to include session objects. * The default value is false. */ qIncludeSessionObjects?: boolean; /** * Set of data. */ qData?: Record; }; /** * Defines the properties of an object group. * * Stability: *experimental* */ type NxGroupDef = { /** * Specifies the class of the group's object members. * * One of: * * bookmark or MEMBER_BOOKMARK * * object or MEMBER_OBJECT */ qClass?: NxGroupMemberClass; /** * Specifies the type of the group's object members. */ qObjectType?: string; /** * Specifies the type of the group's subgroup members. */ qGroupType?: string; /** * The group's label. Will be evaluated as an expression if it starts with '='. */ qLabel?: string; /** * Include all groups of the relevant type, by adding those groups last that are not explicitly included in the hierarchy (orphans) */ qIncludeOrphanGroups?: boolean; /** * The objects and sub-groups that are members of the group. */ qMemberIds?: NxGroupObjectId[]; }; type NxGroupMemberClass = "bookmark" | "MEMBER_BOOKMARK" | "object" | "MEMBER_OBJECT"; /** * Holds the ID of a _NxGroupDef_'s member. * _GroupId_ holds the ID of a sub-group while _ObjectId_ holds the ID of an object. * Only one Id should be set. _GroupId_ takes precedence if both are set. * * Stability: *experimental* */ type NxGroupObjectId = { qGroupId?: string; qObjectId?: string; }; type NxGroupTail = { /** * Number of elements that are part of the previous tail. * This number depends on the paging, more particularly it depends on the values defined in _qTop_ and _qHeight_ . * Is not shown if the value is 0. * This parameter is optional. */ qUp?: number; /** * Number of elements that are part of the next tail. * This number depends on the paging, more particularly it depends on the values defined in _qTop_ and _qHeight_ * Is not shown if the value is 0. * This parameter is optional. */ qDown?: number; }; type NxGrpType = "N" | "GRP_NX_NONE" | "H" | "GRP_NX_HIEARCHY" | "C" | "GRP_NX_COLLECTION"; type NxHighlightRanges = { /** * Ranges of highlighted values. */ qRanges?: CharRange[]; }; type NxHypercubeMode = "S" | "DATA_MODE_STRAIGHT" | "P" | "DATA_MODE_PIVOT" | "K" | "DATA_MODE_PIVOT_STACK" | "T" | "DATA_MODE_TREE" | "D" | "DATA_MODE_DYNAMIC"; type NxInfo = { /** * Identifier of the object. * If the chosen identifier is already in use, the engine automatically sets another one. * If an identifier is not set, the engine automatically sets one. * This parameter is optional. */ qId?: string; /** * Type of the object. * This parameter is mandatory. */ qType?: string; }; type NxInlineDimensionDef = { /** * Used to define a cyclic group or drill-down group. * Default value is no grouping. * This parameter is optional. * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; /** * Array of field names. * When creating a grouped dimension, more than one field name is defined. * This parameter is optional. */ qFieldDefs?: string[]; /** * Array of field labels. * This parameter is optional. */ qFieldLabels?: string[]; /** * Defines the sorting criteria in the field. * Default is to sort by alphabetical order, ascending. * This parameter is optional. */ qSortCriterias?: SortCriteria[]; /** * Defines the format of the value. * This parameter is optional. */ qNumberPresentations?: FieldAttributes[]; /** * If set to true, it inverts the sort criteria in the field. */ qReverseSort?: boolean; /** * Index of the active field in a cyclic dimension. * This parameter is optional. The default value is 0. * This parameter is used in case of cyclic dimensions ( _qGrouping_ is C). */ qActiveField?: number; /** * Label expression. * This parameter is optional. */ qLabelExpression?: string; /** * Alias of the dimension. */ qAlias?: string; }; type NxInlineMeasureDef = { /** * Name of the measure. * An empty string is returned as a default value. * This parameter is optional. */ qLabel?: string; /** * Description of the measure. * An empty string is returned as a default value. * This parameter is optional. */ qDescription?: string; /** * Name connected to the measure that is used for search purposes. * A measure can have several tags. * This parameter is optional. */ qTags?: string[]; /** * Default value is no grouping. * This parameter is optional. * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; /** * Definition of the expression in the measure. * Example: _Sum (OrderTotal)_ * This parameter is mandatory. */ qDef?: string; /** * Format of the field. * This parameter is optional. */ qNumFormat?: FieldAttributes; /** * If set to true, percentage values are returned instead of absolute numbers. * Default value is false. * This parameter is optional. */ qRelative?: boolean; /** * If set to true, the sum of rows total should be used rather than real expression total. * This parameter is optional and applies to straight tables. * Default value is false. * If using the Qlik Sense interface, it means that the total mode is set to **Expression Total** . */ qBrutalSum?: boolean; /** * Flag indicating how the measure should be aggregated to create a grand total. * "None" - No total calculation. * "Expr" - Calculate total according to the measure expression. * "" - Empty string is default and has same effect as "Expr". * This parameter is optional. */ qAggrFunc?: string; /** * * 0 means no accumulation * * 1 means full accumulation (each y-value accumulates all previous y-values of the expression) * * ≥ 2 means accumulate as many steps as the _qAccumulate_ value * Default value is 0. * This parameter is optional. */ qAccumulate?: number; /** * If set to true, it inverts the sort criteria in the field. */ qReverseSort?: boolean; /** * Index of the active expression in a cyclic measure. The indexing starts from 0. * The default value is 0. * This parameter is optional. */ qActiveExpression?: number; /** * Array of expressions. This parameter is used in case of cyclic measures ( _qGrouping_ is C). List of the expressions in the cyclic group. */ qExpressions?: string[]; /** * Label expression. * This parameter is optional. */ qLabelExpression?: string; }; type NxLTrendlineType = "AVERAGE" | "Average" | "LINEAR" | "Linear" | "POLYNOMIAL2" | "Polynomial2" | "POLYNOMIAL3" | "Polynomial3" | "POLYNOMIAL4" | "Polynomial4" | "EXPONENTIAL" | "Exponential" | "POWER" | "Power" | "LOG" | "Logarithmic"; type NxLayoutErrors = { /** * Error code. */ qErrorCode?: number; }; type NxLibraryDimension = { /** * Information about the grouping. * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; /** * Array of dimension names. */ qFieldDefs?: string[]; /** * Array of dimension labels. */ qFieldLabels?: string[]; qLabelExpression?: string; /** * Alias of the dimension. */ qAlias?: string; qScriptGenerated?: boolean; }; type NxLibraryDimensionDef = { /** * Information about the grouping. * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; /** * Array of dimension names. */ qFieldDefs?: string[]; /** * Array of dimension labels. */ qFieldLabels?: string[]; qLabelExpression?: string; /** * Alias of the dimension. */ qAlias?: string; qScriptGenerated?: boolean; }; /** * Information about the library measure. Is the layout for _NxLibraryMeasureDef_. */ type NxLibraryMeasure = { qLabel?: string; qDef?: string; /** * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; qExpressions?: string[]; qActiveExpression?: number; qLabelExpression?: string; /** * Format of the field. * This parameter is optional. */ qNumFormat?: FieldAttributes; qScriptGenerated?: boolean; }; type NxLibraryMeasureDef = { /** * Label of the measure. */ qLabel?: string; /** * Definition of the measure. */ qDef?: string; /** * Used to define a cyclic group or drill-down group. * Default value is no grouping. * This parameter is optional. * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; /** * Array of expressions. */ qExpressions?: string[]; /** * Index to the active expression in a measure. */ qActiveExpression?: number; /** * Optional expression used for dynamic label. */ qLabelExpression?: string; /** * Format of the field. * This parameter is optional. */ qNumFormat?: FieldAttributes; qScriptGenerated?: boolean; }; type NxLinkedObjectInfo = { /** * Identifier of the root object. * If the linked object is a child, the root identifier is the identifier of the parent. * If the linked object is an app object, the root identifier is the same than the identifier of the linked object since the linked object is a root object. */ qRootId?: string; /** * Information about the linked object. */ qInfo?: NxInfo; }; type NxListObjectExpression = { /** * Value of the expression. */ qExpr?: string; /** * Gives information on the error. * This parameter is optional. */ qError?: NxLayoutErrors; }; type NxListObjectExpressionDef = { /** * Value of the expression. */ qExpr?: string; /** * Refers to an expression stored in the library. */ qLibraryId?: string; }; type NxLocalizedErrorCode = "LOCERR_INTERNAL_ERROR" | "LOCERR_GENERIC_UNKNOWN" | "LOCERR_GENERIC_OK" | "LOCERR_GENERIC_NOT_SET" | "LOCERR_GENERIC_NOT_FOUND" | "LOCERR_GENERIC_ALREADY_EXISTS" | "LOCERR_GENERIC_INVALID_PATH" | "LOCERR_GENERIC_ACCESS_DENIED" | "LOCERR_GENERIC_OUT_OF_MEMORY" | "LOCERR_GENERIC_NOT_INITIALIZED" | "LOCERR_GENERIC_INVALID_PARAMETERS" | "LOCERR_GENERIC_EMPTY_PARAMETERS" | "LOCERR_GENERIC_INTERNAL_ERROR" | "LOCERR_GENERIC_CORRUPT_DATA" | "LOCERR_GENERIC_MEMORY_INCONSISTENCY" | "LOCERR_GENERIC_INVISIBLE_OWNER_ABORT" | "LOCERR_GENERIC_PROHIBIT_VALIDATE" | "LOCERR_GENERIC_ABORTED" | "LOCERR_GENERIC_CONNECTION_LOST" | "LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION" | "LOCERR_GENERIC_REST_CONNECTION_FAILURE" | "LOCERR_GENERIC_MEMORY_LIMIT_REACHED" | "LOCERR_GENERIC_NOT_IMPLEMENTED" | "LOCERR_GENERIC_ENGINE_TERMINATED" | "LOCERR_GENERIC_WRITE_OPERATIONS_LIMIT_REACHED" | "LOCERR_HTTP_400" | "LOCERR_HTTP_401" | "LOCERR_HTTP_402" | "LOCERR_HTTP_403" | "LOCERR_HTTP_404" | "LOCERR_HTTP_405" | "LOCERR_HTTP_406" | "LOCERR_HTTP_407" | "LOCERR_HTTP_408" | "LOCERR_HTTP_409" | "LOCERR_HTTP_410" | "LOCERR_HTTP_411" | "LOCERR_HTTP_412" | "LOCERR_HTTP_413" | "LOCERR_HTTP_414" | "LOCERR_HTTP_415" | "LOCERR_HTTP_416" | "LOCERR_HTTP_417" | "LOCERR_HTTP_422" | "LOCERR_HTTP_423" | "LOCERR_HTTP_429" | "LOCERR_HTTP_500" | "LOCERR_HTTP_501" | "LOCERR_HTTP_502" | "LOCERR_HTTP_503" | "LOCERR_HTTP_504" | "LOCERR_HTTP_505" | "LOCERR_HTTP_509" | "LOCERR_HTTP_COULD_NOT_RESOLVE_HOST" | "LOCERR_APP_ALREADY_EXISTS" | "LOCERR_APP_INVALID_NAME" | "LOCERR_APP_ALREADY_OPEN" | "LOCERR_APP_NOT_FOUND" | "LOCERR_APP_IMPORT_FAILED" | "LOCERR_APP_SAVE_FAILED" | "LOCERR_APP_CREATE_FAILED" | "LOCERR_APP_INVALID" | "LOCERR_APP_CONNECT_FAILED" | "LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE" | "LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE" | "LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION" | "LOCERR_APP_MIGRATION_FAILURE" | "LOCERR_APP_SCRIPT_MISSING" | "LOCERR_APP_EXPORT_FAILED" | "LOCERR_APP_SIZE_EXCEEDED" | "LOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED" | "LOCERR_APP_NOT_OPEN" | "LOCERR_APP_EVENT_SOURCE_TIMEOUT" | "LOCERR_CONNECTION_ALREADY_EXISTS" | "LOCERR_CONNECTION_NOT_FOUND" | "LOCERR_CONNECTION_FAILED_TO_LOAD" | "LOCERR_CONNECTION_FAILED_TO_IMPORT" | "LOCERR_CONNECTION_NAME_IS_INVALID" | "LOCERR_CONNECTION_MISSING_CREDENTIALS" | "LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT" | "LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE" | "LOCERR_FILE_ACCESS_DENIED" | "LOCERR_FILE_NAME_INVALID" | "LOCERR_FILE_CORRUPT" | "LOCERR_FILE_NOT_FOUND" | "LOCERR_FILE_FORMAT_UNSUPPORTED" | "LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE" | "LOCERR_FILE_TABLE_NOT_FOUND" | "LOCERR_USER_ACCESS_DENIED" | "LOCERR_USER_IMPERSONATION_FAILED" | "LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS" | "LOCERR_SERVER_OUT_OF_SESSION_CALS" | "LOCERR_SERVER_OUT_OF_USAGE_CALS" | "LOCERR_SERVER_OUT_OF_CALS" | "LOCERR_SERVER_OUT_OF_NAMED_CALS" | "LOCERR_SERVER_OFF_DUTY" | "LOCERR_SERVER_BUSY" | "LOCERR_SERVER_LICENSE_EXPIRED" | "LOCERR_SERVER_AJAX_DISABLED" | "LOCERR_SERVER_NO_TOKEN" | "LOCERR_HC_INVALID_OBJECT" | "LOCERR_HC_RESULT_TOO_LARGE" | "LOCERR_HC_INVALID_OBJECT_STATE" | "LOCERR_HC_MODAL_OBJECT_ERROR" | "LOCERR_CALC_INVALID_DEF" | "LOCERR_CALC_NOT_IN_LIB" | "LOCERR_CALC_HEAP_ERROR" | "LOCERR_CALC_TOO_LARGE" | "LOCERR_CALC_TIMEOUT" | "LOCERR_CALC_EVAL_CONDITION_FAILED" | "LOCERR_CALC_MIXED_LINKED_AGGREGATION" | "LOCERR_CALC_MISSING_LINKED" | "LOCERR_CALC_INVALID_COL_SORT" | "LOCERR_CALC_PAGES_TOO_LARGE" | "LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED" | "LOCERR_CALC_VALIDATION_STATE_INVALID" | "LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS" | "LOCERR_CALC_MISSING_LINKED_FIELD" | "LOCERR_CALC_NOT_CALCULATED" | "LOCERR_LAYOUT_EXTENDS_INVALID_ID" | "LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND" | "LOCERR_LAYOUT_LINKED_OBJECT_INVALID" | "LOCERR_PERSISTENCE_WRITE_FAILED" | "LOCERR_PERSISTENCE_READ_FAILED" | "LOCERR_PERSISTENCE_DELETE_FAILED" | "LOCERR_PERSISTENCE_NOT_FOUND" | "LOCERR_PERSISTENCE_UNSUPPORTED_VERSION" | "LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY" | "LOCERR_PERSISTENCE_MIGRATION_CANCELLED" | "LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED" | "LOCERR_PERSISTENCE_DISK_FULL" | "LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP" | "LOCERR_PERSISTENCE_MOVE_FAILED" | "LOCERR_PERSISTENCE_OBJECT_LOCKED" | "LOCERR_PERSISTENCE_ENCRYPTION_KEY_MIGRATION_ONGOING" | "LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS" | "LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS" | "LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED" | "LOCERR_RELOAD_IN_PROGRESS" | "LOCERR_RELOAD_TABLE_X_NOT_FOUND" | "LOCERR_RELOAD_UNKNOWN_STATEMENT" | "LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN" | "LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN" | "LOCERR_RELOAD_FIELD_X_NOT_FOUND" | "LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND" | "LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND" | "LOCERR_RELOAD_NAME_ALREADY_TAKEN" | "LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF" | "LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF" | "LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED" | "LOCERR_RELOAD_OPEN_FILE_ERROR" | "LOCERR_RELOAD_AUTO_GENERATE_COUNT" | "LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB" | "LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR" | "LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND" | "LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID" | "LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE" | "LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE" | "LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS" | "LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS" | "LOCERR_RELOAD_NO_OPEN_DATABASE" | "LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY" | "LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE" | "LOCERR_RELOAD_ODBC_CONNECT_FAILED" | "LOCERR_RELOAD_OLEDB_CONNECT_FAILED" | "LOCERR_RELOAD_CUSTOM_CONNECT_FAILED" | "LOCERR_RELOAD_ODBC_READ_FAILED" | "LOCERR_RELOAD_OLEDB_READ_FAILED" | "LOCERR_RELOAD_CUSTOM_READ_FAILED" | "LOCERR_RELOAD_BINARY_LOAD_PROHIBITED" | "LOCERR_RELOAD_CONNECTOR_START_FAILED" | "LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING" | "LOCERR_RELOAD_CONNECTOR_REPLY_ERROR" | "LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR" | "LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR" | "LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS" | "LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE" | "LOCERR_RELOAD_WRONG_FILE_FORMAT_QVD" | "LOCERR_RELOAD_ACTION_BLOCKED_ENTITLEMENT" | "LOCERR_PERSONAL_NEW_VERSION_AVAILABLE" | "LOCERR_PERSONAL_VERSION_EXPIRED" | "LOCERR_PERSONAL_SECTION_ACCESS_DETECTED" | "LOCERR_PERSONAL_APP_DELETION_FAILED" | "LOCERR_USER_AUTHENTICATION_FAILURE" | "LOCERR_EXPORT_OUT_OF_MEMORY" | "LOCERR_EXPORT_NO_DATA" | "LOCERR_SYNC_INVALID_OFFSET" | "LOCERR_SEARCH_TIMEOUT" | "LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL" | "LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW" | "LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT" | "LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED" | "LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED" | "LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED" | "LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED" | "LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED" | "LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED" | "LOCERR_SMART_LOAD_TABLE_NOT_FOUND" | "LOCERR_SMART_LOAD_TABLE_DUPLICATED" | "LOCERR_VARIABLE_NO_NAME" | "LOCERR_VARIABLE_DUPLICATE_NAME" | "LOCERR_VARIABLE_INCONSISTENCY" | "LOCERR_VARIABLE_CONSTRAINT_INCONSISTENCY" | "LOCERR_VARIABLE_CONSTRAINT_FAILED" | "LOCERR_MEDIA_LIBRARY_LIST_FAILED" | "LOCERR_MEDIA_LIBRARY_CONTENT_FAILED" | "LOCERR_MEDIA_BUNDLING_FAILED" | "LOCERR_MEDIA_UNBUNDLING_FAILED" | "LOCERR_MEDIA_LIBRARY_NOT_FOUND" | "LOCERR_FEATURE_DISABLED" | "LOCERR_LOAD_TOO_MANY_FIELDS" | "LOCERR_LOAD_TOO_MANY_TABLES" | "LOCERR_JSON_RPC_INVALID_REQUEST" | "LOCERR_JSON_RPC_METHOD_NOT_FOUND" | "LOCERR_JSON_RPC_INVALID_PARAMETERS" | "LOCERR_JSON_RPC_INTERNAL_ERROR" | "LOCERR_JSON_RPC_RESPONSE_TOO_LARGE" | "LOCERR_JSON_RPC_PARSE_ERROR" | "LOCERR_MQ_SOCKET_CONNECT_FAILURE" | "LOCERR_MQ_SOCKET_OPEN_FAILURE" | "LOCERR_MQ_PROTOCOL_NO_RESPONE" | "LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION" | "LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED" | "LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED" | "LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR" | "LOCERR_MQ_PROTOCOL_INVALID_STATUS" | "LOCERR_EXTENGINE_GRPC_STATUS_OK" | "LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED" | "LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN" | "LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT" | "LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED" | "LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND" | "LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS" | "LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED" | "LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED" | "LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION" | "LOCERR_EXTENGINE_GRPC_STATUS_ABORTED" | "LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE" | "LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED" | "LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL" | "LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE" | "LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS" | "LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED" | "LOCERR_LXW_INVALID_OBJ" | "LOCERR_LXW_INVALID_FILE" | "LOCERR_LXW_INVALID_SHEET" | "LOCERR_LXW_INVALID_EXPORT_RANGE" | "LOCERR_LXW_ERROR" | "LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED" | "LOCERR_LXW_ERROR_CREATING_XLSX_FILE" | "LOCERR_LXW_ERROR_CREATING_TMPFILE" | "LOCERR_LXW_ERROR_ZIP_FILE_OPERATION" | "LOCERR_LXW_ERROR_ZIP_FILE_ADD" | "LOCERR_LXW_ERROR_ZIP_CLOSE" | "LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED" | "LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED" | "LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED" | "LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND" | "LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE" | "LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED" | "LOCERR_BDI_STATUS_OK" | "LOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED" | "LOCERR_TRENDLINE_INVALID_DEF" | "LOCERR_TRENDLINE_INVALID_MATH_ERROR" | "LOCERR_CURL_UNSUPPORTED_PROTOCOL" | "LOCERR_CURL_COULDNT_RESOLVE_PROXY" | "LOCERR_CURL_COULDNT_CONNECT" | "LOCERR_CURL_REMOTE_ACCESS_DENIED" | "LOCERR_CURL_FTP_ACCEPT_FAILED" | "LOCERR_CURL_FTP_ACCEPT_TIMEOUT" | "LOCERR_CURL_FTP_CANT_GET_HOST" | "LOCERR_CURL_PARTIAL_FILE" | "LOCERR_CURL_QUOTE_ERROR" | "LOCERR_CURL_WRITE_ERROR" | "LOCERR_CURL_UPLOAD_FAILED" | "LOCERR_CURL_OUT_OF_MEMORY" | "LOCERR_CURL_OPERATION_TIMEDOUT" | "LOCERR_CURL_FTP_COULDNT_USE_REST" | "LOCERR_CURL_HTTP_POST_ERROR" | "LOCERR_CURL_SSL_CONNECT_ERROR" | "LOCERR_CURL_FILE_COULDNT_READ_FILE" | "LOCERR_CURL_LDAP_CANNOT_BIND" | "LOCERR_CURL_LDAP_SEARCH_FAILED" | "LOCERR_CURL_TOO_MANY_REDIRECTS" | "LOCERR_CURL_PEER_FAILED_VERIFICATION" | "LOCERR_CURL_GOT_NOTHING" | "LOCERR_CURL_SSL_ENGINE_NOTFOUND" | "LOCERR_CURL_SSL_ENGINE_SETFAILED" | "LOCERR_CURL_SSL_CERTPROBLEM" | "LOCERR_CURL_SSL_CIPHER" | "LOCERR_CURL_SSL_CACERT" | "LOCERR_CURL_BAD_CONTENT_ENCODING" | "LOCERR_CURL_LDAP_INVALID_URL" | "LOCERR_CURL_USE_SSL_FAILED" | "LOCERR_CURL_SSL_ENGINE_INITFAILED" | "LOCERR_CURL_LOGIN_DENIED" | "LOCERR_CURL_TFTP_NOTFOUND" | "LOCERR_CURL_TFTP_ILLEGAL" | "LOCERR_CURL_SSH" | "LOCERR_SETEXPRESSION_TOO_LARGE" | "LOCERR_RELOAD_MERGE_LOAD_ERROR" | "LOCERR_WIN_FTP_DROPPED" | "LOCERR_WIN_FTP_NO_PASSIVE_MODE" | "LOCERR_WIN_HTTP_DOWNLEVEL_SERVER" | "LOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE" | "LOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION" | "LOCERR_WIN_INTERNET_FORCE_RETRY" | "LOCERR_WIN_INTERNET_CANNOT_CONNECT" | "LOCERR_WIN_INTERNET_CONNECTION_ABORTED" | "LOCERR_WIN_INTERNET_CONNECTION_RESET" | "LOCERR_WIN_INTERNET_DISCONNECTED" | "LOCERR_WIN_INTERNET_INCORRECT_FORMAT" | "LOCERR_WIN_INTERNET_INVALID_CA" | "LOCERR_WIN_INTERNET_INVALID_OPERATION" | "LOCERR_WIN_INTERNET_INVALID_URL" | "LOCERR_WIN_INTERNET_ITEM_NOT_FOUND" | "LOCERR_WIN_INTERNET_LOGIN_FAILURE" | "LOCERR_WIN_INTERNET_NAME_NOT_RESOLVED" | "LOCERR_WIN_INTERNET_NEED_UI" | "LOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID" | "LOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID" | "LOCERR_WIN_INTERNET_SEC_CERT_ERRORS" | "LOCERR_WIN_INTERNET_SEC_INVALID_CERT" | "LOCERR_WIN_INTERNET_SERVER_UNREACHABLE" | "LOCERR_BM_RESULT_TOO_LARGE"; type NxLocalizedWarningCode = "LOCWARN_PERSONAL_RELOAD_REQUIRED" | "LOCWARN_PERSONAL_VERSION_EXPIRES_SOON" | "LOCWARN_EXPORT_DATA_TRUNCATED" | "LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS" | "LOCWARN_SEARCH_INVALID_SEARCHFIELD_DETECTED"; type NxMatchingFieldInfo = { /** * Name of the field. */ qName?: string; /** * List of tags. */ qTags?: string[]; }; type NxMatchingFieldMode = "MATCHINGFIELDMODE_MATCH_ALL" | "MATCHINGFIELDMODE_MATCH_ONE"; /** *
Either **qDef** or **qLibraryId** must be set, but not both. If both are set, the library measure's qDef and qLabel will be used.
If the measure is set in the hypercube and not in the library, this measure cannot be shared with other objects.
A measure that is set in the library can be used by many objects.
* expressions are complementary expressions associated to a measure. For example, you can decide to change the background color of a visualization depending on the values of the measure. * Attribute expressions do not affect the layout of an object. The sorting order is unchanged. *
*/ type NxMeasure = { /** * Refers to a measure stored in the library. */ qLibraryId?: string; /** * Refers to a measure stored in the hypercube. */ qDef?: NxInlineMeasureDef; /** * Defines the sort criteria. * The default value is sort by ascending alphabetic order. * This property is optional. */ qSortBy?: SortCriteria; /** * List of attribute expressions. */ qAttributeExpressions?: NxAttrExprDef[]; /** * List of attribute dimensions. */ qAttributeDimensions?: NxAttrDimDef[]; /** * Specifies a calculation condition, which must be fulfilled for the measure to be calculated. * If the calculation condition is not met, the measure is excluded from the calculation. * By default, there is no calculation condition. * This property is optional. */ qCalcCond?: ValueExpr; /** * Specifies a calculation condition object. * If CalcCondition.Cond is not fulfilled, the measure is excluded from the calculation and CalcCondition.Msg is evaluated. * By default, there is no calculation condition. * This property is optional. */ qCalcCondition?: NxCalcCond; /** * Specifies trendlines for this measure. */ qTrendLines?: NxTrendlineDef[]; qMiniChartDef?: NxMiniChartDef; }; /** * Layout for _NxInlineMeasureDef_. */ type NxMeasureInfo = { /** * Corresponds to the label of the measure. * If the label is not defined then the measure name is used. */ qFallbackTitle?: string; /** * Length of the longest value in the field. */ qApprMaxGlyphCount?: number; /** * Number of distinct field values. */ qCardinal?: number; /** * Sort indicator. * The default value is no sorting. * This parameter is optional. * * One of: * * N or NX_SORT_INDICATE_NONE * * A or NX_SORT_INDICATE_ASC * * D or NX_SORT_INDICATE_DESC */ qSortIndicator?: NxSortIndicatorType; /** * Format of the field. * This parameter is optional. */ qNumFormat?: FieldAttributes; /** * Lowest value in the range. */ qMin?: number; /** * Highest value in the range. */ qMax?: number; /** * This parameter is optional. * Gives information on the error. */ qError?: NxValidationError; /** * If set to true, it inverts the sort criteria in the field. */ qReverseSort?: boolean; /** * This parameter is set to true if _qNumFormat_ is set to _U_ (unknown). The engine guesses the type of the field based on the field's expression. */ qIsAutoFormat?: boolean; /** * List of attribute expressions. */ qAttrExprInfo?: NxAttrExprInfo[]; /** * List of attribute dimensions. */ qAttrDimInfo?: NxAttrDimInfo[]; /** * The message displayed if calculation condition is not fulfilled. */ qCalcCondMsg?: string; /** * Refers to a dimension stored in the library. */ qLibraryId?: string; /** * Calculated trendlines */ qTrendLines?: NxTrendline[]; qMiniChart?: NxMiniChart; }; /** * Layout for _NxMetaDef_. */ type NxMeta = { /** * Name. * This property is optional. */ qName?: string; }; /** * Used to collect meta data. * * ### Properties * Semantic type with an empty structure. */ type NxMetaDef = object; type NxMiniChart = { qYMin?: number; qYMax?: number; qXMin?: number; qXMax?: number; /** * List of attribute expressions. */ qAttrExprInfo?: NxAttrExprInfo[]; /** * This parameter is optional and is displayed in case of error. */ qError?: NxValidationError; }; type NxMiniChartCell = { /** * Some text. */ qText?: string; /** * A value. * This parameter is optional. */ qNum?: number; /** * Rank number of the value, starting from 0. * If the element number is a negative number, it means that the returned value is not an element number. * You can get the following negative values: * * -1: the cell is a _Total_ cell. It shows a total. * * -2: the cell is a _Null_ cell. * * -3: the cell belongs to the group _Others_ . * * -4: the cell is empty. Applies to pivot tables. */ qElemNumber?: number; /** * Attribute expressions values. */ qAttrExps?: NxAttributeExpressionValues; }; type NxMiniChartData = { /** * Array of data. */ qMatrix?: NxMiniChartRows[]; qMin?: number; qMax?: number; /** * This parameter is optional and is displayed in case of error. */ qError?: NxValidationError; }; type NxMiniChartDef = { /** * Expression or field name. */ qDef?: string; /** * LibraryId for dimension. */ qLibraryId?: string; /** * Sorting. */ qSortBy?: SortCriteria; qOtherTotalSpec?: OtherTotalSpecProp; qMaxNumberPoints?: number; /** * List of attribute expressions. */ qAttributeExpressions?: NxAttrExprDef[]; /** * If set to true, no null values are returned. */ qNullSuppression?: boolean; }; type NxMiniChartRows = NxMiniChartCell[]; type NxMultiRangeSelectInfo = { qRanges?: NxRangeSelectInfo[]; qColumnsToSelect?: number[]; }; type NxPage = { /** * Position from the left. * Corresponds to the first column. */ qLeft?: number; /** * Position from the top. * Corresponds to the first row. */ qTop?: number; /** * Number of columns in the page. The indexing of the columns may vary depending on whether the cells are expanded or not (parameter _qAlwaysFullyExpanded_ in _HyperCubeDef_ ). */ qWidth?: number; /** * Number of rows or elements in the page. The indexing of the rows may vary depending on whether the cells are expanded or not (parameter _qAlwaysFullyExpanded_ in _HyperCubeDef_ ). */ qHeight?: number; }; type NxPageTreeLevel = { /** * The first dimension that is to be part of the tree, counted from the left. For example, if qLeft is equal to 1, omit nodes from the first dimension in the current sort order. */ qLeft?: number; /** * Number of dimensions to include in the tree. */ qDepth?: number; }; /** * Defines an area of the tree to be fetched. * * Stability: *stable* */ type NxPageTreeNode = { /** * The area of the tree to be fetched. If no area is defined on a dimension, all existing nodes are included. */ qArea?: Rect; /** * When set to true, generated nodes (based on current selection) will be inserted into the returned tree even when there is no actual value. For example, suppose you are looking for hybrid car sales at all car dealerships. Normally, only dealerships where hybrid cars are sold would be part of the returned tree but with qAllValues set to true, all available dealerships will be included regardless if they sold any hybrid cars or not. */ qAllValues?: boolean; }; type NxPatch = { /** * Operation to perform. * * One of: * * add or Add * * remove or Remove * * replace or Replace */ qOp?: NxPatchOperationType; /** * Path to the property to add, remove or replace. */ qPath?: string; /** * This parameter is not used in a remove operation. * Corresponds to the value of the property to add or to the new value of the property to update. * Examples: * "false", "2", "\"New title\"" */ qValue?: string; }; type NxPatchOperationType = "add" | "Add" | "remove" | "Remove" | "replace" | "Replace"; type NxPatches = { /** * Identifier and type of the object. */ qInfo?: NxInfo; /** * Array with patches. */ qPatches?: NxPatch[]; /** * Array with child objects and their patches. */ qChildren?: NxPatches[]; }; type NxPivotDimensionCell = { /** * Some text. */ qText?: string; /** * Rank number of the value. * If set to -1, it means that the value is not an element number. */ qElemNo?: number; /** * Value of the cell. * Is set to _NaN_ , if the value is not a number. */ qValue?: number; /** * If set to true, it means that the cell can be expanded. * This parameter is not returned if it is set to false. */ qCanExpand?: boolean; /** * If set to true, it means that the cell can be collapsed. * This parameter is not returned if it is set to false. */ qCanCollapse?: boolean; /** * Type of the cell. * * One of: * * V or NX_DIM_CELL_VALUE * * E or NX_DIM_CELL_EMPTY * * N or NX_DIM_CELL_NORMAL * * T or NX_DIM_CELL_TOTAL * * O or NX_DIM_CELL_OTHER * * A or NX_DIM_CELL_AGGR * * P or NX_DIM_CELL_PSEUDO * * R or NX_DIM_CELL_ROOT * * U or NX_DIM_CELL_NULL * * G or NX_DIM_CELL_GENERATED */ qType?: NxDimCellType; /** * Number of elements that are part of the previous tail. * This number depends on the paging, more particularly it depends on the values defined in _qTop_ and _qHeight_ . */ qUp?: number; /** * Number of elements that are part of the next tail. * This number depends on the paging, more particularly it depends on the values defined in _qTop_ and _qHeight_ . */ qDown?: number; /** * Information about sub nodes (or sub cells). * The array is empty _[ ]_ when there is no sub nodes. */ qSubNodes?: NxPivotDimensionCell[]; /** * Information about attribute expressions. * The array is empty _[ ]_ when there is no attribute expressions. */ qAttrExps?: NxAttributeExpressionValues; /** * Information about attribute dimensions. */ qAttrDims?: NxAttributeDimValues; }; type NxPivotPage = { /** * Information about the left dimension values of a pivot table. */ qLeft?: NxPivotDimensionCell[]; /** * Information about the top dimension values of a pivot table. If there is no top dimension in the pivot table, information about the measures are given. */ qTop?: NxPivotDimensionCell[]; /** * Array of data. */ qData?: ArrayOfNxValuePoint[]; /** * Size and offset of the data in the matrix. */ qArea?: Rect; }; type NxPivotValuePoint = { /** * Label of the cell. * This parameter is optional. */ qLabel?: string; /** * Some text related to the cell. */ qText?: string; /** * Value of the cell. */ qNum?: number; /** * Type of the cell. * * One of: * * V or NX_DIM_CELL_VALUE * * E or NX_DIM_CELL_EMPTY * * N or NX_DIM_CELL_NORMAL * * T or NX_DIM_CELL_TOTAL * * O or NX_DIM_CELL_OTHER * * A or NX_DIM_CELL_AGGR * * P or NX_DIM_CELL_PSEUDO * * R or NX_DIM_CELL_ROOT * * U or NX_DIM_CELL_NULL * * G or NX_DIM_CELL_GENERATED */ qType?: NxDimCellType; /** * Attribute expressions values. */ qAttrExps?: NxAttributeExpressionValues; qAttrDims?: NxAttributeDimValues; }; type NxRange = { /** * Position in the expression of the first character of the field name. */ qFrom?: number; /** * Number of characters in the field name. */ qCount?: number; }; type NxRangeSelectInfo = { /** * Range of values. */ qRange?: QRange; /** * Number of the measure to select. * Numbering starts from 0. */ qMeasureIx?: number; }; type NxSelectionCell = { /** * Type of cells to select. * * One of: * * D or NX_CELL_DATA * * T or NX_CELL_TOP * * L or NX_CELL_LEFT */ qType?: NxSelectionCellType; /** * Column index to select. * Indexing starts from 0. * If the cell's type is: * * D, the index is based on the data matrix. * * T, the index is based on the data matrix. * * L, the index is based on the left dimensions indexes. */ qCol?: number; /** * Row index to select. * Indexing starts from 0. * If the cell's type is: * * D, the index is based on the data matrix. * * T, the index is based on the top dimensions indexes. * * L, the index is based on the data matrix. */ qRow?: number; }; type NxSelectionCellType = "D" | "NX_CELL_DATA" | "T" | "NX_CELL_TOP" | "L" | "NX_CELL_LEFT"; type NxSelectionInfo = { /** * Is set to true if the visualization is in selection mode. * For more information about the selection mode, see _BeginSelections Method_. */ qInSelections?: boolean; /** * Is set to true if the visualization is in selection mode and if some selections have been made while in selection mode. * For more information about the selection mode, see _BeginSelections Method_. */ qMadeSelections?: boolean; }; type NxSimpleDimValue = { /** * Text related to the attribute expression value. * This property is optional. No text is returned if the attribute expression value is a numeric. */ qText?: string; /** * Element number. */ qElemNo?: number; }; type NxSimpleValue = { /** * Text related to the attribute expression value. */ qText?: string; /** * Numeric value of the attribute expression. * Set to NaN (Not a Number) if the attribute expression value is not numeric. */ qNum?: number; }; type NxSortIndicatorType = "N" | "NX_SORT_INDICATE_NONE" | "A" | "NX_SORT_INDICATE_ASC" | "D" | "NX_SORT_INDICATE_DESC"; type NxStackPage = { /** * Array of data. */ qData?: NxStackedPivotCell[]; /** * Size and offset of the data in the matrix. */ qArea?: Rect; }; type NxStackedPivotCell = { /** * Some text. */ qText?: string; /** * Rank number of the value. * If set to -1, it means that the value is not an element number. */ qElemNo?: number; /** * Value of the cell. * Is set to _NaN_ , if the value is not a number. */ qValue?: number; /** * If set to true, it means that the cell can be expanded. * This parameter is not returned if it is set to false. */ qCanExpand?: boolean; /** * If set to true, it means that the cell can be collapsed. * This parameter is not returned if it is set to false. */ qCanCollapse?: boolean; /** * Type of the cell. * * One of: * * V or NX_DIM_CELL_VALUE * * E or NX_DIM_CELL_EMPTY * * N or NX_DIM_CELL_NORMAL * * T or NX_DIM_CELL_TOTAL * * O or NX_DIM_CELL_OTHER * * A or NX_DIM_CELL_AGGR * * P or NX_DIM_CELL_PSEUDO * * R or NX_DIM_CELL_ROOT * * U or NX_DIM_CELL_NULL * * G or NX_DIM_CELL_GENERATED */ qType?: NxDimCellType; /** * Total of the positive values in the current group of cells. */ qMaxPos?: number; /** * Total of the negative values in the current group of cells. */ qMinNeg?: number; /** * Number of elements that are part of the previous tail. */ qUp?: number; /** * Number of elements that are part of the next tail. */ qDown?: number; /** * Row index in the data matrix. * The indexing starts from 0. */ qRow?: number; /** * Information about sub nodes (or sub cells). * The array is empty _[ ]_ when there are no sub nodes. */ qSubNodes?: NxStackedPivotCell[]; /** * Attribute expressions values. */ qAttrExps?: NxAttributeExpressionValues; /** * Attribute dimensions values. */ qAttrDims?: NxAttributeDimValues; }; type NxStateCounts = { /** * Number of values in locked state. */ qLocked?: number; /** * Number of values in selected state. */ qSelected?: number; /** * Number of values in optional state. */ qOption?: number; /** * Number of values in deselected state. */ qDeselected?: number; /** * Number of values in alternative state. */ qAlternative?: number; /** * Number of values in excluded state. */ qExcluded?: number; /** * Number of values in selected excluded state. */ qSelectedExcluded?: number; /** * Number of values in locked excluded state. */ qLockedExcluded?: number; }; /** *
This struct is deprecated (not recommended to use).
* * @deprecated: This will be removed in a future version */ type NxStreamListEntry = { /** * Name of the stream. */ qName?: string; /** * Identifier of the stream. */ qId?: string; }; type NxTempBookmarkOptions = { /** * IncludeVariables If true all variables will be stored in the temporary bookmark */ qIncludeVariables?: boolean; /** * IncludeAllPatches If true all patches will be stored in the temporary bookmark, if false ObjectIdsToPatch will determine what patches to include */ qIncludeAllPatches?: boolean; }; type NxTickCell = { /** * Tick's label. */ qText?: string; /** * Start value. */ qStart?: number; /** * End value. */ qEnd?: number; }; /** * Specifies all the paging filters needed to define the tree to be fetched. * * Stability: *stable* */ type NxTreeDataOption = { /** * Maximum number of nodes in the tree. If this limit is exceeded, no nodes are returned. All nodes are counted. */ qMaxNbrOfNodes?: number; /** * Defines areas of the tree to be fetched. Areas must be defined left to right. */ qTreeNodes?: NxPageTreeNode[]; /** * Filters out complete dimensions from the fetched tree. */ qTreeLevels?: NxPageTreeLevel; }; type NxTreeDimensionDef = { /** * Refers to a dimension stored in the library. */ qLibraryId?: string; /** * Refers to a dimension. */ qDef?: NxInlineDimensionDef; /** * List of measures. */ qValueExprs?: NxMeasure[]; /** * If set to true, no null values are returned. */ qNullSuppression?: boolean; /** * Sets the dimension limits. Each dimension of a hypercube is configured separately. * Defines if some values (grouped as _Others_ ) should be grouped together in the visualization. * For example in a pie chart all values lower than 200 could be grouped together. */ qOtherTotalSpec?: OtherTotalSpecProp; /** * If set to true, all dimension values are shown. */ qShowAll?: boolean; /** * This property is used when some dimension limits are set. * Label of the _Others_ group. The default label is _Others_ . * Example: * _"qOtherLabel":"= <label>"_ * or * _"qOtherLabel":{"qExpr":"= <label>"}_ * Where: * * < _label_ > is the label of the _Others_ group. */ qOtherLabel?: StringExpr; /** * If this property is set, the total of the calculated values is returned. * The default label is _Total_ . * Example: * _"qTotalLabel":"= <label>"_ * or * _"qTotalLabel":{"qExpr":"= <label>"}_ * Where: * * < _label_ > is the label of the _Total_ group. */ qTotalLabel?: StringExpr; /** * Specifies a calculation condition object. * If CalcCondition.Cond is not fulfilled, the dimension is excluded from the calculation and CalcCondition.Msg is evaluated. * By default, there is no calculation condition. * This property is optional. */ qCalcCondition?: NxCalcCond; /** * List of attribute expressions. */ qAttributeExpressions?: NxAttrExprDef[]; /** * List of attribute dimensions. */ qAttributeDimensions?: NxAttrDimDef[]; }; type NxTreeDimensionInfo = { /** * Corresponds to the label of the dimension that is selected. * If the label is not defined then the field name is used. */ qFallbackTitle?: string; /** * Length of the longest value in the field. */ qApprMaxGlyphCount?: number; /** * Number of distinct field values. * * @deprecated: This will be removed in a future version */ qCardinal?: number; /** * Is set to true if the field is locked. */ qLocked?: boolean; /** * Sort indicator. * The default value is no sorting. * This parameter is optional. * * One of: * * N or NX_SORT_INDICATE_NONE * * A or NX_SORT_INDICATE_ASC * * D or NX_SORT_INDICATE_DESC */ qSortIndicator?: NxSortIndicatorType; /** * Array of dimension labels. * Contains the labels of all dimensions in a hierarchy group (for example the labels of all dimensions in a drill down group). */ qGroupFallbackTitles?: string[]; /** * Index of the dimension that is currently in use. * _qGroupPos_ is set to 0 if there are no hierarchical groups (drill-down groups) or cycle groups. */ qGroupPos?: number; /** * Number of values in a particular state. */ qStateCounts?: NxStateCounts; /** * Gives information on a field. For example, it can return the type of the field. * Examples: key, text, ASCII */ qTags?: string[]; /** * This parameter is optional. * Gives information on the error. */ qError?: NxValidationError; /** * Binary format of the field. * * One of: * * D or NX_DIMENSION_TYPE_DISCRETE * * N or NX_DIMENSION_TYPE_NUMERIC * * T or NX_DIMENSION_TYPE_TIME */ qDimensionType?: NxDimensionType; /** * If set to true, it inverts the sort criteria in the field. */ qReverseSort?: boolean; /** * Defines the grouping. * * One of: * * N or GRP_NX_NONE * * H or GRP_NX_HIEARCHY * * C or GRP_NX_COLLECTION */ qGrouping?: NxGrpType; /** * If set to true, it means that the field is a semantic. */ qIsSemantic?: boolean; /** * Format of the field. * This parameter is optional. */ qNumFormat?: FieldAttributes; /** * This parameter is set to true if _qNumFormat_ is set to _U_ (unknown). The engine guesses the type of the field based on the field's definition. */ qIsAutoFormat?: boolean; /** * Array of field names. */ qGroupFieldDefs?: string[]; /** * Minimum value. */ qMin?: number; /** * Maximum value. */ qMax?: number; /** * Is continuous axis used. */ qContinuousAxes?: boolean; /** * Is a cyclic dimension used. */ qIsCyclic?: boolean; /** * Is derived field is used as a dimension. */ qDerivedField?: boolean; /** * A List of measures to be calculated on this TreeDimension. */ qMeasureInfo?: NxMeasureInfo[]; /** * List of attribute expressions. */ qAttrExprInfo?: NxAttrExprInfo[]; /** * List of attribute dimensions. */ qAttrDimInfo?: NxAttrDimInfo[]; /** * The message displayed if calculation condition is not fulfilled. */ qCalcCondMsg?: string; /** * True if this is a calculated dimension. */ qIsCalculated?: boolean; /** * If set to true, it means that the field always has one and only one selected value. */ qIsOneAndOnlyOne?: boolean; /** * Dimension Cardinalities */ qCardinalities?: NxCardinalities; /** * Refers to a dimension stored in the library. */ qLibraryId?: string; /** * The expanded and stripped dimension name used internally in engine. * * Stability: *experimental* */ qEffectiveDimensionName?: string; }; type NxTreeMultiRangeSelectInfo = { /** * An array of Ranges. */ qRanges?: NxTreeRangeSelectInfo[]; }; /** * Represents a dimension in the tree. * * Stability: *stable* */ type NxTreeNode = { /** * The text version of the value, if available. */ qText?: string; /** * Value of the cell. * Is set to _NaN_ , if the value is not a number. */ qValue?: number; /** * Element number. */ qElemNo?: number; /** * The position of this node inside it's group in the complete tree, i.e. Not dependant om what part is fetched. */ qGroupPos?: number; /** * Nbr of nodes connected to this node on the next level of the tree. Not dependant on what part is fetched. */ qGroupSize?: number; /** * Row index in the data matrix. * The indexing starts from 0. */ qRow?: number; /** * Type of the cell. * * One of: * * V or NX_DIM_CELL_VALUE * * E or NX_DIM_CELL_EMPTY * * N or NX_DIM_CELL_NORMAL * * T or NX_DIM_CELL_TOTAL * * O or NX_DIM_CELL_OTHER * * A or NX_DIM_CELL_AGGR * * P or NX_DIM_CELL_PSEUDO * * R or NX_DIM_CELL_ROOT * * U or NX_DIM_CELL_NULL * * G or NX_DIM_CELL_GENERATED */ qType?: NxDimCellType; /** * The measures for this node. */ qValues?: NxTreeValue[]; /** * The children of this node in the fetched tree structure. */ qNodes?: NxTreeNode[]; /** * Attribute expression values. */ qAttrExps?: NxAttributeExpressionValues; /** * Attribute dimension values. */ qAttrDims?: NxAttributeDimValues; /** * Total of the positive values in the current group of cells. */ qMaxPos?: number[]; /** * Total of the negative values in the current group of cells. */ qMinNeg?: number[]; /** * If set to true, it means that the cell can be expanded. * This parameter is not returned if it is set to false. */ qCanExpand?: boolean; /** * If set to true, it means that the cell can be collapsed. * This parameter is not returned if it is set to false. */ qCanCollapse?: boolean; /** * Selection State of the value. * The default state for a measure is L(Locked). * * One of: * * L or LOCKED * * S or SELECTED * * O or OPTION * * D or DESELECTED * * A or ALTERNATIVE * * X or EXCLUDED * * XS or EXCL_SELECTED * * XL or EXCL_LOCKED * * NSTATES */ qState?: StateEnumType; /** * The GroupPos of all prior nodes connected to this one, one position for each level of the tree. * If this node is attached directly to the root, this array is empty. */ qTreePath?: number[]; }; type NxTreeRangeSelectInfo = { /** * Range of values. */ qRange?: QRange; /** * Number of the measure to select. * Numbering starts from 0. */ qMeasureIx?: number; /** * Number of the dimension to select * measure from. Numbering starts from 0. */ qDimensionIx?: number; }; /** * Represents a measure. * * Stability: *stable* */ type NxTreeValue = { /** * The text version of the value, if available. */ qText?: string; /** * Value of the cell. * Is set to _NaN_ , if the value is not a number. */ qValue?: number; /** * Attribute expression values. */ qAttrExps?: NxAttributeExpressionValues; /** * Attribute dimension values. */ qAttrDims?: NxAttributeDimValues; }; /** * Information about the calculated trendline. * * Stability: *experimental* */ type NxTrendline = { /** * Type of trendline * * One of: * * AVERAGE or Average * * LINEAR or Linear * * POLYNOMIAL2 or Polynomial2 * * POLYNOMIAL3 or Polynomial3 * * POLYNOMIAL4 or Polynomial4 * * EXPONENTIAL or Exponential * * POWER or Power * * LOG or Logarithmic */ qType?: NxLTrendlineType; /** * This parameter is optional and is displayed in case of error. */ qError?: NxValidationError; /** * Coefficent c0..cN depending on the trendline type. */ qCoeff?: number[]; /** * R2 score. Value between 0..1 that shows the correlation between the trendline and the data. Higher value means higher correlation. */ qR2?: number; /** * Trendline expression */ qExpression?: string; /** * Inner Dim elem no */ qElemNo?: number; }; /** * Trendline input definition * * Stability: *experimental* */ type NxTrendlineDef = { /** * The type of trendline to calculate * * One of: * * AVERAGE or Average * * LINEAR or Linear * * POLYNOMIAL2 or Polynomial2 * * POLYNOMIAL3 or Polynomial3 * * POLYNOMIAL4 or Polynomial4 * * EXPONENTIAL or Exponential * * POWER or Power * * LOG or Logarithmic */ qType?: NxLTrendlineType; /** * The column in the hypercube to be used as x axis. Can point to either a dimension (numeric or text) or a measure */ qXColIx?: number; /** * Set to true to calulatate the R2 score */ qCalcR2?: boolean; /** * Set if the numerical value of x axis dimension should be used * * One of: * * Never or CONTINUOUS_NEVER * * Possible or CONTINUOUS_IF_POSSIBLE * * Time or CONTINUOUS_IF_TIME */ qContinuousXAxis?: NxContinuousMode; /** * If you have a hypercube with two dimensions and qXColIx refers to a dimension * This determines if you get one trendline of each value in the other dimension or * Or trendline based on the sum of the value in the other dimension * The sum variant is only supported when qXColIx is 0 and qMode (on the hypercube) is K or T * * One of: * * Multi or TRENDLINE_MULTILINE * * Sum or TRENDLINE_SUM */ qMultiDimMode?: NxTrendlineMode; }; type NxTrendlineMode = "Multi" | "TRENDLINE_MULTILINE" | "Sum" | "TRENDLINE_SUM"; type NxValidationError = { /** * Error code. * This parameter is always displayed in case of error. */ qErrorCode?: number; /** * Context related to the error, from the user app domain. * It can be the identifier of an object, a field name, a table name. * This parameter is optional. */ qContext?: string; /** * Internal information from the server. * This parameter is optional. */ qExtendedMessage?: string; }; type NxVariableListItem = { /** * Name of the variable. */ qName?: string; /** * Description of the variable. */ qDescription?: string; /** * Definition of the variable. It can be a value or an expression. */ qDefinition?: string; /** * If set to true, it means that the variable is a system variable. * A system variable provides information about the system and is set by the engine. The content cannot be changed by the user. * This parameter is optional. * The default value is false. */ qIsConfig?: boolean; /** * If set to true, it means that the variable is reserved. * The default value is false. * This parameter is optional. * Examples: * * _ScriptError_ is a reserved variable, set by the engine. * * _DayNames_ is a reserved variable, set by the user. */ qIsReserved?: boolean; /** * Information about publishing and permissions. * This parameter is optional. */ qMeta?: NxMeta; /** * Identifier and type of the object. * This parameter is mandatory. */ qInfo?: NxInfo; /** * Data. */ qData?: QData; /** * If set to true, it means that the variable was defined via script. */ qIsScriptCreated?: boolean; }; type NxVariableProperties = { /** * Name of the variable. */ qName?: string; /** * Defines the format of the value of a variable. */ qNumberPresentation?: FieldAttributes; /** * Set this property to true to update the variable when applying a bookmark. * The value of a variable can affect the state of the selections. * The default value is false. */ qIncludeInBookmark?: boolean; /** * The value of a variable can be an enumeration. * Set this property to true to reflect the predefined values in an enumeration. */ qUsePredefListedValues?: boolean; /** * List of enumerations. * This property is used if _qUsePredefListedValues_ is set to true. */ qPreDefinedList?: string[]; }; type NxViewPort = { /** * Width of the canvas in pixels. */ qWidth?: number; /** * Height of the canvas in pixels. */ qHeight?: number; /** * Zoom level. */ qZoomLevel?: number; }; type ObjectInterface = { /** * The native type of the object. */ qType?: string; /** * The handle used to connect to object. */ qHandle?: number; /** * The type of the object. */ qGenericType?: string; /** * Object ID. */ qGenericId?: string; }; type OdbcDsn = { /** * Name of the ODBC connection. */ qName?: string; /** * Description of the ODBC connection. */ qDescription?: string; /** * Is set to true if the version of ODBC is 32-bit. * This parameter is optional. Default is false. */ qBit32?: boolean; /** * Is set to true if the connection is User DSN. The connection works only for a specific user. * Default is false. * This parameter is optional. */ qUserOnly?: boolean; }; type OleDbProvider = { /** * Name of the OLEDB provider. */ qName?: string; /** * Description of the OLEDB provider. */ qDescription?: string; /** * Is set to true if the version of the OLEDB provider is 32-bit. * Default is false. * This parameter is optional. */ qBit32?: boolean; }; type OtherLimitMode = "OTHER_GE_LIMIT" | "OTHER_LE_LIMIT" | "OTHER_GT_LIMIT" | "OTHER_LT_LIMIT"; type OtherMode = "OTHER_OFF" | "OTHER_COUNTED" | "OTHER_ABS_LIMITED" | "OTHER_ABS_ACC_TARGET" | "OTHER_REL_LIMITED" | "OTHER_REL_ACC_TARGET"; type OtherSortMode = "OTHER_SORT_DEFAULT" | "OTHER_SORT_DESCENDING" | "OTHER_SORT_ASCENDING"; type OtherTotalSpecProp = { /** * Determines how many dimension values are displayed. * The default value is _OTHER_OFF_ . * * One of: * * OTHER_OFF * * OTHER_COUNTED * * OTHER_ABS_LIMITED * * OTHER_ABS_ACC_TARGET * * OTHER_REL_LIMITED * * OTHER_REL_ACC_TARGET */ qOtherMode?: OtherMode; /** * Number of values to display. The number of values can be entered as a calculated formula. * This parameter is used when _qOtherMode_ is set to _OTHER_COUNTED_ . */ qOtherCounted?: ValueExpr; /** * Value used to limit the dimension values. The limit can be entered as a calculated formula. * This parameter is used when _qOtherMode_ is set to: * * OTHER_ABS_LIMITED * * OTHER_REL_LIMITED * * OTHER_ABS_ACC_TARGET * OTHER_REL_ACC_TARGET */ qOtherLimit?: ValueExpr; /** * Sets the limit for the _Others_ mode. * This parameter is used when _qOtherMode_ is set to: * * OTHER_ABS_LIMITED * * OTHER_REL_LIMITED * * OTHER_ABS_ACC_TARGET * OTHER_REL_ACC_TARGET * * One of: * * OTHER_GE_LIMIT * * OTHER_LE_LIMIT * * OTHER_GT_LIMIT * * OTHER_LT_LIMIT */ qOtherLimitMode?: OtherLimitMode; /** * If set to true, the group _Others_ is not displayed as a dimension value. * The default value is false. */ qSuppressOther?: boolean; /** * This parameter is used when _qOtherMode_ is set to: * * OTHER_ABS_LIMITED * * OTHER_REL_LIMITED * * OTHER_ABS_ACC_TARGET * OTHER_REL_ACC_TARGET * * and when the dimension values include not numeric values. * Set this parameter to true to include text values in the returned values. * The default value is true. */ qForceBadValueKeeping?: boolean; /** * Set this parameter to true to allow the calculation of _Others_ even if the engine detects some potential mistakes. * For example the country Russia is part of the continent Europe and Asia. If you have an hypercube with two dimensions Country and Continent and one measure Population, the engine can detect that the population of Russia is included in both the continent Asia and Europe. * The default value is true. */ qApplyEvenWhenPossiblyWrongResult?: boolean; /** * This parameter applies to inner dimensions. * If this parameter is set to true, the restrictions are calculated on the selected dimension only. All previous dimensions are ignored. * The default value is false. */ qGlobalOtherGrouping?: boolean; /** * If set to true, it collapses the inner dimensions (if any) in the group _Others_ . * The default value is false. */ qOtherCollapseInnerDimensions?: boolean; /** * Defines the sort order of the dimension values. * The default value is _OTHER_SORT_DESCENDING_ . * * One of: * * OTHER_SORT_DEFAULT * * OTHER_SORT_DESCENDING * * OTHER_SORT_ASCENDING */ qOtherSortMode?: OtherSortMode; /** * If set to _TOTAL_EXPR_ , the total of the dimension values is returned. * The default value is _TOTAL_OFF_ . * * One of: * * TOTAL_OFF * * TOTAL_EXPR */ qTotalMode?: TotalMode; /** * This parameter applies when there are several measures. * Name of the measure to use for the calculation of _Others_ for a specific dimension. */ qReferencedExpression?: StringExpr; }; type Point = { /** * x-coordinate in pixels. * The origin is the top left of the screen. */ qx?: number; /** * y-coordinate in pixels. * The origin is the top left of the screen. */ qy?: number; }; type PositionMark = { qDimName?: string; qElemNo?: number[]; qElemValues?: string[]; }; type ProgressData = { /** * True if the request is started. */ qStarted?: boolean; /** * True if the request is finished. */ qFinished?: boolean; /** * This property is not used. */ qCompleted?: number; /** * This property is not used. */ qTotal?: number; /** * This property is not used. */ qKB?: number; /** * Request duration in milliseconds. */ qMillisecs?: number; /** * True when the engine pauses the script execution and waits for a user interaction. */ qUserInteractionWanted?: boolean; /** * A progress message is persistent when it informs about the start or end of a statement. For example, it can inform about the total number of lines fetched from a data source or tell that the app was saved. All persistent progress messages between two *GetProgress* calls are summarized in this string. Contrarily to *qPersistentProgressMessages*, the content of the localized message string is displayed (not its message code). */ qPersistentProgress?: string; /** * A progress message is transient when it informs about the progress of an ongoing statement. For example, it can tell how many lines are currently fetched from a data source. All transient progress messages between two *GetProgress* calls are summarized in this string. Contrarily to *qTransientProgressMessage*, the content of the localized message string is displayed (not its message code). */ qTransientProgress?: string; /** * Information about the error messages that occur during the script execution. */ qErrorData?: ErrorData[]; /** * List of persistent progress messages. */ qPersistentProgressMessages?: ProgressMessage[]; /** * Transient progress message. */ qTransientProgressMessage?: ProgressMessage; }; type ProgressMessage = { /** * Code number to the corresponding localized message string. */ qMessageCode?: number; /** * Parameters to be inserted in the localized message string. */ qMessageParameters?: string[]; }; type QRange = { /** * Lowest value in the range */ qMin?: number; /** * Highest value in the range */ qMax?: number; /** * If set to true, the range includes the lowest value in the range of selections (Equals to ). [bn(50500)] * Example: * The range is [1,10]. If _qMinInclEq_ is set to true it means that 1 is included in the range of selections. */ qMinInclEq?: boolean; /** * If set to true, the range includes the highest value in the range of selections (Equals to ). [bn(50500)] * Example: * The range is [1,10]. If _qMinInclEq_ is set to true it means that 10 is included in the range of selections. */ qMaxInclEq?: boolean; }; type RangeSelectInfo = { /** * Lowest value in the range. */ qRangeLo?: number; /** * Highest value in the range. */ qRangeHi?: number; /** * Label of the measure. */ qMeasure?: string; }; type Rect = { /** * Position from the left. * Corresponds to the first column. */ qLeft?: number; /** * Position from the top. * Corresponds to the first row. */ qTop?: number; /** * Number of columns in the page. The indexing of the columns may vary depending on whether the cells are expanded or not (parameter _qAlwaysFullyExpanded_ in _HyperCubeDef_ ). */ qWidth?: number; /** * Number of rows or elements in the page. The indexing of the rows may vary depending on whether the cells are expanded or not (parameter _qAlwaysFullyExpanded_ in _HyperCubeDef_ ). */ qHeight?: number; }; type ReloadError = { /** * Type of error. */ qError?: string; /** * Description of error. */ qDescription?: string; /** * Script line text where error occurred. */ qLine?: string; /** * Script line number where error occurred. */ qLineNumber?: number; /** * Error code. */ qCode?: number; /** * Enum name of the error code. * * One of: * * LOCERR_INTERNAL_ERROR * * LOCERR_GENERIC_UNKNOWN * * LOCERR_GENERIC_OK * * LOCERR_GENERIC_NOT_SET * * LOCERR_GENERIC_NOT_FOUND * * LOCERR_GENERIC_ALREADY_EXISTS * * LOCERR_GENERIC_INVALID_PATH * * LOCERR_GENERIC_ACCESS_DENIED * * LOCERR_GENERIC_OUT_OF_MEMORY * * LOCERR_GENERIC_NOT_INITIALIZED * * LOCERR_GENERIC_INVALID_PARAMETERS * * LOCERR_GENERIC_EMPTY_PARAMETERS * * LOCERR_GENERIC_INTERNAL_ERROR * * LOCERR_GENERIC_CORRUPT_DATA * * LOCERR_GENERIC_MEMORY_INCONSISTENCY * * LOCERR_GENERIC_INVISIBLE_OWNER_ABORT * * LOCERR_GENERIC_PROHIBIT_VALIDATE * * LOCERR_GENERIC_ABORTED * * LOCERR_GENERIC_CONNECTION_LOST * * LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION * * LOCERR_GENERIC_REST_CONNECTION_FAILURE * * LOCERR_GENERIC_MEMORY_LIMIT_REACHED * * LOCERR_GENERIC_NOT_IMPLEMENTED * * LOCERR_GENERIC_ENGINE_TERMINATED * * LOCERR_GENERIC_WRITE_OPERATIONS_LIMIT_REACHED * * LOCERR_HTTP_400 * * LOCERR_HTTP_401 * * LOCERR_HTTP_402 * * LOCERR_HTTP_403 * * LOCERR_HTTP_404 * * LOCERR_HTTP_405 * * LOCERR_HTTP_406 * * LOCERR_HTTP_407 * * LOCERR_HTTP_408 * * LOCERR_HTTP_409 * * LOCERR_HTTP_410 * * LOCERR_HTTP_411 * * LOCERR_HTTP_412 * * LOCERR_HTTP_413 * * LOCERR_HTTP_414 * * LOCERR_HTTP_415 * * LOCERR_HTTP_416 * * LOCERR_HTTP_417 * * LOCERR_HTTP_422 * * LOCERR_HTTP_423 * * LOCERR_HTTP_429 * * LOCERR_HTTP_500 * * LOCERR_HTTP_501 * * LOCERR_HTTP_502 * * LOCERR_HTTP_503 * * LOCERR_HTTP_504 * * LOCERR_HTTP_505 * * LOCERR_HTTP_509 * * LOCERR_HTTP_COULD_NOT_RESOLVE_HOST * * LOCERR_APP_ALREADY_EXISTS * * LOCERR_APP_INVALID_NAME * * LOCERR_APP_ALREADY_OPEN * * LOCERR_APP_NOT_FOUND * * LOCERR_APP_IMPORT_FAILED * * LOCERR_APP_SAVE_FAILED * * LOCERR_APP_CREATE_FAILED * * LOCERR_APP_INVALID * * LOCERR_APP_CONNECT_FAILED * * LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE * * LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE * * LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION * * LOCERR_APP_MIGRATION_FAILURE * * LOCERR_APP_SCRIPT_MISSING * * LOCERR_APP_EXPORT_FAILED * * LOCERR_APP_SIZE_EXCEEDED * * LOCERR_APP_DIRECT_QUERY_WORKLOAD_NOT_SUPPORTED * * LOCERR_APP_NOT_OPEN * * LOCERR_APP_EVENT_SOURCE_TIMEOUT * * LOCERR_CONNECTION_ALREADY_EXISTS * * LOCERR_CONNECTION_NOT_FOUND * * LOCERR_CONNECTION_FAILED_TO_LOAD * * LOCERR_CONNECTION_FAILED_TO_IMPORT * * LOCERR_CONNECTION_NAME_IS_INVALID * * LOCERR_CONNECTION_MISSING_CREDENTIALS * * LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT * * LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE * * LOCERR_FILE_ACCESS_DENIED * * LOCERR_FILE_NAME_INVALID * * LOCERR_FILE_CORRUPT * * LOCERR_FILE_NOT_FOUND * * LOCERR_FILE_FORMAT_UNSUPPORTED * * LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE * * LOCERR_FILE_TABLE_NOT_FOUND * * LOCERR_USER_ACCESS_DENIED * * LOCERR_USER_IMPERSONATION_FAILED * * LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS * * LOCERR_SERVER_OUT_OF_SESSION_CALS * * LOCERR_SERVER_OUT_OF_USAGE_CALS * * LOCERR_SERVER_OUT_OF_CALS * * LOCERR_SERVER_OUT_OF_NAMED_CALS * * LOCERR_SERVER_OFF_DUTY * * LOCERR_SERVER_BUSY * * LOCERR_SERVER_LICENSE_EXPIRED * * LOCERR_SERVER_AJAX_DISABLED * * LOCERR_SERVER_NO_TOKEN * * LOCERR_HC_INVALID_OBJECT * * LOCERR_HC_RESULT_TOO_LARGE * * LOCERR_HC_INVALID_OBJECT_STATE * * LOCERR_HC_MODAL_OBJECT_ERROR * * LOCERR_CALC_INVALID_DEF * * LOCERR_CALC_NOT_IN_LIB * * LOCERR_CALC_HEAP_ERROR * * LOCERR_CALC_TOO_LARGE * * LOCERR_CALC_TIMEOUT * * LOCERR_CALC_EVAL_CONDITION_FAILED * * LOCERR_CALC_MIXED_LINKED_AGGREGATION * * LOCERR_CALC_MISSING_LINKED * * LOCERR_CALC_INVALID_COL_SORT * * LOCERR_CALC_PAGES_TOO_LARGE * * LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED * * LOCERR_CALC_VALIDATION_STATE_INVALID * * LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS * * LOCERR_CALC_MISSING_LINKED_FIELD * * LOCERR_CALC_NOT_CALCULATED * * LOCERR_LAYOUT_EXTENDS_INVALID_ID * * LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND * * LOCERR_LAYOUT_LINKED_OBJECT_INVALID * * LOCERR_PERSISTENCE_WRITE_FAILED * * LOCERR_PERSISTENCE_READ_FAILED * * LOCERR_PERSISTENCE_DELETE_FAILED * * LOCERR_PERSISTENCE_NOT_FOUND * * LOCERR_PERSISTENCE_UNSUPPORTED_VERSION * * LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY * * LOCERR_PERSISTENCE_MIGRATION_CANCELLED * * LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED * * LOCERR_PERSISTENCE_DISK_FULL * * LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP * * LOCERR_PERSISTENCE_MOVE_FAILED * * LOCERR_PERSISTENCE_OBJECT_LOCKED * * LOCERR_PERSISTENCE_ENCRYPTION_KEY_MIGRATION_ONGOING * * LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS * * LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS * * LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED * * LOCERR_RELOAD_IN_PROGRESS * * LOCERR_RELOAD_TABLE_X_NOT_FOUND * * LOCERR_RELOAD_UNKNOWN_STATEMENT * * LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN * * LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN * * LOCERR_RELOAD_FIELD_X_NOT_FOUND * * LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND * * LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND * * LOCERR_RELOAD_NAME_ALREADY_TAKEN * * LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF * * LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF * * LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED * * LOCERR_RELOAD_OPEN_FILE_ERROR * * LOCERR_RELOAD_AUTO_GENERATE_COUNT * * LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB * * LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR * * LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND * * LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID * * LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE * * LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE * * LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS * * LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS * * LOCERR_RELOAD_NO_OPEN_DATABASE * * LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY * * LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE * * LOCERR_RELOAD_ODBC_CONNECT_FAILED * * LOCERR_RELOAD_OLEDB_CONNECT_FAILED * * LOCERR_RELOAD_CUSTOM_CONNECT_FAILED * * LOCERR_RELOAD_ODBC_READ_FAILED * * LOCERR_RELOAD_OLEDB_READ_FAILED * * LOCERR_RELOAD_CUSTOM_READ_FAILED * * LOCERR_RELOAD_BINARY_LOAD_PROHIBITED * * LOCERR_RELOAD_CONNECTOR_START_FAILED * * LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING * * LOCERR_RELOAD_CONNECTOR_REPLY_ERROR * * LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR * * LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR * * LOCERR_RELOAD_INPUT_FIELD_WITH_DUPLICATE_KEYS * * LOCERR_RELOAD_CONCATENATE_LOAD_NO_PREVIOUS_TABLE * * LOCERR_RELOAD_WRONG_FILE_FORMAT_QVD * * LOCERR_RELOAD_ACTION_BLOCKED_ENTITLEMENT * * LOCERR_PERSONAL_NEW_VERSION_AVAILABLE * * LOCERR_PERSONAL_VERSION_EXPIRED * * LOCERR_PERSONAL_SECTION_ACCESS_DETECTED * * LOCERR_PERSONAL_APP_DELETION_FAILED * * LOCERR_USER_AUTHENTICATION_FAILURE * * LOCERR_EXPORT_OUT_OF_MEMORY * * LOCERR_EXPORT_NO_DATA * * LOCERR_SYNC_INVALID_OFFSET * * LOCERR_SEARCH_TIMEOUT * * LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL * * LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW * * LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT * * LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED * * LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED * * LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED * * LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED * * LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED * * LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED * * LOCERR_SMART_LOAD_TABLE_NOT_FOUND * * LOCERR_SMART_LOAD_TABLE_DUPLICATED * * LOCERR_VARIABLE_NO_NAME * * LOCERR_VARIABLE_DUPLICATE_NAME * * LOCERR_VARIABLE_INCONSISTENCY * * LOCERR_VARIABLE_CONSTRAINT_INCONSISTENCY * * LOCERR_VARIABLE_CONSTRAINT_FAILED * * LOCERR_MEDIA_LIBRARY_LIST_FAILED * * LOCERR_MEDIA_LIBRARY_CONTENT_FAILED * * LOCERR_MEDIA_BUNDLING_FAILED * * LOCERR_MEDIA_UNBUNDLING_FAILED * * LOCERR_MEDIA_LIBRARY_NOT_FOUND * * LOCERR_FEATURE_DISABLED * * LOCERR_LOAD_TOO_MANY_FIELDS * * LOCERR_LOAD_TOO_MANY_TABLES * * LOCERR_JSON_RPC_INVALID_REQUEST * * LOCERR_JSON_RPC_METHOD_NOT_FOUND * * LOCERR_JSON_RPC_INVALID_PARAMETERS * * LOCERR_JSON_RPC_INTERNAL_ERROR * * LOCERR_JSON_RPC_RESPONSE_TOO_LARGE * * LOCERR_JSON_RPC_PARSE_ERROR * * LOCERR_MQ_SOCKET_CONNECT_FAILURE * * LOCERR_MQ_SOCKET_OPEN_FAILURE * * LOCERR_MQ_PROTOCOL_NO_RESPONE * * LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION * * LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED * * LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED * * LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR * * LOCERR_MQ_PROTOCOL_INVALID_STATUS * * LOCERR_EXTENGINE_GRPC_STATUS_OK * * LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED * * LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN * * LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT * * LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED * * LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND * * LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS * * LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED * * LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED * * LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION * * LOCERR_EXTENGINE_GRPC_STATUS_ABORTED * * LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE * * LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED * * LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL * * LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE * * LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS * * LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED * * LOCERR_LXW_INVALID_OBJ * * LOCERR_LXW_INVALID_FILE * * LOCERR_LXW_INVALID_SHEET * * LOCERR_LXW_INVALID_EXPORT_RANGE * * LOCERR_LXW_ERROR * * LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED * * LOCERR_LXW_ERROR_CREATING_XLSX_FILE * * LOCERR_LXW_ERROR_CREATING_TMPFILE * * LOCERR_LXW_ERROR_ZIP_FILE_OPERATION * * LOCERR_LXW_ERROR_ZIP_FILE_ADD * * LOCERR_LXW_ERROR_ZIP_CLOSE * * LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED * * LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED * * LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED * * LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND * * LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE * * LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED * * LOCERR_BDI_STATUS_OK * * LOCERR_BDI_GENERIC_ERROR_NOT_TRANSLATED * * LOCERR_TRENDLINE_INVALID_DEF * * LOCERR_TRENDLINE_INVALID_MATH_ERROR * * LOCERR_CURL_UNSUPPORTED_PROTOCOL * * LOCERR_CURL_COULDNT_RESOLVE_PROXY * * LOCERR_CURL_COULDNT_CONNECT * * LOCERR_CURL_REMOTE_ACCESS_DENIED * * LOCERR_CURL_FTP_ACCEPT_FAILED * * LOCERR_CURL_FTP_ACCEPT_TIMEOUT * * LOCERR_CURL_FTP_CANT_GET_HOST * * LOCERR_CURL_PARTIAL_FILE * * LOCERR_CURL_QUOTE_ERROR * * LOCERR_CURL_WRITE_ERROR * * LOCERR_CURL_UPLOAD_FAILED * * LOCERR_CURL_OUT_OF_MEMORY * * LOCERR_CURL_OPERATION_TIMEDOUT * * LOCERR_CURL_FTP_COULDNT_USE_REST * * LOCERR_CURL_HTTP_POST_ERROR * * LOCERR_CURL_SSL_CONNECT_ERROR * * LOCERR_CURL_FILE_COULDNT_READ_FILE * * LOCERR_CURL_LDAP_CANNOT_BIND * * LOCERR_CURL_LDAP_SEARCH_FAILED * * LOCERR_CURL_TOO_MANY_REDIRECTS * * LOCERR_CURL_PEER_FAILED_VERIFICATION * * LOCERR_CURL_GOT_NOTHING * * LOCERR_CURL_SSL_ENGINE_NOTFOUND * * LOCERR_CURL_SSL_ENGINE_SETFAILED * * LOCERR_CURL_SSL_CERTPROBLEM * * LOCERR_CURL_SSL_CIPHER * * LOCERR_CURL_SSL_CACERT * * LOCERR_CURL_BAD_CONTENT_ENCODING * * LOCERR_CURL_LDAP_INVALID_URL * * LOCERR_CURL_USE_SSL_FAILED * * LOCERR_CURL_SSL_ENGINE_INITFAILED * * LOCERR_CURL_LOGIN_DENIED * * LOCERR_CURL_TFTP_NOTFOUND * * LOCERR_CURL_TFTP_ILLEGAL * * LOCERR_CURL_SSH * * LOCERR_SETEXPRESSION_TOO_LARGE * * LOCERR_RELOAD_MERGE_LOAD_ERROR * * LOCERR_WIN_FTP_DROPPED * * LOCERR_WIN_FTP_NO_PASSIVE_MODE * * LOCERR_WIN_HTTP_DOWNLEVEL_SERVER * * LOCERR_WIN_HTTP_INVALID_SERVER_RESPONSE * * LOCERR_WIN_HTTP_REDIRECT_NEEDS_CONFIRMATION * * LOCERR_WIN_INTERNET_FORCE_RETRY * * LOCERR_WIN_INTERNET_CANNOT_CONNECT * * LOCERR_WIN_INTERNET_CONNECTION_ABORTED * * LOCERR_WIN_INTERNET_CONNECTION_RESET * * LOCERR_WIN_INTERNET_DISCONNECTED * * LOCERR_WIN_INTERNET_INCORRECT_FORMAT * * LOCERR_WIN_INTERNET_INVALID_CA * * LOCERR_WIN_INTERNET_INVALID_OPERATION * * LOCERR_WIN_INTERNET_INVALID_URL * * LOCERR_WIN_INTERNET_ITEM_NOT_FOUND * * LOCERR_WIN_INTERNET_LOGIN_FAILURE * * LOCERR_WIN_INTERNET_NAME_NOT_RESOLVED * * LOCERR_WIN_INTERNET_NEED_UI * * LOCERR_WIN_INTERNET_SEC_CERT_CN_INVALID * * LOCERR_WIN_INTERNET_SEC_CERT_DATE_INVALID * * LOCERR_WIN_INTERNET_SEC_CERT_ERRORS * * LOCERR_WIN_INTERNET_SEC_INVALID_CERT * * LOCERR_WIN_INTERNET_SERVER_UNREACHABLE * * LOCERR_BM_RESULT_TOO_LARGE */ qTitle?: NxLocalizedErrorCode; }; type SampleResult = { /** * Name of field or column. */ qFieldOrColumn?: FieldOrColumn; /** * Matched values part of the sample. */ qValues?: FieldValue[]; }; type ScriptSyntaxError = { /** * Length of the word where the error is located. */ qErrLen?: number; /** * Number of the faulty section. */ qTabIx?: number; /** * Line number in the section where the error is located. */ qLineInTab?: number; /** * Position of the erroneous text from the beginning of the line. */ qColInLine?: number; /** * Position of the erroneous text from the beginning of the script. */ qTextPos?: number; /** * The default value is false. */ qSecondaryFailure?: boolean; }; type ScrollPosition = { qUsePosition?: boolean; qPos?: Point; }; type SearchAssociationResult = { /** * List of the fields that contains search associations. */ qFieldNames?: string[]; /** * List of the search terms. */ qSearchTerms?: string[]; /** * Information about the fields containing search hits. */ qFieldDictionaries?: SearchFieldDictionary[]; /** * List of search results. * The maximum number of search results in this list is set by _qPage/qCount_ . */ qSearchTermsMatched?: SearchMatchCombinations[]; /** * Total number of search results. * This number is not limited by _qPage/qCount_ . */ qTotalSearchResults?: number; }; type SearchAttribute = { /** * String corresponding to _SearchObjectOptions.qAttributes_. It will be _qProperty_ for _SearchObjectOptions_. */ qKey?: string; /** * String corresponding to _qKey_ for the current _SearchGroupItemMatch_. For example, if the match is _Make by Price_ found in the title of a generic object, _qValue_ will be _qMetaDef/title_. */ qValue?: string; }; type SearchCharRange = { /** * Starting position of the match in the search result, starting from 0. */ qCharPos?: number; /** * Length of the match in the search result. */ qCharCount?: number; /** * Position of the term in the list of search terms, starting from 0. */ qTerm?: number; }; type SearchCombinationOptions = { /** * List of the search fields. * If empty, the search is performed in all fields of the app. */ qSearchFields?: string[]; /** * Search context. * The default value is _LockedFieldsOnly_ . * * One of: * * Cleared or CONTEXT_CLEARED * * LockedFieldsOnly or CONTEXT_LOCKED_FIELDS_ONLY * * CurrentSelections or CONTEXT_CURRENT_SELECTIONS */ qContext?: SearchContextType; /** * Encoding used to compute qRanges of type SearchCharRange. *
Only affects the computation of the ranges. It does not impact the encoding of the text.
* * One of: * * Utf8 or CHAR_ENCODING_UTF8 * * Utf16 or CHAR_ENCODING_UTF16 */ qCharEncoding?: CharEncodingType; /** * Optional. * * For SearchSuggest method, this array is empty. * * For SearchObjects method, this array is empty or contain _qProperty_ . * * For SearchResults method, this array is empty, or contains _qNum_ and/or _qElemNum_ . It allows the user to request details in the outputted _SearchGroupItemMatch_ . For more information, see _SearchGroupItemMatch_. */ qAttributes?: string[]; }; type SearchContextType = "Cleared" | "CONTEXT_CLEARED" | "LockedFieldsOnly" | "CONTEXT_LOCKED_FIELDS_ONLY" | "CurrentSelections" | "CONTEXT_CURRENT_SELECTIONS"; type SearchFieldDictionary = { /** * Position of the field in the list of fields, starting from 0. * The list of fields is defined in _qResults/qFieldNames_ and contains the search associations. */ qField?: number; /** * List of the matching values. * The maximum number of values in this list is set by _qMaxNbrFieldMatches_ . */ qResult?: SearchTermResult[]; }; type SearchFieldMatch = { /** * Position of the field in the list of fields, starting from 0. * The list of fields is defined in _qResults/qFieldNames_ and contains the search associations. */ qField?: number; /** * Positions of the matching values in the search results. * The maximum number of values in this list is defined by _qMaxNbrFieldMatches_ . */ qValues?: number[]; /** * Positions of the search terms, starting from 0. */ qTerms?: number[]; /** * Number of search hits in the field. * The number of values in _qValues_ and the value of _qNoOfMatches_ are equal if _qMaxNbrFieldMatches_ is -1. */ qNoOfMatches?: number; }; type SearchFieldMatchType = "FieldMatchNone" | "FM_NONE" | "FieldMatchSubString" | "FM_SUBSTRING" | "FieldMatchWord" | "FM_WORD" | "FieldMatchExact" | "FM_EXACT" | "FieldMatchLast" | "FM_LAST"; type SearchFieldMatchesItem = { qText?: string; qElemNo?: number; qSearchTermsMatched?: number[]; }; type SearchFieldSelectionMode = "OneAndOnlyOne" | "ONE_AND_ONLY_ONE"; type SearchFieldValueItem = { /** * Field name of matches. */ qFieldName?: string; /** * List of search matches. */ qValues?: SearchFieldMatchesItem[]; }; type SearchGroup = { /** * Identifier of the search group. */ qId?: number; /** * Type of the search group. * * One of: * * DatasetType or DATASET_GROUP * * GenericObjectsType or GENERIC_OBJECTS_GROUP */ qGroupType?: SearchGroupType; /** * Indexes of the search terms that are included in the group. These search terms are related to the list of terms defined in _SearchResult.qSearchTerms_ . */ qSearchTermsMatched?: number[]; /** * Total number of distinct items in the search group. */ qTotalNumberOfItems?: number; /** * List of items in the search group. * The group items are numbered from the value of _SearchGroupOptions.qOffset_ to the value of _SearchGroupOptions.qOffset_ \+ _SearchGroupOptions.qCount_ */ qItems?: SearchGroupItem[]; }; type SearchGroupItem = { /** * Type of the group item. * * One of: * * Field or FIELD * * GenericObject or GENERIC_OBJECT */ qItemType?: SearchGroupItemType; /** * Total number of distinct matches in the search group item. */ qTotalNumberOfMatches?: number; /** * Identifier of the item. * It corresponds to: * * The name of the field, if the type of the search group is data set. * * The id of the generic object if the type of the search group is generic object. */ qIdentifier?: string; /** * List of matches in the search group item. * The group item matches are numbered from the value of _SearchGroupItemOptions.qOffset_ to the value of _SearchGroupItemOptions.qOffset_ \+ _SearchGroupItemOptions.qCount_ . */ qItemMatches?: SearchGroupItemMatch[]; /** * Indexes of the search terms that are included in the group item. These search terms are related to the list of terms defined in _SearchResult.qSearchTerms_ . */ qSearchTermsMatched?: number[]; /** * Match type applied in this result group. * * One of: * * FieldMatchNone or FM_NONE * * FieldMatchSubString or FM_SUBSTRING * * FieldMatchWord or FM_WORD * * FieldMatchExact or FM_EXACT * * FieldMatchLast or FM_LAST */ qMatchType?: SearchFieldMatchType; }; type SearchGroupItemMatch = { /** * Search match value. * Value of the search group item. * If the match is found in a field, it corresponds to the value of the field. * If the match is found in a generic object property, it corresponds to the property value. */ qText?: string; /** * Selection mode of a field. * Suppressed by default. One and always one field value is selected when set to _OneAndOnlyOne_. */ qFieldSelectionMode?: SearchFieldSelectionMode; /** * List of ranges. * For example, if the search terms are Price and Make, and the search group item value is Make by Price vs Mileage, then there are two ranges: one for Price and one for Make. */ qRanges?: SearchCharRange[]; /** * Provides detail of the match as requested by the user in _SearchObjectsOptions.qAttributes_ or _SearchCombinationOptions.qAttributes_ * If the user requests _SearchObjects_ or _SearchResults_ with an empty _qAttributes_ option, the outputted _qAttributes_ is returned empty. * For _SearchObjects_ requested with _qProperty_ , the _SearchGroupItemMatch.qAttributes_ return value contains _[“qProperty”, "qMetaDef/title”]_ if the match has been found in the title of the item. For dimension values, the returned _qProperty_ will be _“*”_ . * For _SearchResults_ requested with _qNum_ , the _SearchGroupItemMatch.qAttributes_ return value contains _["qNum", N]_ where _N_ is the numeric value of the element or _NaN_ if the value is not numeric. * For _SearchResults_ requested with _qElemNum_ , the _SearchGroupItemMatch.qAttributes_ return value contains _["qElemNum", N]_ where _N_ is the value index of the element. */ qAttributes?: SearchAttribute[]; }; type SearchGroupItemOptions = { /** * Type of the group item. Can be: * * GenericObject: the type of the search group item is a generic object. Group items have this type when you are calling _SearchObjects_ . * * Field: the type of the search group item is a field. Group items have this type when you are calling _SearchResults_ . * * One of: * * Field or FIELD * * GenericObject or GENERIC_OBJECT */ qGroupItemType?: SearchGroupItemType; /** * Position starting from 0. * The default value is 0. */ qOffset?: number; /** * Maximum number of matches per item (in _qItemMatches[ ]_ ). * The default value is -1: all values are returned. */ qCount?: number; }; type SearchGroupItemType = "Field" | "FIELD" | "GenericObject" | "GENERIC_OBJECT"; type SearchGroupOptions = { /** * Type of the group. Can be: * * GenericObjectType: the type of the search group item is a generic object. Groups have this type when you are calling _SearchObjects_ . * * DatasetType: type of the search group item is a dataset association. Groups have this type when you are calling _SearchResults_ . * * One of: * * DatasetType or DATASET_GROUP * * GenericObjectsType or GENERIC_OBJECTS_GROUP */ qGroupType?: SearchGroupType; /** * Position starting from 0. * The default value is 0. */ qOffset?: number; /** * Maximum number of items per group (in _qItems[ ]_ ). * The default value is -1; all values are returned. */ qCount?: number; }; type SearchGroupType = "DatasetType" | "DATASET_GROUP" | "GenericObjectsType" | "GENERIC_OBJECTS_GROUP"; type SearchMatchCombination = { /** * Index of the search result, starting from 0. */ qId?: number; /** * Information about the search matches. */ qFieldMatches?: SearchFieldMatch[]; }; type SearchMatchCombinations = SearchMatchCombination[]; type SearchObjectOptions = { /** * This array is either empty or contains _qProperty_ . */ qAttributes?: string[]; /** * Encoding used to compute qRanges of type SearchCharRange. *
Only affects the computation of the ranges. It does not impact the encoding of the text.
* * One of: * * Utf8 or CHAR_ENCODING_UTF8 * * Utf16 or CHAR_ENCODING_UTF16 */ qCharEncoding?: CharEncodingType; }; type SearchPage = { /** * Position from the top, starting from 0. * If the offset is set to 0, the first search result to be returned is at position 0. */ qOffset?: number; /** * Number of search groups to return (in _qSearchGroupArray_ ). */ qCount?: number; /** * Maximum number of matching values to return per search result. * The default value is -1; all values are returned. * This property is to be used with the _SearchAssociations method_. */ qMaxNbrFieldMatches?: number; /** * Options of the search groups. * If this property is not set, all values are returned. * This property is to be used with the _SearchResults method_ or the _SearchObjects method_. */ qGroupOptions?: SearchGroupOptions[]; /** * Options of the search group items. * If this property is not set, all values are returned. * This property is to be used with the _SearchResults method_ or the _SearchObjects method_. */ qGroupItemOptions?: SearchGroupItemOptions[]; }; type SearchResult = { /** * List of the search terms. */ qSearchTerms?: string[]; /** * Total number of groups. */ qTotalNumberOfGroups?: number; /** * List of search groups. * The groups are numbered from the value of _SearchPage.qOffset_ to the value of _SearchPage.qOffset + SearchPage.qCount_ . */ qSearchGroupArray?: SearchGroup[]; }; type SearchSuggestItem = { /** * Value of the suggestion. */ qValue?: string; /** * Index of the suggestion value. * The indexing starts from 0 and from the left. */ qTerm?: number; }; type SearchSuggestionResult = { /** * List of suggestions. */ qSuggestions?: SearchSuggestItem[]; /** * List of field names that contain search hits. */ qFieldNames?: string[]; }; type SearchTermResult = { /** * Text of the associated value. */ qText?: string; /** * Element number of the associated value. */ qElemNumber?: number; /** * List of ranges. * For example, if the user searches the term _read_ and the associative value is _Reading_ , then the corresponding range would be _Read_ in _Reading_ . */ qRanges?: SearchCharRange[]; }; type SearchValueOptions = { /** * List of the search fields. * If empty, the search is performed in all fields of the app. */ qSearchFields?: string[]; }; type SearchValuePage = { /** * Position from the top, starting from 0. * If the offset is set to 0, the first search result to be returned is at position 0. */ qOffset?: number; /** * Number of search fields to return */ qCount?: number; /** * Maximum number of matching values to return per search result. */ qMaxNbrFieldMatches?: number; }; type SearchValueResult = { /** * List of the search terms. */ qSearchTerms?: string[]; /** * List of search groups. * The groups are numbered from the value of _SearchPage.qOffset_ to the value of _SearchPage.qOffset + SearchPage.qCount_ . */ qFieldMatches?: SearchFieldValueItem[]; }; type SelectInfo = { /** * Text search string. * Everything that matches the text is selected. * This parameter is optional. */ qTextSearch?: string; /** * Lower value of the search range. * This parameter is used when performing range selections or text searches in dimensions. * Default is Null. */ qRangeLo?: number; /** * Highest value of the search range. * This parameter is used when performing range selections or text searches in dimensions. * Default is Null. */ qRangeHi?: number; /** * Gives information about the formatting of the range. * This parameter is used when performing range selections or text searches in dimensions. */ qNumberFormat?: FieldAttributes; /** * This parameter is used when performing range selections or text searches in measures. * Gives information about the range of selections. */ qRangeInfo?: RangeSelectInfo[]; /** * Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. */ qSoftLock?: boolean; /** * List of information about ranges for selections. */ qContinuousRangeInfo?: QRange[]; /** * This parameter is true if the TextSearch is a result of a Select Field operation. */ qSelectFieldSearch?: boolean; }; /** * Indicates which selections are currently applied. It gives the current selections. Is the layout for _SelectionObjectDef_. */ type SelectionObject = { /** * Number of steps back. */ qBackCount?: number; /** * Number of steps forward. */ qForwardCount?: number; /** * Lists the fields that are selected. */ qSelections?: NxCurrentSelectionItem[]; /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; }; /** * To display the current selections. * Can be added to any generic object but is particularly meaningful when using session objects to monitor an app. * * ### Properties * "qSelectionObjectDef": {} */ type SelectionObjectDef = { /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; }; type Size = { /** * Number of pixels on the _x_ axis. */ qcx?: number; /** * Number of pixels on the _y_ axis. */ qcy?: number; }; type SortCriteria = { /** * Sorts the field values according to their logical state (selected, optional, alternative or excluded). */ qSortByState?: number; /** * Sorts the field values by frequency (number of occurrences in the field). */ qSortByFrequency?: number; /** * Sorts the field values by numeric value. */ qSortByNumeric?: number; /** * Sorts the field by alphabetical order. */ qSortByAscii?: number; /** * Sorts the field values by the initial load order. */ qSortByLoadOrder?: number; /** * Sorts the field by expression. */ qSortByExpression?: number; /** * Sort by expression. */ qExpression?: ValueExpr; qSortByGreyness?: number; }; type SourceKeyRecord = { /** * Name of the key field. */ qKeyFields?: string[]; /** * Table the key belongs to. */ qTables?: string[]; }; type StateEnumType = "L" | "LOCKED" | "S" | "SELECTED" | "O" | "OPTION" | "D" | "DESELECTED" | "A" | "ALTERNATIVE" | "X" | "EXCLUDED" | "XS" | "EXCL_SELECTED" | "XL" | "EXCL_LOCKED" | "NSTATES"; type StateFieldValues = { /** * Name of the state. */ qStateName?: string; /** * The field values associated with the state. */ qFieldValues?: FieldValue[]; }; type StaticContentList = { /** * Information about the list of content files. */ qItems?: StaticContentListItem[]; }; /** *
In addition, this structure can return dynamic properties.
*/ type StaticContentListItem = { /** * Relative path to the content file. The URL is static. * In Qlik Sense Enterprise, content files located: * * In the _/content/ <content library name>/_ folder are part of a global content library. * * In the _/appcontent/_ folder are part of the app specific library. * The content files are never embedded in the _qvf_ file. * In Qlik Sense Desktop, content files located: * * In the _/content/default/_ folder are outside the qvf file. * * In the _/media/ folder_ are embedded in the qvf file. */ qUrlDef?: string; /** * Relative path to the content file. The URL is static. * In Qlik Sense Enterprise, content files located: * * In the _/content/ <content library name>/_ folder are part of a global content library. * * In the _/appcontent/_ folder are part of the app specific library. * The content files are never embedded in the _qvf_ file. * In Qlik Sense Desktop, content files located: * * In the _/content/default/_ folder are outside the qvf file. * * In the _/media/ folder_ are embedded in the qvf file. */ qUrl?: string; }; /** *
In addition, this structure can return dynamic properties.
*/ type StaticContentUrl = { /** * Relative path of the thumbnail. */ qUrl?: string; }; /** *
In addition, this structure can contain dynamic properties.
*/ type StaticContentUrlDef = { /** * Relative path of the thumbnail. */ qUrl?: string; }; type StringExpr = { /** * Expression evaluated to string. */ qv?: string; }; /** * ### Properties * Abbreviated syntax: * "qStringExpression":"=<expression>" * Extended object syntax: * "qStringExpression":{"qExpr":"=<expression>"} * Where: * * < **expression** > is a string * *
The "=" sign in the string expression is not mandatory. Even if the "=" sign is not given, the expression is evaluated.
A string expression is not evaluated, if the expression is surrounded by simple quotes.
* The result of the evaluation of the expression can be of any type, as it is returned as a JSON (quoted) string. */ type StringExpression = { qExpr?: string; }; type SymbolFrequency = { /** * Symbol. Either string and NaN or number alone */ qSymbol?: SymbolValue; /** * Frequency of the above symbol in the field */ qFrequency?: number; }; type SymbolValue = { /** * String value of the symbol. This parameter is optional and present only if Symbol is a string. */ qText?: string; /** * Numeric value of the symbol. NaN otherwise. */ qNumber?: number; }; type TableProfilingData = { /** * Number of rows in the table. */ qNoOfRows?: number; /** * Field values profiling info */ qFieldProfiling?: FieldInTableProfilingData[]; }; type TableRecord = { /** * Name of the table. */ qName?: string; /** * This property is set to true if the table is loose. */ qLoose?: boolean; /** * Number of rows in the table. */ qNoOfRows?: number; /** * Information about the fields in the table. */ qFields?: FieldInTableData[]; /** * Information about the position of the table. */ qPos?: Point; /** * Comment related to the table. */ qComment?: string; /** * If set to true, Direct Discovery is used. * Direct Discovery fields are not loaded into memory and remain in the external database. */ qIsDirectDiscovery?: boolean; /** * This property is set to true if the table contains a synthetic key. */ qIsSynthetic?: boolean; /** * List of tags related to the table. */ qTableTags?: string[]; /** * Profiling information of the table. */ qProfilingData?: TableProfilingData; }; type TableRow = { /** * Array of field values. */ qValue?: FieldValue[]; }; type TableViewBroomPointSaveInfo = { /** * Information about the position of the broom point. */ qPos?: Point; /** * Name of the table. */ qTable?: string; /** * List of fields in the table. */ qFields?: string[]; }; type TableViewConnectionPointSaveInfo = { /** * Information about the position of the connection point. */ qPos?: Point; /** * List of the fields in the table. */ qFields?: string[]; }; type TableViewCtlSaveInfo = { /** * Internal view mode. */ qInternalView?: TableViewSaveInfo; /** * Source view mode. */ qSourceView?: TableViewSaveInfo; }; type TableViewDlgSaveInfo = { /** * Information about the position of the dialog window. * Not used in Qlik Sense. */ qPos?: Rect; /** * Set of data for internal and source view modes. */ qCtlInfo?: TableViewCtlSaveInfo; /** * View mode to display when opening Qlik Sense data model viewer. * One of: * * 0 for internal view mode. * * 1 for source view mode. */ qMode?: number; }; type TableViewSaveInfo = { /** * List of the tables in the database model viewer. */ qTables?: TableViewTableWinSaveInfo[]; /** * List of the broom points in the database model viewer. * Not used in Qlik Sense. */ qBroomPoints?: TableViewBroomPointSaveInfo[]; /** * List of connection points in the database model viewer. * Not used in Qlik Sense. */ qConnectionPoints?: TableViewConnectionPointSaveInfo[]; /** * Zoom factor in the database model viewer. * The default value is 1.0. */ qZoomFactor?: number; }; type TableViewTableWinSaveInfo = { /** * Information about the position of the table. */ qPos?: Rect; /** * Table name. */ qCaption?: string; }; type TextMacro = { /** * Name of the variable. */ qTag?: string; /** * Order in which the variable was referenced during the script execution. * The same number sequence is used for both _qRefSeqNo_ and _qSetSeqNo_ . */ qRefSeqNo?: number; /** * Order in which the variable was updated during the script execution. * The same number sequence is used for both _qRefSeqNo_ and _qSetSeqNo_ . */ qSetSeqNo?: number; /** * Variable value. */ qDisplayString?: string; /** * Is set to true if the variable is a system variable. */ qIsSystem?: boolean; /** * Is set to true if the variable is a reserved variable. */ qIsReserved?: boolean; }; type TotalMode = "TOTAL_OFF" | "TOTAL_EXPR"; type TransformAppParameters = { /** * The name (title) of the application */ qName?: string; /** * ID of the space where the app is to be created. Empty value implies Personal space */ qSpaceId?: string; /** * Prefix to be used on inserted ScriptParameters, only applicable for template apps */ qScriptParameterPrefix?: string; }; type TransformAppResult = { /** * ID of created App */ qAppId?: string; }; /** * Renders the properties of a TreeData object. Is the layout for TreeDataDef. * For more information about the definition of TreeData, see _Generic object_. *
To retrieve data from the TreeData object, use the method called GetHyperCubeTreeData.
* * Stability: *stable* */ type TreeData = { /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; /** * The total number of nodes on each dimension. */ qNodesOnDim?: number[]; /** * This parameter is optional and is displayed in case of error. */ qError?: NxValidationError; /** * Information on the dimension. */ qDimensionInfo?: NxTreeDimensionInfo[]; /** * Defines the order of the dimenion levels/columns in the TreeData object. * Column numbers are separated by a comma. * Example: [1,0,2] means that the first level in the tree structure is dimension 1, followed by dimension 0 and dimension 2. */ qEffectiveInterColumnSortOrder?: number[]; /** * True if other row exists. */ qHasOtherValues?: boolean; /** * Title of the TreeData object, for example the title of a chart. */ qTitle?: string; /** * Position of the last expended cell. * This property is optional. */ qLastExpandedPos?: NxCellPosition; /** * The message displayed if calculation condition is not fulfilled. */ qCalcCondMsg?: string; /** * Set of data. * Is empty if nothing has been defined in **qInitialDataFetch** in _TreeDataDef_. */ qTreeDataPages?: NxTreeNode[]; /** * Information on the measures calculated on the whole tree. */ qMeasureInfo?: NxMeasureInfo[]; }; /** * Defines the properties of a TreeData object. * For more information about the definition of a TreeData object, see _Generic object_. * * Stability: *stable* */ type TreeDataDef = { /** * Name of the alternate state. * Default is current selections _$_ . */ qStateName?: string; /** * Array of dimensions. */ qDimensions?: NxTreeDimensionDef[]; /** * Defines the order of the dimension levels/columns in the TreeData object. * Column numbers are separated by a comma. * Example: [1,0,2] means that the first level in the tree structure is dimension 1, followed by dimension 0 and dimension 2. * The default sort order is the order in which the dimensions and measures have been defined in the TreeDataDef. */ qInterColumnSortOrder?: number[]; /** * Removes zero values. */ qSuppressZero?: boolean; /** * Removes missing values. */ qSuppressMissing?: boolean; /** * If this property is set to true, the cells are opened expanded. The default value is false. */ qOpenFullyExpanded?: boolean; /** * If this property is set to true, the missing symbols (if any) are replaced by 0 if the value is a numeric and by an empty string if the value is a string. * The default value is false. */ qPopulateMissing?: boolean; /** * Specifies a calculation condition object. * If CalcCondition.Cond is not fulfilled, the TreeData is excluded from the calculation and CalcCondition.Msg is evaluated. * By default, there is no calculation condition. * This property is optional. */ qCalcCondition?: NxCalcCond; /** * Title of the TreeData object, for example the title of a chart. */ qTitle?: StringExpr; /** * Initial data set. * This property is optional. */ qInitialDataFetch?: NxTreeDataOption[]; /** * Expansion state per dimension. * * Stability: *experimental* */ qExpansionState?: ExpansionData[]; /** * List of measures to calculate on the whole tree. */ qValueExprs?: NxMeasure[]; /** * Set Expression valid for the whole cube. Used to limit computations to the set specified. */ qContextSetExpression?: string; }; /** * Displays information about the number of possible undos and redos. Is the layout for _UndoInfoDef_. */ type UndoInfo = { /** * Number of possible undos. */ qUndoCount?: number; /** * Number of possible redos. */ qRedoCount?: number; }; /** * Defines if an object should contain information on the number of possible undo and redo. * * ### Properties * "qUndoInfoDef": {} * The numbers of undos and redos are empty when an object is created. The number of possible undos is increased every time an action (for example, create a child, set some properties) on the object is performed. The number of possible redos is increased every time an undo action is performed. */ type UndoInfoDef = object; type UsageEnum = "ANALYTICS" | "DATA_PREPARATION" | "DATAFLOW_PREP" | "SINGLE_TABLE_PREP"; type ValueExpr = { /** * Expression evaluated to dual. */ qv?: string; }; /** * ### Properties * Abbreviated syntax: * "qValueExpression":"=<expression>" * Extended object syntax: * "qValueExpression":{"qExpr":"=<expression>"} * Where: * * < **expression** > is a string. * *
The "=" sign in the value expression is not mandatory. Even if the "=" sign is not given, the expression is evaluated.
* The expression is evaluated as a numeric. */ type ValueExpression = { qExpr?: string; }; /** * Lists the variables in an app. Is the layout for _VariableListDef_. */ type VariableList = { /** * List of the variables. */ qItems?: NxVariableListItem[]; }; /** * Defines the list of variables in an app. */ type VariableListDef = { /** * Type of variables to include in the list. */ qType?: string; /** * Shows the reserved variables if set to true. */ qShowReserved?: boolean; /** * Shows the system variables if set to true. */ qShowConfig?: boolean; /** * Data */ qData?: Record; /** * Shows the session variables if set to true. */ qShowSession?: boolean; }; type NativeDocFunctions = { /** * Aborts any selection mode in an app. For more information about selection mode, see _BeginSelections method_. * * Parameters: * * - `accept` - Set this parameter to true to accept the selections before exiting the selection mode. * * Stability: *locked* */ abortModal: (accept: boolean) => Promise; /** * Adds an alternate state in the app. * You can create multiple states within a Qlik Sense app and apply these states to specific objects within the app. Objects in a given state are not affected by user selections in the other states. * * Parameters: * * - `stateName` - Name of the alternate state. * * Stability: *locked* */ addAlternateState: (stateName: string) => Promise; /** * Adds a field on the fly. *
The expression of a field on the fly is persisted but not its values.
*
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `name` - Name of the field. * - `expr` - Expression value. * It is not possible to use all aggregation functions. For example, you cannot add a field on the fly with an expression that uses the _Sum_ or _Count_ aggregation functions. * * Stability: *locked* */ addFieldFromExpression: (name: string, expr: string) => Promise; /** * Adds an session alternate state in the app. * You can create multiple states within a Qlik Sense app and apply these states to specific objects within the app. Objects in a given state are not affected by user selections in the other states. * A session alternate state is not persisted and is not included in the StateNames array in the AppLayout. * You can use the optional second parameter to choose any other state to get the initial selection on the new state from * * Parameters: * * - `stateName` - Name of the alternate state. * - `sourceStateName` - Name of existing state to copy the initial selections from * * Stability: *locked* */ addSessionAlternateState: (stateName: string, sourceStateName?: string) => Promise; /** * Applies a bookmark and verifies result dataset against originally selected values. *
The operation is successful if **qApplySuccess** is set to true. **qWarnings** lists state and field with unmatching values
* * Parameters: * * - `id` - Identifier of the bookmark. * * Stability: *experimental* */ applyAndVerifyBookmark: (id: string) => Promise; /** * Applies a bookmark. *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the bookmark. * * Stability: *locked* */ applyBookmark: (id: string) => Promise; applyGroupStates: (groupStates: GroupState[]) => Promise; /** * Apply temporary bookmark identified by Id. *
ApplyTemporaryBookmark method is only supported in SaaS Editions of Qlik Sense.
* * Parameters: * * - `id` - Identifier of the temporary selection state * * Stability: *locked* */ applyTemporaryBookmark: (id: string) => Promise; /** * Loads the last logical operation (if any). * * Stability: *locked* */ back: () => Promise; /** * Returns the number of entries on the back stack. * * Stability: *locked* */ backCount: () => Promise; /** * Change the owner of a session app. *
Can be used by a privileged user when creating a session app to be consumed by another user. * Only useful in environments where it is possible to reconnect to a session app, currently only in cloud deployments.
* * Parameters: * * - `newOwnerId` - Identifier of the new app owner. * * Stability: *experimental* */ changeSessionAppOwner: (newOwnerId: string) => Promise; /** * Add a session app to a space. *
Can be used by a privileged user when creating a session app to be consumed by other users. * Only useful in environments where it is possible to reconnect to a session app, currently only in cloud deployments.
* * Parameters: * * - `spaceId` - Identifier of the new space. * * Stability: *experimental* */ changeSessionAppSpace: (spaceId: string) => Promise; /** * Checks if a given expression is valid. *
The expression is correct if the parameters _qErrorMsg_ , _qBadFieldNames_ and _qDangerousFieldNames_ are empty.
* * Parameters: * * - `expr` - Expression to check. * - `labels` - List of labels. * * Stability: *locked* */ checkExpression: (expr: string, labels?: string[]) => Promise; /** * Checks if: * * A given expression is valid. * * A number is correct according to the locale. * * Parameters: * * - `expr` - Expression to check. * * Stability: *locked* */ checkNumberOrExpression: (expr: string) => Promise; /** * Checks the syntax of a script. * * ### Example * "result": { "qErrors": [ { "qErrLen": 3, "qTabIx": 0, "qLineInTab": 0, "qColInLine": 0, "qTextPos": 0 }, { "qErrLen": 5, "qTabIx": 0, "qLineInTab": 0, "qColInLine": 1, "qTextPos": 4, "qSecondaryFailure": true } ] } *
The first area is the primary error area, the second area is the secondary error area. The second area is optional and is shown only if qSecondaryFailure is set to true. The second area ends when the next statement in the script begins.
* The list of syntax errors in the script. * If there are no errors, the engine returns: * If there are errors, the engine returns the following properties in the response: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qErrLenLength of the word where the error is located.Integer
qTabIxNumber of the faulty section.Integer
qLineInTabLine number in the section where the error is located.Integer
qColInLinePosition of the erroneous text from the beginning of the line.Integer
qTextPosPosition of the erroneous text from the beginning of the script.Integer
qSecondaryFailureThe default value is false.Boolean
* * Stability: *locked* */ checkScriptSyntax: () => Promise; /** * Clear selections in fields for current state. Locked fields are not cleared by default. * * Parameters: * * - `lockedAlso` - When true, clears the selection for locked fields. * - `stateName` - Alternate state name. When set, applies to alternate state instead of current * * Stability: *locked* */ clearAll: (lockedAlso?: boolean, stateName?: string) => Promise; /** * Clear the soft properties of all generic objects in the app * * Stability: *experimental* */ clearAllSoftPatches: () => Promise; /** * Clears entirely the undo and redo buffer. * * Stability: *locked* */ clearUndoBuffer: () => Promise; /** * Clones a bookmark. *
The identifier is set by the engine.
* * Parameters: * * - `id` - Identifier of the object to clone. * * Stability: *locked* */ cloneBookmark: (id: string) => Promise; /** * Clones a dimension. * *
The identifier is set by the engine.
* * Parameters: * * - `id` - Identifier of the object to clone. * * Stability: *locked* */ cloneDimension: (id: string) => Promise; /** * Clones a measure. * *
The identifier is set by the engine.
* * Parameters: * * - `id` - Identifier of the object to clone. * * Stability: *locked* */ cloneMeasure: (id: string) => Promise; /** * Clones root level objects, such as sheets and stories. The CloneObject method works for both app objects and child objects. * When you clone an object that contains children, the children are cloned as well. * If you for example want to clone a visualization, you must provide the qID of the root object, in this case the sheet since CloneObject clones root level objects. *
It is not possible to clone a session object.
* *
The identifier is set by the engine.
* * Parameters: * * - `id` - Identifier of the object to clone. The identifier must be a root object. * * Stability: *locked* */ cloneObject: (id: string) => Promise; /** * Commits the draft of an object that was previously created by invoking the _CreateDraft method_. * Committing a draft replaces the corresponding published object. * * Parameters: * * - `id` - Identifier of the draft to commit. * * @deprecated: This will be removed in a future version * * Stability: *locked* */ commitDraft: (id: string) => Promise; /** * Commits the current script version so that any future changes will be part of a new version. * * Parameters: * * - `commitMessage` - Name of the version. *
Only applicable to QCS.
* * Stability: *experimental* */ commitScript: (commitMessage?: string) => Promise; /** * Creates a bookmark. * * Parameters: * * - `prop` - Properties for the object. * * Stability: *locked* */ createBookmark: (prop: GenericBookmarkProperties) => Promise; /** * Creates a bookmark with softpatches. * * Parameters: * * - `prop` - Properties for the object. * - `objectIdsToPatch` - Add softpatches for this objects if available. If empty all softpatches are added to the bookmark. * * Stability: *experimental* */ createBookmarkEx: (prop: GenericBookmarkProperties, objectIdsToPatch?: string[]) => Promise; /** * Creates a connection. * A connection indicates from which data source the data should be taken. * * Parameters: * * - `connection` - Information about the connection. * * Stability: *locked* */ createConnection: (connection: Connection) => Promise; /** * Creates a master dimension. * A master dimension is stored in the library of an app and can be used in many objects. Several generic objects can contain the same dimension. * * Parameters: * * - `prop` - Information about the properties. * * Stability: *locked* */ createDimension: (prop: GenericDimensionProperties) => Promise; /** * Creates a draft of an object. * This method can be used to create a draft of a sheet or a story that is published. This is a way to continue working on a sheet or a story that is published. * Replace the published object by the content of the draft by invoking the _CommitDraft method_. * *
The identifier is set by the engine.
* * Parameters: * * - `id` - Identifier of the object to create a draft from. * * @deprecated: This will be removed in a future version * * Stability: *locked* */ createDraft: (id: string) => Promise; /** * Creates a master measure. * A master measure is stored in the library of an app and can be used in many objects. Several generic objects can contain the same measure. * * Parameters: * * - `prop` - Information about the properties. * * Stability: *locked* */ createMeasure: (prop: GenericMeasureProperties) => Promise; /** * Creates a generic object at app level. For more information on generic objects, see _Generic object_. * It is possible to create a generic object that is linked to another object. * A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in _qExtendsId_ ). * The linked object has the same properties as the linking object. *
The linking object cannot be a transient object.
* * Parameters: * * - `prop` - Information about the object. * * Stability: *locked* */ createObject: (prop: CustomProperties) => Promise; /** * Creates a transient object. For example, you can use a transient object to create an app overview or a story overview. * It is possible to create a transient object that is linked to another object. * A linked object is an object that points to a linking object. The linking object is defined in the properties of the linked object (in _qExtendsId_ ). * The linked object has the same properties as the linking object. *
The linking object cannot be a transient object.
* * Parameters: * * - `prop` - Information about the object. * * Stability: *locked* */ createSessionObject: (prop: CustomProperties) => Promise; /** * Creates a transient variable. *
To set some properties to the variable, use the _SetProperties method_.
* * ### Definition * A variable in Qlik Sense is a named entity, containing a data value. This value can be static or be the result of a calculation. A variable acquires its value at the same time that the variable is created or after when updating the properties of the variable. Variables can be used in bookmarks and can contain numeric or alphanumeric data. Any change made to the variable is applied everywhere the variable is used. * When a variable is used in an expression, it is substituted by its value or the variable's definition. * * ### Example * The variable _x_ contains the text string _Sum(Sales)_ . * In a chart, you define the expression _$(x)/12_ . The effect is exactly the same as having the chart expression _Sum(Sales)/12_ . * However, if you change the value of the variable _x_ to _Sum(Budget)_ , the data in the chart are immediately recalculated with the expression interpreted as _Sum(Budget)/12_ . * * Parameters: * * - `prop` - Name of the variable. Variable names are case sensitive. * * Stability: *locked* */ createSessionVariable: (prop: GenericVariableProperties) => Promise; /** * Create temporary bookmark *
CreateTemporaryBookmark method is only supported in SaaS Editions of Qlik Sense.
* * Parameters: * * - `options` - Options for the temporary bookmark * - `objectIdsToPatch` - Add softpatches for these objects to the bookmark if available. If IncludePatches is true, softpatches are included for all objects. * Any session objects included are also added to the bookmark. IncludePatches has no effect on the patching of session objects. * * Stability: *locked* */ createTemporaryBookmark: (options: NxTempBookmarkOptions, objectIdsToPatch?: string[]) => Promise; /** * Creates a variable. * * Parameters: * * - `name` - Name of the variable. Variable names are case sensitive. * * @deprecated: Use _Doc::CreateVariableEx_ method instead * * Stability: *locked* */ createVariable: (name: string) => Promise; /** * Creates a variable. * To create a variable via a script, you need to use the _SetScript method_. For more information, see _Create a variable_. *
To set some properties to the variable, use the _SetProperties method_.
In a published app, only transient variables can be created. See _CreateSessionVariable method_.
* * ### Definition * A variable in Qlik Sense is a named entity, containing a data value. This value can be static or be the result of a calculation. A variable acquires its value at the same time that the variable is created or after when updating the properties of the variable. Variables can be used in bookmarks and can contain numeric or alphanumeric data. Any change made to the variable is applied everywhere the variable is used. * When a variable is used in an expression, it is substituted by its value or the variable's definition. * * ### Example * The variable _x_ contains the text string _Sum(Sales)_ . * In a chart, you define the expression _$(x)/12_ . The effect is exactly the same as having the chart expression _Sum(Sales)/12_ . * However, if you change the value of the variable _x_ to _Sum(Budget)_ , the data in the chart are immediately recalculated with the expression interpreted as _Sum(Budget)/12_ . * * Parameters: * * - `prop` - Name of the variable. Variable names are case sensitive and must be unique. * * Stability: *locked* */ createVariableEx: (prop: GenericVariableProperties) => Promise; /** * Deletes a connection. *
In Qlik Sense Enterprise, there is an additional file connection named _AttachedFiles_ . The AttachedFiles connection can only be removed by the administrator of the system.
* * Parameters: * * - `connectionId` - Identifier of the connection to remove. * * Stability: *locked* */ deleteConnection: (connectionId: string) => Promise; /** * Removes a bookmark. *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the bookmark. * * Stability: *locked* */ destroyBookmark: (id: string) => Promise; /** * Removes a dimension. * *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the dimension to remove. * * Stability: *locked* */ destroyDimension: (id: string) => Promise; /** * Removes the draft of an object. * The children of the draft object (if any) are removed as well. * This method can be used to cancel the work on the draft of an object. For example, if you had created a draft of a sheet that is published, you might not want anymore to replace the published sheet. * *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the draft object to remove. * - `sourceId` - Identifier of the source object (the object from which a draft was created). * * @deprecated: This will be removed in a future version * * Stability: *locked* */ destroyDraft: (id: string, sourceId: string) => Promise; /** * Removes a generic measure. * *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the measure to remove. * * Stability: *locked* */ destroyMeasure: (id: string) => Promise; /** * Removes an app object. * The children of the object (if any) are removed as well. * *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the object to remove. * * Stability: *locked* */ destroyObject: (id: string) => Promise; /** * Removes a transient object. * *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the transient object to remove. * * Stability: *locked* */ destroySessionObject: (id: string) => Promise; /** * Removes a transient variable. * *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the variable. * * Stability: *locked* */ destroySessionVariable: (id: string) => Promise; /** * Removes a transient variable. * *
**qSuccess** is set to true if the operation is successful.
* * Parameters: * * - `id` - Identifier of the variable. * * Stability: *locked* */ destroySessionVariableById: (id: string) => Promise; /** * Removes a transient variable. * *
**qSuccess** is set to true if the operation is successful.
* * Parameters: * * - `name` - Name of the variable. * * Stability: *locked* */ destroySessionVariableByName: (name: string) => Promise; /** * Removes a variable. * Script-defined variables cannot be removed using the _DestroyVariableById method_ or the _DestroyVariableByName method_. For more information, see _Remove a variable_. * *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the variable. * * Stability: *locked* */ destroyVariableById: (id: string) => Promise; /** * Removes a variable. * Script-defined variables cannot be removed using the _DestroyVariableById method_ or the _DestroyVariableByName method_. For more information, see _Remove a variable_. * *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `name` - Name of the variable. * * Stability: *locked* */ destroyVariableByName: (name: string) => Promise; /** * Reloads the script that is set in an app. * * ### Logs * When this method is called, audit activity logs are produced to track the user activity. * In the case of errors, both audit activity logs and system services logs are produced. * The log files are named as follows: * * * * * * * * * *
Audit activity logSystem service log
<MachineName>_AuditActivity_Engine.txt in Qlik Sense Enterprise
<MachineName>_AuditActivity_Engine.log in Qlik Sense Desktop
<MachineName>_Service_Engine.txt in Qlik Sense Enterprise
<MachineName>_Service_Engine.log in Qlik Sense Desktop
* * ### Where to find the log files * The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop. * * * * * * * * * *
Qlik Sense Enterprise Qlik Sense Desktop
%ProgramData%/Qlik/Sense/Log/Engine %UserProfile%/Documents/Qlik/Sense/Log
* * Parameters: * * - `mode` - Error handling mode * One of: * * 0: for default mode. * * 1: for ABEND; the reload of the script ends if an error occurs. * * 2: for ignore; the reload of the script continues even if an error is detected in the script. * - `partial` - Set to true for partial reload. * The default value is false. * - `debug` - Set to true if debug breakpoints are to be honored. The execution of the script will be in debug mode. * The default value is false. * * Stability: *locked* */ doReload: (mode?: number, partial?: boolean, debug?: boolean) => Promise; /** * Reloads the script that is set in an app and returns the path to the script log file. *
A log file is created per reload.
* * ### Logs * When this method is called, audit activity logs are produced to track the user activity. * In the case of errors, both audit activity logs and system services logs are produced. * The log files are named as follows: * * * * * * * * * * * *
Audit activity logSystem service log
< MachineName> AuditActivity Engine.txt in Qlik Sense Enterprise
< MachineName> AuditActivity Engine.log in Qlik Sense Desktop
< MachineName> Service Engine.txt in Qlik Sense Enterprise
< MachineName> Service Engine.log in Qlik Sense Desktop
* * ### Where to find the log files * The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop. * * * * * * * * * * * *
Qlik Sense Enterprise Qlik Sense Desktop
%ProgramData%/Qlik/Sense/Log/Engine %UserProfile%/Documents/Qlik/Sense/Log
* * ### DoReloadExParams * * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qModeError handling mode
One of:
*
    *
  • 0: for default mode.
  • *
  • 1: for ABEND; the reload of the script ends if an error occurs.
  • *
  • 2: for ignore; the reload of the script continues even if an error is detected in the script.
  • *
*
Integer
qPartialSet to true for partial reload.
The default value is false.
Boolean
qDebugSet to true if debug breakpoints are to be honored. The execution of the script will be in debug mode.
The default value is false.
Boolean
* * ### DoReloadExResult * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qSuccessThe operation is successful if qSuccess is set to True.Boolean
qScriptLogFilePath to the script log file.String
* * If the data load has successfully finished, no matter how the indexing behaves, _true_ is returned. This happens even if there is a timeout, a memory limit is reached or any other error occurs during the indexing. * * Stability: *locked* */ doReloadEx: (params?: DoReloadExParams) => Promise; /** * Saves an app. All objects and data in the data model are saved. * * Parameters: * * - `fileName` - Name of the file to save. * * Stability: *locked* */ doSave: (fileName?: string) => Promise; /** * Evaluates an expression and returns the result as a string. * * ### Example * The client sends: * ``` * { * "handle": 1, * "method": "Evaluate", * "params": { * "qExpression": "Sum(Holes)" * }, * "id": 6, * "jsonrpc": "2.0" * } * ``` * The engine returns: * ``` * { * "jsonrpc": "2.0", * "id": 6, * "result": { * "qReturn": "361716" * } * } * ``` * * Parameters: * * - `expression` - Expression to evaluate. * * Stability: *locked* */ evaluate: (expression: string) => Promise; /** * Evaluates an expression and returns the result as a dual. * * ### Example * The client sends: * ``` * { * "handle": 1, * "method": "EvaluateEx", * "params": { * "qExpression": "Sum(Holes)" * }, * "id": 7, * "jsonrpc": "2.0" * } * ``` * The engine returns: * ``` * { * "jsonrpc": "2.0", * "id": 7, * "result": { * "qReturn": "361716" * } * } * ``` * * Parameters: * * - `expression` - Expression to evaluate. * * Stability: *locked* */ evaluateEx: (expression: string) => Promise; /** * Expands the expression. * * Parameters: * * - `expression` - The expression string to expand. * * Stability: *locked* */ expandExpression: (expression: string) => Promise; /** * Applies a bookmark to reduce (slice) the data on. Returns a url and file size to the reduced application. Section Access is always applied. *
This API is only available on Sense Enterprise on Windows
* * Parameters: * * - `options` - BookmarkId used to reduced the app on and an expire time. * * Stability: *locked* */ exportReducedData: (options?: NxDownloadOptions) => Promise; /** * Retrieves any fields that belong to the same archipelago as the specified field and that match at least one of the specified tags. *
Tags set by Qlik Sense are prefixed by the _$_ sign.
* * Parameters: * * - `fieldName` - Name of the field. * This method looks for fields that belong to the same archipelago as this specified field. * - `tags` - List of tags. * This method looks for fields that match at least one of the tags in this list. * * Stability: *locked* */ findMatchingFields: (fieldName: string, tags: string[]) => Promise; /** * Loads the next logical operation (if any). * * Stability: *locked* */ forward: () => Promise; /** * Returns the number of entries on the Forward stack. * * Stability: *locked* */ forwardCount: () => Promise; /** * Returns the identifier and the type of any generic object in the app. * * Stability: *locked* */ getAllInfos: () => Promise; /** * Evaluates an app. * Returns dynamic properties (if any) in addition to the engine (fixed) properties. * A data set is returned. * * Stability: *locked* */ getAppLayout: () => Promise; /** * Gets the properties of an app. * * Stability: *locked* */ getAppProperties: () => Promise; /** * Computes a set of association scores for each pair of fields between two given tables that have been loaded in an app. * When a table contains some synthetic keys, all fields in the synthetic key tables are analyzed against fields in other tables. To denote that a field is a synthetic key, the field name is prefixed by _[Synthetic Key]:_ . * * Parameters: * * - `table1` - Name of the first table. * - `table2` - Name of the second table. * * Stability: *locked* */ getAssociationScores: (table1: string, table2: string) => Promise; /** * Returns the handle of a bookmark. * * Parameters: * * - `id` - Identifier of the bookmark. * * Stability: *locked* */ getBookmark: (id: string) => Promise; /** * Returns all bookmarks compatible with options. * * Parameters: * * - `options` - Bookmark type filter and requested properties. * * Stability: *locked* */ getBookmarks: (options: NxGetBookmarkOptions) => Promise[]>; /** * Retrieves a connection and returns: * * The creation time of the connection. * * The identifier of the connection. * * The type of the connection. * * The name of the connection. * * The connection string. * * Parameters: * * - `connectionId` - Identifier of the connection. * * Stability: *locked* */ getConnection: (connectionId: string) => Promise; /** * Lists the connections in an app. *
In Qlik Sense Enterprise, there is an additional file connection named _AttachedFiles_ . This connection is stored in the Qlik Sense repository.
* * Stability: *locked* */ getConnections: () => Promise; /** * Lists the content libraries. * To differentiate a global content library from an app specific content library, you can check the property _qAppSpecific_ . If this property is set to true, it means that the content library is app specific. *
There is always one specific content library per app.
* * ### Qlik Sense * Returns the global content libraries and the app specific content library. * When using Qlik Sense, you can have more than one global content library. The global content libraries are common to all apps in the Qlik Sense repository. * By default, there is one global content library named _Default_ . * * ### Qlik Sense Desktop * Returns the global content library and the app specific content library from the disk. * * Stability: *locked* */ getContentLibraries: () => Promise; /** * Gives information about an ODBC, OLEDB or CUSTOM connection. See _Outputs_ for more details. * * Parameters: * * - `connectionId` - Name of the connection. * * Stability: *locked* */ getDatabaseInfo: (connectionId: string) => Promise; /** * Lists the owners of a database for a ODBC, OLEDB or CUSTOM connection. * * Parameters: * * - `connectionId` - Identifier of the connection. * - `database` - Name of the database. * * Stability: *locked* */ getDatabaseOwners: (connectionId: string, database?: string) => Promise; /** * Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection. * * Parameters: * * - `connectionId` - Identifier of the connection. * - `database` - Name of the database. * If _qDatabase_ is not set then _qOwner_ must be set. * - `owner` - Owner of the database. * If _qOwner_ is not set then _qDatabase_ must be set. * - `table` - Name of the table. * * Stability: *locked* */ getDatabaseTableFields: (connectionId: string, database: string | undefined, owner: string | undefined, table: string) => Promise; /** * Retrieves the values of the specified table of a database for a ODBC, OLEDB or CUSTOM connection. * * Parameters: * * - `connectionId` - Identifier of the connection. * - `database` - Name of the database. * If _qDatabase_ is not set then _qOwner_ must be set. * - `owner` - Owner of the database. * If _qOwner_ is not set then _qDatabase_ must be set. * - `table` - Name of the table. * - `conditions` - * * Stability: *locked* */ getDatabaseTablePreview: (connectionId: string, database: string | undefined, owner: string | undefined, table: string, conditions?: FilterInfo) => Promise; /** * Lists the tables inside a database for a ODBC, OLEDB or CUSTOM connection. * * Parameters: * * - `connectionId` - Identifier of the connection. * - `database` - Name of the database. * If _qDatabase_ is not set then _qOwner_ must be set. * - `owner` - Owner of the database. * If _qOwner_ is not set then _qDatabase_ must be set. * * Stability: *locked* */ getDatabaseTables: (connectionId: string, database?: string, owner?: string) => Promise; /** * Lists the databases inside a ODBC, OLEDB or CUSTOM data source. * * Parameters: * * - `connectionId` - Identifier of the connection. * * Stability: *locked* */ getDatabases: (connectionId: string) => Promise; /** * Returns the handle of a dimension. * * Parameters: * * - `id` - Identifier of the dimension. * * Stability: *locked* */ getDimension: (id: string) => Promise; /** * Creates a script that contains one section. This section contains **SET** statements that give localized information from the regional settings of the computer. *
The computer regional settings are retrieved when the engine starts.
* * Parameters: * * - `localizedMainSection` - Name of the script section. * The default value is _Main_ . * * Stability: *locked* */ getEmptyScript: (localizedMainSection?: string) => Promise; /** * Gets the current Backus-Naur Form (BNF) grammar of the Qlik chart expressions supported within a given App. * * Stability: *experimental* */ getExpressionBNF: () => Promise; /** * Gets a string hash calculated from the current Backus-Naur Form (BNF) grammar of the Qlik chart expressions supported within a given App. * * Stability: *experimental* */ getExpressionBNFHash: () => Promise; /** * Retrieves the variables that are tagged as favorite. * * Stability: *locked* */ getFavoriteVariables: () => Promise; /** * Returns a handle to a field. * * Parameters: * * - `fieldName` - Name of the field. * - `stateName` - Name of the alternate state. * Default state is current selections. * * Stability: *locked* */ getField: (fieldName: string, stateName?: string) => Promise; /** * Get sample values from either a column in a table or from a field. * Supports wildcard matches in tables or field names: * - '*' for zero or more characters. * - '?' for one character. * * Parameters: * * - `fieldsOrColumnsWithWildcards` - Pairs of table (optionally) and field names. Support wildcard matches. * - `maxNumberOfValues` - Max number of sample values returned. Depending on the column or field size the number of returned samples can be less than MaxNumberOfValues. If MaxNumberOfValues is negative all sample values are returned. * - `randSeed` - Optional. Sets the random number seed. Should only be set for test purposes. * * Stability: *locked* */ getFieldAndColumnSamples: (fieldsOrColumnsWithWildcards: FieldOrColumn[], maxNumberOfValues: number, randSeed?: number) => Promise; /** * Returns the description of a field. * * Parameters: * * - `fieldName` - Name of the field. * * Stability: *locked* */ getFieldDescription: (fieldName: string) => Promise; /** * Find the field-on-the-fly by passing its readable name. * * Parameters: * * - `readableName` - Readable name of the field-on-the-fly. * * Stability: *locked* */ getFieldOnTheFlyByName: (readableName: string) => Promise; /** * Retrives any fields from an expression. * * Parameters: * * - `expr` - Expression to get fields from. * * Stability: *locked* */ getFieldsFromExpression: (expr: string) => Promise; /** * Returns a list of resource ids (QRI) for fields that belongs to the datamodel. * Key fields (that belongs to multiple tables), returns one resource identifier per table. *
GetFieldsResourceIds method is only supported in SaaS Editions of Qlik Sense.
* * Parameters: * * - `fieldNames` - List of fields names that resource ids should be returned from. * * Stability: *locked* */ getFieldsResourceIds: (fieldNames: string[]) => Promise; /** * Lists the fields of a table for a folder connection. * * ### FileType * Recognized file formats are: * * _CSV_ for Delimited * * _FIX_ for Fixed Record * * _DIF_ for Data Interchange Format * * _EXCEL_BIFF_ for Microsoft Excel (XLS) * * _EXCEL_OOXML_ for Microsoft Excel (XLSX) * * _HTML_ for HTML * * _QVD_ for QVD file * * _XML_ for XML * * _QVX_ for QVX file * * _JSON_ for JSON format * * _KML_ for KML file * * _PARQUET_ for PARQUET file * * Parameters: * * - `connectionId` - Identifier of the connection. * - `relativePath` - Path of the connection file. * - `dataFormat` - Type of the file. * - `table` - Name of the table. * This parameter must be set for _XLS_ , _XLSX_ , _HTML _ and _XML_ files. * * Stability: *locked* */ getFileTableFields: (connectionId: string, relativePath: string | undefined, dataFormat: FileDataFormat, table: string) => Promise; /** * Lists the values in a table for a folder connection. * * ### FileType * Recognized file formats are: * * _CSV_ for Delimited * * _FIX_ for Fixed Record * * _DIF_ for Data Interchange Format * * _EXCEL_BIFF_ for Microsoft Excel (XLS) * * _EXCEL_OOXML_ for Microsoft Excel (XLSX) * * _HTML_ for HTML * * _QVD_ for QVD file * * _XML_ for XML * * _QVX_ for QVX file * * _JSON_ for JSON format * * _KML_ for KML file * * _PARQUET_ for PARQUET file * * Parameters: * * - `connectionId` - Identifier of the connection. * - `relativePath` - Path of the connection file. * - `dataFormat` - Type of the file. * - `table` - Name of the table. * This parameter must be set for _XLS_ , _XLSX_ , _HTML _ and _XML_ files. * * Stability: *locked* */ getFileTablePreview: (connectionId: string, relativePath: string | undefined, dataFormat: FileDataFormat, table: string) => Promise; /** * Lists the tables for a folder connection. * * ### FileType * Recognized file formats are: * * _CSV_ for Delimited * * _FIX_ for Fixed Record * * _DIF_ for Data Interchange Format * * _EXCEL_BIFF_ for Microsoft Excel (XLS) * * _EXCEL_OOXML_ for Microsoft Excel (XLSX) * * _HTML_ for HTML * * _QVD_ for QVD file * * _XML_ for XML * * _QVX_ for QVX file * * _JSON_ for JSON format * * _KML_ for KML file * * _PARQUET_ for PARQUET file * * Parameters: * * - `connectionId` - Identifier of the connection. * - `relativePath` - Path of the connection file. * - `dataFormat` - Type of the file. * * Stability: *locked* */ getFileTables: (connectionId: string, relativePath: string | undefined, dataFormat: FileDataFormat) => Promise; /** * Lists the tables and fields of a JSON or XML file for a folder connection. * * Parameters: * * - `connectionId` - Identifier of the connection. * - `relativePath` - Path of the connection file. * - `dataFormat` - Type of the file. * * Stability: *locked* */ getFileTablesEx: (connectionId: string, relativePath: string | undefined, dataFormat: FileDataFormat) => Promise; /** * Lists the items for a folder connection. * * Parameters: * * - `connectionId` - Identifier of the connection. * - `relativePath` - Relative path of the connection. * * Stability: *locked* */ getFolderItemsForConnection: (connectionId: string, relativePath?: string) => Promise; getGroupStates: () => Promise; /** * Gets the content of a file. * * Parameters: * * - `path` - ["lib://CONNECTION_NAME\\\<the name of the file you want to use>.txt"] * OR * ["lib://Connection_Name\\\<Folder under your connection>\\\<the name of the file you want to use>.txt"] * [ ] should be used when the first variable contains a lib reference. * * Stability: *locked* */ getIncludeFileContent: (path: string) => Promise; /** * Returns the content of a library. * * ### Global content library * In Qlik Sense Desktop, the content files are retrieved from: * _%userprofile%\Documents\Qlik\Sense\Content\Default_ * In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository. * * ### App specific content library * The embedded files are returned. * * Parameters: * * - `name` - Name of the content library. * It corresponds to the property _qContentLibraryListItem/qName_ returned by the _GetContentLibraries method_. * * Stability: *locked* */ getLibraryContent: (name: string) => Promise; /** * Gets the lineage information of the app. The lineage information includes the LOAD and STORE statements from the data load script associated with this app. * An array of lineage information. * * Stability: *locked* */ getLineage: () => Promise; /** * Returns locale information. * * Stability: *locked* */ getLocaleInfo: () => Promise; /** * Returns a list of table states. * * The following states apply: * * 0 The table is not loosely coupled. * * 1 The table is loosely coupled. * * 2 The table is loosely coupled and cannot be changed to another state using the Qlik Engine API. * *
The last three values in the vector are for internal use.
*
In case of circular references, the engine automatically sets the table state to loosely coupled to avoid creating loops.
* * Stability: *locked* */ getLooselyCoupledVector: () => Promise; /** * 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: * * - `tags` - 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_ . * - `matchingFieldMode` - Matching field mode. * The default value is MATCHINGFIELDMODE_MATCH_ALL. * * One of: * * MATCHINGFIELDMODE_MATCH_ALL * * MATCHINGFIELDMODE_MATCH_ONE * * Stability: *locked* */ getMatchingFields: (tags: string[], matchingFieldMode?: string) => Promise; /** * Returns the handle of a measure. * * Parameters: * * - `id` - Identifier of the measure. * * Stability: *locked* */ getMeasure: (id: string) => Promise; /** * Returns the handle of a measure with a label. * If multiple measures has the same label the first is returned. * * Parameters: * * - `label` - is the label of the measure to be returned. * * Stability: *locked* */ getMeasureWithLabel: (label: string) => Promise; /** * Lists the media files. * * @deprecated: Use _GetLibraryContent_ method instead * * Stability: *locked* */ getMediaList: () => Promise; /** * Returns the type of the app object and the corresponding handle. * * Parameters: * * - `id` - Identifier of the object to retrieve. * * Stability: *locked* */ getObject: (id: string) => Promise; /** * Returns all objects compatible with options. * * Parameters: * * - `options` - Object type filter and requested properties. * * Stability: *locked* */ getObjects: (options: NxGetObjectOptions) => Promise[]>; /** * Get or create a generic object at app level with a specific Id and Type. * Id and Type are specified in the GenericObjectProperties passed in. * All other fields in this parameter serve as default properties. * If the object does not exist with that Id, it is created and initialized from the default properties. * If the object already exists, it is not changed. The properties passed in are not used. * The call will fail if the Id is already used for another purpose, such as for an object of a different Type. * * Parameters: * * - `prop` - GenericObjectProperties with at least Info : { "qId": "<identifier of the new generic object>", "qType": "<type of the new generic object>" } * * Stability: *experimental* */ getOrCreateObject: (prop: CustomProperties) => Promise; /** * Gets values in script. * * Stability: *locked* */ getScript: () => Promise; /** * Lists the breakpoints in the script of an app. * * Stability: *locked* */ getScriptBreakpoints: () => Promise; /** * Gets script and script meta-data. * * Stability: *locked* */ getScriptEx: () => Promise; /** * Gets script meta-data. * * Stability: *experimental* */ getScriptMeta: () => Promise; /** * Returns a set analysis expression from active selections or from a saved bookmark. Fields on the fly and Calculated dimensions will not be included in the generated expressions, instead a message indicating 'missing fields' will provided within the expression. * | | BookmarkId empty | BookmarkId set | * |-----------------------|--------------------------------------|----------------------------------------------------| * |StateName empty (or $) | Default selections state is returned.| Default state ($) in bookmark with id is returned. | * |StateName set | State selections is returned. | State in bookmark with id is returned. | * * Parameters: * * - `stateName` - Optional. The name of the state to get set analysis expression for. If left empty, the default state will be retrieved. * - `bookmarkId` - Optional. The Id of the bookmark to get the set analysis expression for. If left empty, the current selection will be retrieved. * * Stability: *locked* */ getSetAnalysis: (stateName?: string, bookmarkId?: string) => Promise; /** * Retrieves the data of a specific table. * * Parameters: * * - `offset` - Position from the top, starting from 0. * If the offset is set to 0, the rows starting from the position/index 0 are shown. * - `rows` - Number of rows to show. * - `syntheticMode` - If this parameter is set to true, the internal data/table representation is shown. Synthetic fields are present (if any). * - `tableName` - Name of the table. * * Stability: *locked* */ getTableData: (offset: number, rows: number, syntheticMode: boolean, tableName: string) => Promise; /** * Returns profile data for a given table. * * Parameters: * * - `tableName` - Name of the table * * Stability: *experimental* */ getTableProfileData: (tableName: string) => Promise; /** * Returns: * * The list of tables in an app and the fields inside each table. * * The list of derived fields. * * The list of key fields. * * Parameters: * * - `windowSize` - Size of the window that is used to display the results. * - `nullSize` - * - `cellHeight` - Height of a cell in a table in pixels. * - `syntheticMode` - One of: * * _true_ for internal table viewer: * Shows a more detailed view on how the Qlik engine defines the relations between fields and the quality of the keys. * * _false_ for source table viewer: * Shows the natural relation between fields without reference to synthetic keys and resultant linking synthetic tables. Instead synthetic keys are represented by multiple connectors between tables. * - `includeSysVars` - If set to true, the system variables are included. * - `includeProfiling` - If set to true, profiling information is included. * * Stability: *locked* */ getTablesAndKeys: (windowSize: Size, nullSize: Size, cellHeight: number, syntheticMode: boolean, includeSysVars: boolean, includeProfiling?: boolean) => Promise; /** * Fetches updated variables after a statement execution. * *
If qRefSeqNo and qSetSeqNo are set to 0, it means that the variables were not updated.
* * Stability: *locked* */ getTextMacros: () => Promise; /** * Returns a handle to a variable. * * Parameters: * * - `name` - Name of the variable. * * @deprecated: Use _Doc::GetVariableById_ method or _Doc::GetVariableByName_ method instead * * Stability: *locked* */ getVariable: (name: string) => Promise; /** * Gets the handle of a variable. * * Parameters: * * - `id` - Identifier of the variable. * * Stability: *locked* */ getVariableById: (id: string) => Promise; /** * Gets the handle of a variable. * * Parameters: * * - `name` - Name of the variable. * * Stability: *locked* */ getVariableByName: (name: string) => Promise; getVariables: (listDef: VariableListDef) => Promise[]>; /** * Returns information about the position of the tables in the data model viewer. *
The position of the broom points and the position of the connection points cannot be retrieved in Qlik Sense.
* * Stability: *locked* */ getViewDlgSaveInfo: () => Promise; /** * Guesses the data format for a given file. * Recognized file formats are: * * _CSV_ for Delimited * * _FIX_ for Fixed Record * * _DIF_ for Data Interchange Format * * _EXCEL_BIFF_ for Microsoft Excel (XLS) * * _EXCEL_OOXML_ for Microsoft Excel (XLSX) * * _HTML_ for HTML * * _QVD_ for QVD file * * _XML_ for XML * * _QVX_ for QVX file * * _JSON_ for JSON format * * _KML_ for KML file * * _PARQUET_ for PARQUET file * * ### FileType * Recognized file formats are: * * _CSV_ for Delimited * * _FIX_ for Fixed Record * * _DIF_ for Data Interchange Format * * _EXCEL_BIFF_ for Microsoft Excel (XLS) * * _EXCEL_OOXML_ for Microsoft Excel (XLSX) * * _HTML_ for HTML * * _QVD_ for QVD file * * _XML_ for XML * * _QVX_ for QVX file * * _JSON_ for JSON format * * _KML_ for KML file * * _PARQUET_ for PARQUET file * * Parameters: * * - `connectionId` - Identifier of the connection file. * - `relativePath` - Path of the connection file. * * Stability: *locked* */ guessFileType: (connectionId: string, relativePath?: string) => Promise; /** * Locks all selections in fields for current state. * * Parameters: * * - `stateName` - Alternate state name. When set, applies to alternate state instead of current. * * Stability: *locked* */ lockAll: (stateName?: string) => Promise; /** * Updates a connection. *
The identifier of a connection cannot be updated. qType cannot be modified with the ModifyConnection method.
* * Parameters: * * - `connectionId` - Identifier of the connection. * - `connection` - Information about the connection. * Properties that can be updated. * - `overrideCredentials` - Set this parameter to true to override the user name and password. * * Stability: *locked* */ modifyConnection: (connectionId: string, connection: Connection, overrideCredentials?: boolean) => Promise; /** * Publishes an app. * All app objects are published. Generic objects, bookmarks, dimensions and measures inside the app are published. *
An app can only be published once and cannot be published to more than one stream.
* * Parameters: * * - `streamId` - Identifier of the stream. * - `name` - Name of the published app. * If this parameter is not set, the engine automatically gives a new name to the published app. * * Stability: *locked* */ publish: (streamId: string, name?: string) => Promise; /** * Redoes the previous operation. * *
The operation is successful if **qSuccess** is set to true.
* * Stability: *locked* */ redo: () => Promise; /** * Removes an alternate state in the app. * * Parameters: * * - `stateName` - Name of the alternate state. * * Stability: *locked* */ removeAlternateState: (stateName: string) => Promise; /** * Removes an session alternate state in the app. *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `stateName` - Name of the alternate state. * * Stability: *locked* */ removeSessionAlternateState: (stateName: string) => Promise; /** * Removes a variable. * * Parameters: * * - `name` - Name of the variable. Variable names are case sensitive. * * @deprecated: Use _Doc::DestroyVariableById_ method or _Doc::DestroyVariableByName_ method instead * * Stability: *locked* */ removeVariable: (name: string) => Promise; /** * Replace a bookmark. Optional inparams to change the original bookmarks properties, original are kept if left out. * * Parameters: * * - `id` - Identifier of the bookmark. * - `ignorePatches` - Set to true to exclude patches from the bookmark. Default is false. * - `objectIdsToPatch` - Add softpatches for this objects if available. If empty all softpatches are added to the bookmark. Ignored if IgnorePatches is set to true. * * Stability: *locked* */ replaceBookmark: (id: string, ignorePatches?: boolean, objectIdsToPatch?: string[]) => Promise; /** * Restore a temporary selection state identified by Id. *
RestoreTempSelectionState method is only supported in SaaS Editions of Qlik Sense.
* * Parameters: * * - `id` - Identifier of the temporary selection state * * Stability: *locked* */ restoreTempSelectionState: (id: string) => Promise; /** * Resumes the app as the user left it. * * Stability: *locked* */ resume: () => Promise; /** * Save a copy of an app with a different name. * Can be used to save a session app as an ordinary app. * * Parameters: * * - `newAppName` - <Name of the saved app> * * Stability: *locked* */ saveAs: (newAppName: string) => Promise; /** * Saves all objects that were modified in the app. *
Data from the data model are not saved.
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ saveObjects: () => Promise; /** * Scrambles a field so the data is not recognizable. Some properties are retained to help debugging. For example, special characters are not changed, and small numbers are scrambled to another small number. *
Update access is required to use the function in Qlik Sense Enterprise.
* * Parameters: * * - `fieldName` - Name of the field to scramble. * * Stability: *locked* */ scramble: (fieldName: string) => Promise; /** * Returns the search matches for one or more search terms. * The search results depend on the search context. * _SearchCombinationOptions_ * * ### SearchMatchCombinations * * * * * * * * * * * *
NameDescriptionType
qSearchMatchCombinationsArray of search combinations.Array of SearchMatchCombination
* * Parameters: * * - `options` - Information about the search fields and the search context. * - `terms` - List of terms to search for. * - `page` - Array of pages to retrieve. * * @deprecated: Use _SearchResults_ method instead * * Stability: *locked* */ searchAssociations: (options: SearchCombinationOptions, terms: string[], page: SearchPage) => Promise; /** * Returns the generic objects corresponding to one or more search terms. The search is performed within the title, subtitle, footnote and type. In addition, associated dimension values are also searched in. For example, if the country “Japan” is selected and the object contains the dimension City, the object will appear in the results for “Osaka” but not for “Johannesburg”. The generic objects with the following types will never appear in the results: _slideitem_ , _sheet_ , _story_ , _slide_ , _masterobject_ , _snapshot_ , _LoadModel_ , _appprops_ and _searchhistory_ . * * Parameters: * * - `options` - Information about attributes. * - `terms` - Terms to search for. * - `page` - Array of pages to retrieve. * * Stability: *locked* */ searchObjects: (options: SearchObjectOptions, terms: string[], page: SearchPage) => Promise; /** * Returns the search matches for one or more search terms. * Search results are organized in search groups. The type of search group indicates where the search matches come from (from data for example). * Each search group contains search results that correspond to a combination of search terms. * For example, if the search terms are _organic_ , _pasta_ , and _America_ , the possible combination of search groups are: * * organic * * pasta * * America * * organic, pasta, America * * organic, pasta * * organic, America * * pasta, America * * For every search group, there are one or more search group items. Each subgroup item contains results that correspond to an item type (for example a field). * For every search group item, there are one or several search matches. The position of the match in each search result is given. * * Parameters: * * - `options` - Information about the search combinations. * - `terms` - Terms to search for. * - `page` - Array of pages to retrieve. * * Stability: *locked* */ searchResults: (options: SearchCombinationOptions, terms: string[], page: SearchPage) => Promise; /** * Returns search terms suggestions. * * Parameters: * * - `options` - Information about the search combinations. * - `terms` - Terms to search for. * * Stability: *locked* */ searchSuggest: (options: SearchCombinationOptions, terms: string[]) => Promise; searchValues: (options: SearchValueOptions, terms: string[], page: SearchValuePage) => Promise; /** * Selects all search hits for a specified group. * The results depend on the search context. * _SearchCombinationOptions_. * * Parameters: * * - `options` - Information about the search fields and the search context. * - `terms` - List of terms to search for. * - `matchIx` - Index (value of _qId_ ) of the search result to select. * - `softLock` - This parameter is deprecated and should not be set. * * Stability: *locked* */ selectAssociations: (options: SearchCombinationOptions, terms: string[], matchIx: number, softLock?: boolean) => Promise; /** * Sends a generic command to a custom connector. * For more information on the commands that can be sent to a custom connector, see the QVX SDK help. * * Parameters: * * - `provider` - Connector file name. * Command to be executed by the connector. * - `command` - One of: * * JsonRequest * * GetCustomCaption * * IsConnected * * DisableQlikViewSelectButton * * HaveStarField * - `method` - Method name to be used within the command. * The available methods depend on the chosen connector. * - `parameters` - Parameters of the command. * No parameters are required. * - `appendConnection` - Name of the connection. * * Stability: *locked* */ sendGenericCommandToCustomConnector: (provider: string, command: string, method: string, parameters: string[], appendConnection: string) => Promise; /** * Sets properties to an app. *
The qLastReloadTime, qMigrationHash and qSavedInProductVersion properties does not need to be set but if they are, they should match the current values in the app layout.
* * Parameters: * * - `prop` - Information about the properties of an app. * * Stability: *locked* */ setAppProperties: (prop: NxAppProperties) => Promise; /** * Set some variables as favorite. * * Parameters: * * - `names` - Variables to set as favorite. * * Stability: *locked* */ setFavoriteVariables: (names: string[]) => Promise; /** * Limits the number of rows of data to load from a data source. * This method works when reloading in debug mode. * * Parameters: * * - `limit` - Fetch limit. * Number of rows to load. * * Stability: *locked* */ setFetchLimit: (limit: number) => Promise; /** * Sets a list of table states, one for each table. * * The following states apply: * * 0 The table is not loosely coupled. * * 1 The table is loosely coupled. * * 2 The table is loosely coupled and cannot be changed to another state using the Qlik Engine API. * *
The last three values in the vector are for internal use.
* * Parameters: * * - `v` - The list of table states to set. A state will not be changed if already set to 2. * * Stability: *locked* */ setLooselyCoupledVector: (v: number[]) => Promise; /** * Prohibit binary load of this app. * An app with prohibit binary load set cannot be loaded binary. For the setting to have effect a save is required. * * Parameters: * * - `prohibit` - True or false. * * Stability: *locked* */ setProhibitBinaryLoad: (prohibit: boolean) => Promise; /** * Sets values in script. * * Parameters: * * - `script` - Script content. * * Stability: *locked* */ setScript: (script: string) => Promise; /** * Set some breakpoints in the script of an app. * * Parameters: * * - `breakpoints` - Information about the breakpoints. * * Stability: *locked* */ setScriptBreakpoints: (breakpoints: EditorBreakpoint[]) => Promise; /** * Sets the positions of the tables in the data model viewer. *
The position of the broom points and the position of the connection points cannot be set in Qlik Sense.
* * Parameters: * * - `info` - Information about the table. * * Stability: *locked* */ setViewDlgSaveInfo: (info: TableViewDlgSaveInfo) => Promise; /** * Store current selection state temporarily. *
The temporary selection state will be stored for 30min by default if TTL parameter is not present or positive.
*
StoreTempSelectionState method is only supported in SaaS Editions of Qlik Sense.
* * Parameters: * * - `tTLOfTempState` - Time to live in seconds for stored selection state * * Stability: *locked* */ storeTempSelectionState: (tTLOfTempState?: number) => Promise; /** * Transform current app into an instance of the targeted mode * * Parameters: * * - `dstParameters` - Attributes that should be set in the new app. * * Stability: *locked* */ transformApp: (dstParameters: TransformAppParameters) => Promise; /** * Undoes the previous operation. * *
The operation is successful if **qSuccess** is set to true.
* * Stability: *locked* */ undo: () => Promise; /** * Unlocks all selections in fields for current state. * * Parameters: * * - `stateName` - Alternate state name. When set, applies to alternate state instead of current. * * Stability: *locked* */ unlockAll: (stateName?: string) => Promise; }; type NativeFieldFunctions = { /** * Clears the selections in a specific field. * * Stability: *locked* */ clear: () => Promise; /** * Maintains the selections in the current field while clearing the selections in the other fields. * * Parameters: * * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ clearAllButThis: (softLock?: boolean) => Promise; /** * Returns the AND mode status of a field. * * Stability: *locked* */ getAndMode: () => Promise; /** * Retrieves the number of distinct values in a field. * * Stability: *locked* */ getCardinal: () => Promise; /** * Gets the properties of a field. * *
The property _OneAndOnlyOne_ is set to true if one and only value has been selected in the field prior setting the property.
* * Stability: *locked* */ getNxProperties: () => Promise; /** * Locks all selected values of a specific field. * * Stability: *locked* */ lock: () => Promise; /** * Selects some values in a field, by entering the element numbers related to the values to select. * * Parameters: * * - `values` - Indexes (or element numbers) of the values to select. * - `toggleMode` - Set to true to keep any selections present in the list object. * If this parameter is set to false, selections made before accepting the list object search become alternative. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ lowLevelSelect: (values: number[], toggleMode: boolean, softLock?: boolean) => Promise; /** * Selects field values matching a search string. * * Parameters: * * - `match` - String to search for. * Can contain wild cards or numeric search criteria. * The characters <>"~()='[] have pre-defined meanings when used at the start of the string. * To use them, EnableSpecialCharacterEscapingInSearch needs to be enabled and the delimiter \ needs to precede the special character. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * - `excludedValuesMode` - Include excluded values in search. * * Stability: *locked* */ select: (match: string, softLock?: boolean, excludedValuesMode?: number) => Promise; /** * Selects all values of a field. Excluded values are also selected. * * Parameters: * * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectAll: (softLock?: boolean) => Promise; /** * Selects all alternatives values in a specific field. *
In a field that contains at least one selected value, the values that are neither selected nor excluded are alternatives values.
* * Parameters: * * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectAlternative: (softLock?: boolean) => Promise; /** * Inverts the current selections. * * Parameters: * * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectExcluded: (softLock?: boolean) => Promise; /** * Selects all possible values in a specific field. * * Parameters: * * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectPossible: (softLock?: boolean) => Promise; /** * Selects some values in a field, by entering the values to select. * * Parameters: * * - `fieldValues` - List of the values to select. * - `toggleMode` - The default value is false. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectValues: (fieldValues: FieldValue[], toggleMode?: boolean, softLock?: boolean) => Promise; /** * Sets a field in the AND mode. * * Parameters: * * - `andMode` - Specifies if the AND mode applies to the field. * Set this parameter to true to enter the AND mode. * * Stability: *locked* */ setAndMode: (andMode: boolean) => Promise; /** * Sets some properties to a field. * * Parameters: * * - `properties` - Information about the properties of the field. * * Stability: *locked* */ setNxProperties: (properties: NxFieldProperties) => Promise; /** * Toggle selects field values matching a search string. * * Parameters: * * - `match` - String to search for. * Can contain wild cards or numeric search criteria. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * - `excludedValuesMode` - Include excluded values in search. * * Stability: *locked* */ toggleSelect: (match: string, softLock?: boolean, excludedValuesMode?: number) => Promise; /** * Unlocks all selected values of a specific field if the target (or handle ) is a field. * * Stability: *locked* */ unlock: () => Promise; }; type NativeGenericBookmarkFunctions = { /** * Applies a bookmark. * *
The operation is successful if **qSuccess** is set to true.
* * Stability: *locked* */ apply: () => Promise; /** * Applies a bookmark and verify result dataset against originally selected values. * *
The operation is successful if **qApplySuccess** is set to true. **qWarnings** lists state and field with unmatching values
* * Stability: *experimental* */ applyAndVerify: () => Promise; /** * Applies a patch to the properties of an object. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId", * and it will be forbidden in the near future. *
Applying a patch takes less time than resetting all the properties.
* * Parameters: * * - `patches` - Array of patches. * * Stability: *locked* */ applyPatches: (patches: NxPatch[]) => Promise; /** * Adds the generic bookmark to the list of approved objects *
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ approve: () => Promise; /** * Retrieves the values of a field for the default state. * * ### Fieldvalue * * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qTextText related to the field value.String
qIsNumericIs set to true if the value is a numeric.
Default is false.
Boolean
qNumberNumeric value of the field.
This parameter is displayed if qIsNumeric is set to true.
Double
* * Parameters: * * - `field` - Name of the field. * - `getExcludedValues` - If set to true, only NOT-selected values are returned. * - `dataPage` - Range of returned values. * * Stability: *locked* */ getFieldValues: (field: string, getExcludedValues: boolean, dataPage: BookmarkFieldPage) => Promise; /** * Retrieves the values of a field per state. * * ### Fieldvalue * * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qTextText related to the field value.String
qIsNumericIs set to true if the value is a numeric.
Default is false.
Boolean
qNumberNumeric value of the field.
This parameter is displayed if qIsNumeric is set to true.
Double
* * Parameters: * * - `field` - Name of the field. * - `getExcludedValues` - When to true, only NOT-selected values are returned. * - `dataPages` - Range of returned values per state, an empty array will return the values of all states. Only one page without a state name returns the values for all states, using the start and end indices of the first page. * * Stability: *locked* */ getFieldValuesEx: (field: string, getExcludedValues: boolean, dataPages: BookmarkStateFieldPages) => Promise; /** * Returns: * * The type of the object. * * The identifier of the object. * * Stability: *locked* */ getInfo: () => Promise; /** * Evaluates an object and displays its properties including the dynamic properties. * If the member _delta_ is set to true in the request object, only the delta is evaluated. * * Stability: *locked* */ getLayout: () => Promise; /** * Shows the properties of an object. *
If the member delta is set to true in the request object, only the delta is retrieved.
* The following is always returned in the output: * * Stability: *locked* */ getProperties: () => Promise; /** * Publishes a bookmark. *
This operation is not applicable for Qlik Sense Desktop.
* * Stability: *locked* */ publish: () => Promise; /** * Sets some properties for a bookmark. * * Parameters: * * - `prop` - Information about the bookmark. * * Stability: *locked* */ setProperties: (prop: GenericBookmarkProperties) => Promise; /** * Removes the generic bookmark from the list of approved objects *
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ unApprove: () => Promise; /** * Unpublishes a bookmark. *
This operation is not applicable for Qlik Sense Desktop.
* * Stability: *locked* */ unPublish: () => Promise; }; type NativeGenericDimensionFunctions = { /** * Applies a patch to the properties of an object. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId", * and it will be forbidden in the near future. *
Applying a patch takes less time than resetting all the properties.
* * Parameters: * * - `patches` - Array of patches. * * Stability: *locked* */ applyPatches: (patches: NxPatch[]) => Promise; /** * Adds the generic dimension to the list of approved objects *
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ approve: () => Promise; /** * Get a cyclic dimension's active field. *
This operation is only possible for cyclic dimensions.
* * Stability: *experimental* */ getActiveField: () => Promise; /** * Returns the definition of a dimension. * * The definition of the dimension is returned. * * Stability: *locked* */ getDimension: () => Promise; /** * Returns the type and identifier of the object. * * Stability: *locked* */ getInfo: () => Promise; /** * Evaluates a dimension and displays its properties, including the dynamic properties. * * Stability: *locked* */ getLayout: () => Promise; /** * Lists the linked objects to a generic object, a dimension or a measure. * * Stability: *locked* */ getLinkedObjects: () => Promise; /** * Shows the properties of an object. * Returns the identifier and the definition of the dimension. *
If the member delta is set to true in the request object, only the delta is retrieved.
* * Stability: *locked* */ getProperties: () => Promise; /** * Publishes a dimension. *
This operation is not applicable for Qlik Sense Desktop.
* * Stability: *locked* */ publish: () => Promise; /** * Set a cyclic dimension's active field directly. *
This operation is only possible for cyclic dimensions.
* * Parameters: * * - `ix` - Index of the new active field. * * Stability: *experimental* */ setActiveField: (ix: number) => Promise; /** * Sets some properties for a dimension. * * Parameters: * * - `prop` - Information about the dimension. * * Stability: *locked* */ setProperties: (prop: GenericDimensionProperties) => Promise; /** * Step active field in a cyclic dimension. *
This operation is only possible for cyclic dimensions.
* * Parameters: * * - `step` - The number of steps made through the dimension. Positive values step forward and negative values step backward. * * Stability: *experimental* */ stepCycle: (step: number) => Promise; /** * Removes the generic dimension from the list of approved objects *
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ unApprove: () => Promise; /** * Unpublishes a dimension. *
This operation is not applicable for Qlik Sense Desktop.
* * Stability: *locked* */ unPublish: () => Promise; }; type NativeGenericMeasureFunctions = { /** * Applies a patch to the properties of an object. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId", * and it will be forbidden in the near future. *
Applying a patch takes less time than resetting all the properties.
* * Parameters: * * - `patches` - Array of patches. * * Stability: *locked* */ applyPatches: (patches: NxPatch[]) => Promise; /** * Adds the generic measure to the list of approved objects *
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ approve: () => Promise; /** * Returns the type and identifier of the object. * * Stability: *locked* */ getInfo: () => Promise; /** * Evaluates a measure and displays its properties, including the dynamic properties. * * Stability: *locked* */ getLayout: () => Promise; /** * Lists the linked objects to a generic object, a dimension or a measure. * * Stability: *locked* */ getLinkedObjects: () => Promise; /** * Returns the definition of a measure. * * Stability: *locked* */ getMeasure: () => Promise; /** * Shows the properties of an object. * Returns the identifier and the definition of the measure. *
If the member delta is set to true in the request object, only the delta is retrieved.
* The following is always returned in the output: * * Stability: *locked* */ getProperties: () => Promise; /** * Publishes a measure. *
This operation is not applicable for Qlik Sense Desktop.
* * Stability: *locked* */ publish: () => Promise; /** * Sets some properties for a measure. * * Parameters: * * - `prop` - Information about the measure. * * Stability: *locked* */ setProperties: (prop: GenericMeasureProperties) => Promise; /** * Removes the generic measure from the list of approved objects *
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ unApprove: () => Promise; /** * Unpublishes a measure. *
This operation is not applicable for Qlik Sense Desktop.
* * Stability: *locked* */ unPublish: () => Promise; }; type NativeGenericObjectFunctions = { /** * Aborts the results of a search in a list object. *
This method applies to list objects (objects with one dimension).
After an abort on a list object search, the _GetLayout Method_ does not return any more search results but it does return the values in the field.
* * Parameters: * * - `path` - Path to the definition of the list object. * For example, _/qListObjectDef_ . * * Stability: *locked* */ abortListObjectSearch: (path: string) => Promise; /** * Accept the results of a search in a list object. The search results become selected in the field. *
This method applies to list objects (objects with one dimension).
The search results are displayed using the _GetLayout Method_.
* * Parameters: * * - `path` - Path to the definition of the list object. * For example, _/qListObjectDef_ . * - `toggleMode` - Set to true to keep any selections present in the list object. * If this parameter is set to false, selections made before accepting the list object search become alternative. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ acceptListObjectSearch: (path: string, toggleMode: boolean, softLock?: boolean) => Promise; /** * You can use the AddGroupMembers method with any object that contains an object grouping definition. * This method allows you to add one or more members to an existing group of objects directly. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For exampleb _/qNxGroupDef_ . * - `members` - Array of IDs for the objects and/or subgroups to add to the group. * - `targetGroupId` - Name of the group the Members will be added to (if not the called object). * - `posId` - Id of the member whose position to insert into. * * Stability: *experimental* */ addGroupMembers: (path: string, members: NxGroupObjectId[], targetGroupId?: string, posId?: string) => Promise; /** * Applies a patch to the properties of an object. Allows an update to some of the properties. * It is possible to apply a patch to the properties of a generic object, that is not persistent. Such a patch is called a soft patch. * In that case, the result of the operation on the properties (add, remove or delete) is not shown when doing _GetProperties_ , and only a _GetLayout_ call shows the result of the operation. * Properties that are not persistent are called soft properties. Once the engine session is over, soft properties are cleared. It should not be possible to patch "/qInfo/qId", * and it will be forbidden in the near future. *
Soft properties apply only to generic objects.
* * Parameters: * * - `patches` - Array of patches. * - `softPatch` - If set to true, it means that the properties to be applied are not persistent. The patch is a soft patch. * The default value is false. * * Stability: *locked* */ applyPatches: (patches: NxPatch[], softPatch?: boolean) => Promise; /** * Adds the generic object to the list of approved objects *
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ approve: () => Promise; /** * Begins the selection mode. The app enters the modal state. The specified object enters the selection mode and a modal window is opened. The selection mode can apply to only one object in an app at a time. * When a visualization is in selection mode, selections can be made in this visualization. The visualization is not sorted until the selection mode is ended. Once the selection mode is ended and if the selections are accepted, the visualization is sorted according to the sort criteria. For more information about: * * Ending the selection mode, see _EndSelections Method_. * * The sort criteria, see _ListObjectDef_ or _HyperCubeDef_. * * ### Example * A sheet contains a list object and a chart. If the list object is in selection mode then the chart cannot be in selection mode. No selection on the chart can be made until the list object exits the selection mode. * * Parameters: * * - `paths` - List of the paths to the definition of the objects to enter selection mode. * For example, _/qListObjectDef_ . * * Stability: *locked* */ beginSelections: (paths: string[]) => Promise; /** * Clears the selections in a dimension of a visualization. * * Parameters: * * - `path` - Path to the definition of the visualization. * For example, _/qListObjectDef_ . * - `colIndices` - Array of dimension numbers or indexes. The selections are cleared in the specified dimensions. * Dimension numbers/indexes start from 0. * If this parameter is not set, all dimensions are cleared. * * Stability: *locked* */ clearSelections: (path: string, colIndices?: number[]) => Promise; /** * Clears the soft properties of a generic object. * For more information on how to add soft properties to a generic object, see _ApplyPatches Method_. * * Stability: *locked* */ clearSoftPatches: () => Promise; /** * Collapses the left dimensions of a pivot table. This method applies only to pivot tables that are not always fully expanded. * In the definition of the hypercube (in _HyperCubeDef_ ), the parameter _qAlwaysFullyExpanded_ must be set to false. * * Parameters: * * - `path` - Path to the definition of the object to be collapsed. * For example, _/qHyperCubeDef_ . * - `row` - Row index in the data matrix. * Indexing starts from 0. * - `col` - Column index. The index is based on the left dimension indexes. * Indexing starts from 0. * - `all` - If set to true, it collapses all cells. * Parameters _qRow_ and _qCol_ are not used if _qAll_ is set to true, but they need to be set (for example to 0). * * Stability: *locked* */ collapseLeft: (path: string, row: number, col: number, all: boolean) => Promise; /** * Collapses the top dimensions of a pivot table. This method applies only to pivot tables that are not always fully expanded. * In the definition of the hypercube (in _HyperCubeDef_ ), the parameter _qAlwaysFullyExpanded_ must be set to false. * * Parameters: * * - `path` - Path to the definition of the object to be collapsed * For example, _/qHyperCubeDef_ . * - `row` - Row index. The index is based on the top dimension indexes. * Indexing starts from 0. * - `col` - Column index in the data matrix. * Indexing starts from 0. * - `all` - If set to true, it collapses all cells. * Parameters _qRow_ and _qCol_ are not used if _qAll_ is set to true, but they need to be set (for example to 0). * * Stability: *locked* */ collapseTop: (path: string, row: number, col: number, all: boolean) => Promise; /** * Copies the properties of a generic object and its children. * The source object is specified by the parameter _qFromId_ and the destination object is referenced by its handle. *
The identifier of the destination object is the same as before the copy takes place.
* * Parameters: * * - `fromId` - Identifier of the object to copy. * * Stability: *locked* */ copyFrom: (fromId: string) => Promise; /** * Creates a generic object that is a child of another generic object. *
It is possible to update the properties of the child's parent at the same time that the child is created. Both operations are performed by the same call.
It is possible to create a child that is linked to another generic object. The two objects have the same properties.
* * Parameters: * * - `prop` - Information about the child. * It is possible to create a child that is linked to another object. * - `propForThis` - Identifier of the parent's object. * Should be set to update the properties of the parent's object at the same time the child is created. * * Stability: *locked* */ createChild: (prop: CustomChildProperties, propForThis?: CustomProperties) => Promise; /** * You can use the CreateGroup method with any object that contains an object grouping definition. * This method allows you to create a new subgroup of objects directly and add it to a group's members. * Returns the ID of the created subgroup. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example _/qNxGroupDef_ . * - `groupDef` - Definition of the new group. * - `targetGroupId` - Id of the group to create the new subgroup in (if not the called object). * * Stability: *experimental* */ createGroup: (path: string, groupDef: NxGroupDef, targetGroupId?: string) => Promise; /** * Removes all children and all children to the children on an object. * * Parameters: * * - `propForThis` - Identifier of the parent's object and property to update. * Should be set to update the properties of the parent's object at the same time the child is created. * * Stability: *locked* */ destroyAllChildren: (propForThis?: CustomProperties) => Promise; /** * Removes a child object. *
It is possible to update the properties of the child's parent at the same time that the child is removed. Both operations are performed by the same call.
Removing a linked object, invalidate the linking object.
* *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `id` - Identifier of the child to remove. * - `propForThis` - Identifier of the parent's object and property to update. * Should be set to update the properties of the parent's object at the same time the child is created. * * Stability: *locked* */ destroyChild: (id: string, propForThis?: CustomProperties) => Promise; /** * You can use the drillUp method with any object that contains a drill-down group as a dimension. * This method allows you to move between different levels of information (from a detailed level to a less detailed level of information). You can go back to previous visualizations up to the highest level of the hierarchy. * If you try to drill up more steps than there are available levels, the first level of the hierarchy is displayed. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `dimNo` - Dimension number or index starting from 0. * The default value is 0. * - `nbrSteps` - Number of steps you want to drill up. * The default value is 0. * * Stability: *locked* */ drillUp: (path: string, dimNo: number, nbrSteps: number) => Promise; /** * Adds a snapshot to a generic object. *
Only one snapshot can be embedded in a generic object.
If you embed a snapshot in an object that already contains a snapshot, the new snapshot overwrites the previous one.
* * Parameters: * * - `id` - Identifier of the bookmark. * * Stability: *locked* */ embedSnapshotObject: (id: string) => Promise; /** * Ends the selection mode on a visualization. The selections are accepted or aborted when exiting the selection mode, depending on the _qAccept_ parameter value. * * Parameters: * * - `accept` - Set this parameter to true to accept the selections before exiting the selection mode. * * Stability: *locked* */ endSelections: (accept: boolean) => Promise; /** * Expands the left dimensions of a pivot table. This method applies only to pivot tables that are not always fully expanded. * In the definition of the hypercube (in _HyperCubeDef_ ), the parameter _qAlwaysFullyExpanded_ must be set to false. * * Parameters: * * - `path` - Path to the definition of the object to be expanded. * For example, _/qHyperCubeDef_ . * - `row` - Row index in the data matrix to expand. * Indexing starts from 0. * - `col` - Column index. The index is based on the left dimension indexes. * Indexing starts from 0. * - `all` - If set to true, it expands all cells. * Parameters _qRow_ and _qCol_ are not used if _qAll_ is set to true, but they need to be set (for example to 0). * * Stability: *locked* */ expandLeft: (path: string, row: number, col: number, all: boolean) => Promise; /** * Expands the top dimensions of a pivot table. This method applies only to pivot tables that are not always fully expanded. * In the definition of the hypercube (in _HyperCubeDef_ ), the parameter _qAlwaysFullyExpanded_ must be set to false. * * Parameters: * * - `path` - Path to the definition of the object to be expanded. * For example, _/qHyperCubeDef_ . * - `row` - Row index. The index is based on the top dimension indexes. * Indexing starts from 0. * - `col` - Column index in the data matrix. * Indexing starts from 0. * - `all` - If set to true, it expands all cells. * Parameters _qRow_ and _qCol_ are not used if _qAll_ is set to true, but they need to be set (for example to 0). * * Stability: *locked* */ expandTop: (path: string, row: number, col: number, all: boolean) => Promise; /** * Exports the data of any generic object to an Excel file or a open XML file. If the object contains excluded values, those excluded values are not exported. * This API has limited functionality and will not support CSV export from all types of objects. Consider using Excel export instead. Treemap and bar chart are not supported. *
ExportData method is not supported in SaaS Editions of Qlik Sense.
* * ### Default limitations in number of rows and columns * The default maximum number of rows and columns in the Excel export file is: * * 1048566 rows per sheet. For pivot tables: 1048566 column dimensions. 10 rows can be added after the export. * * 16384 columns per sheet. If the number of columns exceeds the limit, the exported file is truncated and a warning message is sent. * * ### Default limitation in number of columns * The default maximum number of columns in the export file is: * * 1000 to export to a CSV file * * ### Default limitations in number of cells * The default maximum number of cells in the export file is: * * 5000000 to export to a CSV file * * The exported file is truncated if the number of cells exceeds the limit. A warning message with code 1000 is sent. *
There is an option to export only the possible values ( _qExportState_ is P).
* * ### Default limitation in size * If the exported file is larger than the maximum value, then an out-of-memory error with code 13000 is returned. * *
Exported files are temporary and are available only for a certain time span and only to the user who created them.
* * Parameters: * * - `fileType` - Type of the file to export. * * One of: * * CSV_C or EXPORT_CSV_C * * CSV_T or EXPORT_CSV_T * * OOXML or EXPORT_OOXML * * PARQUET or EXPORT_PARQUET * - `path` - Path to the definition of the object to be exported. * For example, _/qHyperCubeDef_ . * This parameter is mandatory if the file type is _CSV_C_ or _CSV_T_ . * - `fileName` - Name of the exported file after download from browser. * This parameter is optional and only used in Qlik Sense Desktop. * - `exportState` - Defines the values to be exported. * The default value is A. * * One of: * * P or EXPORT_POSSIBLE * * A or EXPORT_ALL * - `serveOnce` - If the exported file should be served only once * This parameter is optional and only used in Qlik Sense Enterprise (Windows) * Default value: false * * Stability: *locked* */ exportData: (fileType: string, path?: string, fileName?: string, exportState?: string, serveOnce?: boolean) => Promise; /** * Returns the type of the object and the corresponding handle. * * Parameters: * * - `id` - Identifier of the object. * * Stability: *locked* */ getChild: (id: string) => Promise; /** * Returns the identifier and the type for each child in an app object. If the child contains extra properties in _qInfos_ , these properties are returned. * * Full dynamic properties are optional and are returned if they exist in the definition of the object. * * Stability: *locked* */ getChildInfos: () => Promise; /** * Returns the identifier, the type and the properties of the object. * If the object contains some soft properties, the soft properties are returned. * If the object is linked to another object, the properties of the linking object are returned. * * Stability: *locked* */ getEffectiveProperties: () => Promise; /** * Gets the properties of: * * A generic object. * * The children of the generic object. * * The bookmarks/embedded snapshots of the generic object. * * Stability: *locked* */ getFullPropertyTree: () => Promise; /** * This method supports data binning. * When a generic object with two or three measures and one dimension contains a lot of data, groups of points (for example, cells) can be rendered instead of points. * A zone of interest can be refined (for zooming in) up to a maximum refinement level (set in the _qQueryLevel_ parameter) or coarsened (for zoom out). * The grid of cells is adaptive (not static), meaning that it adapts to different length scales. * The _GetHyperCubeBinnedData_ method gives information about the adaptive grid and the values of the generic object. * The number of points in a cell and the coordinates (expressed in the measure range) of each cell are returned. * Dimension values and measure values are rendered at point level (highest detailed level). *
The generic object should contain two or three measures and one dimension. When the refinement is high, the first two measures are represented on the x-axis and on the y-axis, while the third measure is visualized as color or point size.
* * ### Adaptive Grid * More details about the properties of the adaptive grid are given in this paragraph. * When the refinement is not the highest (cells are rendered), information about the adaptive grid is returned through several arrays. * The first array contains the following properties: * * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qNumMaximum number of points that a cell can contain.String
qElemNumberIs set to 0.Boolean
qStateThe default value is L.One of: *
    *
  • L for Locked
  • *
  • S for Selected
  • *
  • O for Optional
  • *
  • D for Deselected
  • *
  • A for Alternative
  • *
  • X for eXcluded
  • *
  • XS for eXcluded Selected
  • *
  • XL for eXcluded Locked
  • *
*
* * The next arrays give the coordinates of each cell in the page. * Each array contains the following properties: * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qTextCoordinates of a cell in the measure range.
“qText”: “[[<left>, <top>, <right>, <bottom>], [<left>, <top>, <right>, <bottom>], .... [<left>, <top>, <right>, <bottom>]]
Where:
< left >, < top >, < right > and < bottom > are the coordinates of the cell in the measure range.
String
qNumNumber of points in the cell.Double precision floating point
qElemNumberUnique identifier for each cell, calculated by the engine during the construction of the grid.
This element number is not stored in the database and can have a positive or a negative value.
Integer
qStateThe default value is L.One of: *
    *
  • L for Locked
  • *
  • S for Selected
  • *
  • O for Optional
  • *
  • D for Deselected
  • *
  • A for Alternative
  • *
  • X for eXcluded
  • *
  • XS for eXcluded Selected
  • *
  • XL for eXcluded Locked
  • *
*
* *
Cells are represented as rectangles.
* * ### Dimension values and measures values * More details about the properties, when dimension and measure values are returned, are given in this paragraph. * When the refinement is high, points are rendered (not cells) and dimension and measure values for each cell are returned. * The first array is empty because no information on the adaptive grid is needed. * The next arrays bring information about the dimension and the measure values. * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
NameDescriptionType
qTextText value of the dimension or the measure.String
qNumNumerical value of the dimension or the measure.
Is set to 0 if the value is only text.
Double precision floating point
qElemNumberUnique identifier for each cell, calculated by the engine during the construction of the grid.
This element number is not stored in the database and can have a positive or a negative value.
Integer
qStateThe default value is L.One of: *
    *
  • L for Locked
  • *
  • S for Selected
  • *
  • O for Optional
  • *
  • D for Deselected
  • *
  • A for Alternative
  • *
  • X for eXcluded
  • *
  • XS for eXcluded Selected
  • *
  • XL for eXcluded Locked
  • *
*
* * Parameters: * * - `path` - Path to the definition of the object. * For example, _/qHyperCubeDef_ . * - `pages` - Array of pages to retrieve. * Since the generic object contains two measures and one dimension, _qWidth_ should be set to 3. * If the value of a measure is Null, the value cannot be rendered. Therefore, the number of elements rendered in a page can be less than the number defined in the property _qHeight_ . * - `viewport` - Defines the canvas and the zoom level. * This parameter is not yet used and is optional. * - `dataRanges` - Range of the data to render. * This range applies to the measure values. * The lowest and highest values of a measure can be retrieved by using the _GetLayout method_ (in _/qHyperCube/qMeasureInfo_ ). * - `maxNbrCells` - Maximum number of cells in the grid. * - `queryLevel` - Level of details. The higher the level, the more detailed information you get (zoom-in). * When the number of points to render falls below a certain threshold, the values are no longer rendered as cells but as points. * The query level should be no greater than 20. * - `binningMethod` - Selects the algorithm. * The default value is 0. * One of: * * 0: Adaptive grid * * 1: Hexagonal grid * * 2: Uniform grid * * Stability: *locked* */ getHyperCubeBinnedData: (path: string, pages: NxPage[], viewport: NxViewPort, dataRanges: NxDataAreaPage[], maxNbrCells: number, queryLevel: number, binningMethod: number) => Promise; /** * Retrieves and packs compressed hypercube and axis data. It is possible to retrieve specific pages of data. *
Binning is done on the time stamp data as well as the date. This means that you can zoom in to a level of granularity as low as seconds.
* * Parameters: * * - `path` - Path to the definition of the object. * For example, _/qHyperCubeDef_ . * - `options` - Defines the data to return. * - `reverseSort` - If set to true the returned data pages are reverse sorted. * Optional. * * Stability: *locked* */ getHyperCubeContinuousData: (path: string, options: NxContinuousDataOptions, reverseSort?: boolean) => Promise; /** * Retrieves the calculated data for a chart, a table, or a scatter plot. It is possible to retrieve specific pages of data. *
This method works for a hypercube in DATA_MODE_STRAIGHT.
* A data set is returned. * * ### Limitations on the number of cells * The maximum for the combined total number of cells across all pages is: * * 10,000 cells. If this limit is exceeded, a calc-pages-too-large error with code 7009 is returned. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `pages` - Array of pages to retrieve. * * Stability: *locked* */ getHyperCubeData: (path: string, pages: NxPage[]) => Promise; /** * Retrieves the values of a pivot table. It is possible to retrieve specific pages of data. *
This method works for a hypercube in DATA_MODE_PIVOT.
* * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `pages` - Array of pages to retrieve. * * Stability: *locked* */ getHyperCubePivotData: (path: string, pages: NxPage[]) => Promise; /** * Reduces the data of a bar chart, a line chart or a scatter plot chart and retrieves them. * The reduction is dependent on the zoom factor (parameter _qZoomFactor_ ) and on the reduction mode. *
This method can be used to create mini charts.
* * ### Bar chart or line chart data reduction * For the data reduction to happen, the following conditions must be fulfilled: * * The values cannot fit in the defined page (parameter _qPages_ ). * * The zoom factor is not 0 (parameter _qZoomFactor_ ). * * The reduction mode must be set to D1. * * The reduction algorithm keeps the shape of the visualizations and works whatever the number of dimensions in the chart. The global profile of the chart is reduced, and not only a specific dimension. A visualization that has been reduced contains fewer values but its shape is the same. Data of all types can be reduced. Therefore it is hard to relate the values before and after a reduction especially when reducing string values. * * ### Example * If you have a chart with 1 million data, and you have set the zoom factor to 5, the _GetHyperCubeReducedData_ method reduces the chart and retrieves 200 000 data. * * ### Scatter plot chart data reduction * The reduction mode must be set to C. * This reduction mechanism follows the 2D K-Means algorithm. Data are reduced into a number of clusters. Each data is assigned to a specific centroid. * The number of centroids can be defined in the parameter _qZoomFactor_. * * ### Scatter plot chart resolution reduction * The reduction mode must be set to S. * The resolution is reduced according to the zoom factor (parameter _qZoomFactor_ ). * * ### Example * If you have a scatter plot chart and the zoom factor is set to 2, the scatter plot chart resolution is reduced by 4. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `pages` - Array of pages. * - `zoomFactor` - Defines the zoom factor. * If set to -1, the engine decides of the zoom factor. * * If the reduction mode is _D1_ or _S_ , the zoom factor is 2ⁿ. If the zoom factor is 5, the data are reduced by a factor 32. * * If the reduction mode is _C_ , the zoom factor defines the number of centroids. * - `reductionMode` - Defines the reduction mode. * * One of: * * N or DATA_REDUCTION_NONE * * D1 or DATA_REDUCTION_ONEDIM * * S or DATA_REDUCTION_SCATTERED * * C or DATA_REDUCTION_CLUSTERED * * ST or DATA_REDUCTION_STACKED * * Stability: *locked* */ getHyperCubeReducedData: (path: string, pages: NxPage[], zoomFactor: number, reductionMode: string) => Promise; /** * Retrieves the values of a stacked pivot table. It is possible to retrieve specific pages of data. *
This method works for a hypercube in DATA_MODE_PIVOT_STACK.
* * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `pages` - Array of pages to retrieve. * - `maxNbrCells` - Maximum number of cells at outer level. * The default value is 10 000. * * Stability: *locked* */ getHyperCubeStackData: (path: string, pages: NxPage[], maxNbrCells?: number) => Promise; /** * Retrieves data for nodes in a tree structure. It is possible to retrieve specific pages of data. *
This method works for a treedata object or a hypercube in DATA_MODE_TREE.
* * Parameters: * * - `path` - Path to the definition of the object to be selected. * - `nodeOptions` - Specifies all the paging filters needed to define the tree to be fetched. If left out the complete tree is returned. * * Stability: *stable* */ getHyperCubeTreeData: (path: string, nodeOptions?: NxTreeDataOption) => Promise; /** * Returns the type and identifier of the object. * * Stability: *locked* */ getInfo: () => Promise; /** * Evaluates an object and displays its properties including the dynamic properties. * If the member _delta_ is set to true in the request object, only the delta is evaluated. A _GetLayout_ call on a generic object, returns up to one level down in the hierarchy. * * ### Example: * _A_ is a generic object and is the parent of the objects B and C. _B_ is the parent of the objects D and E. * A _GetLayout_ call on A returns information on the objects A, B and C. * A _GetLayout_ call on B returns information on the objects B, D and E. * A _GetLayout_ call on C returns information on the object C. *
* In addition to the parameters displayed above, the **GetLayout** method can return other properties according to what is defined in the generic object. * For example, if **qHyperCubeDef** is defined in the generic object, the **GetLayout** method returns the properties described in _HyperCube_. *
* * Stability: *locked* */ getLayout: () => Promise; /** * Lists the linked objects to a generic object, a dimension or a measure. * * Stability: *locked* */ getLinkedObjects: () => Promise; /** * Retrieves the values of a list object. * A data set is returned. * * ### Limitations on the number of cells * The maximum for the combined total number of cells across all pages is: * * 10,000 cells. If this limit is exceeded, a calc-pages-too-large error with code 7009 is returned. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qListObjectDef_ . * - `pages` - Array of pages you are interested in. * * Stability: *locked* */ getListObjectData: (path: string, pages: NxPage[]) => Promise; /** * Returns the type of the object and the corresponding handle to the parent object in the hiearchy. * * Stability: *locked* */ getParent: () => Promise; /** * Returns the identifier, the type and the properties of the object. * Because it is not mandatory to set all properties when you define an object, the _GetProperties_ method may show properties that were not set. In that case, default values are given. * If the object contains some soft properties, the soft properties are not returned by the _GetProperties_ method. Use the _GetEffectiveProperties method_ instead. * If the object is linked to another object, the properties of the linking object are not returned by the _GetProperties_ method. Use the _GetEffectiveProperties method_ instead. *
The properties depends on the generic object type, see [properties](genericobject-layout.html).
*
If the member delta is set to true in the request object, only the delta is retrieved.
* * Stability: *locked* */ getProperties: () => Promise; /** * Returns the type of the object and the corresponding handle. * * Stability: *locked* */ getSnapshotObject: () => Promise; /** * Locks the selected values of a generic object. * * Parameters: * * - `path` - Path to the definition of the object. * For example, _/qListObjectDef_ . * - `colIndices` - Dimension numbers or dimension indexes where the lock should apply. * Dimension numbers/indexes start from 0. * If this parameter is not set, the selected values in all dimensions are locked. * * Stability: *locked* */ lock: (path: string, colIndices?: number[]) => Promise; /** * Makes multiple range selections in measures. *
This method applies to hypercubes. For example, bar charts, tables and scatter plots.
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains some invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `ranges` - Ranges of selections. * - `orMode` - Applies to hypercubes with multiple measures. * If set to true, it means that at least one of the measures must be in the range of selections for the group of measures to be selected. * If set to false, it means that all measures must be in the range of selections for the group of measures to be selected. * The default value is false. * - `deselectOnlyOneSelected` - Set this parameter to true to unselect the last single selected value. There must be only one selected value in the field. * The default value is false. * * Stability: *locked* */ multiRangeSelectHyperCubeValues: (path: string, ranges: NxMultiRangeSelectInfo[], orMode?: boolean, deselectOnlyOneSelected?: boolean) => Promise; multiRangeSelectTreeDataValues: (path: string, ranges: NxTreeMultiRangeSelectInfo[], orMode?: boolean, deselectOnlyOneSelected?: boolean) => Promise; /** * Publishes a generic object. *
This operation is not applicable for Qlik Sense Desktop.
* * Stability: *locked* */ publish: () => Promise; /** * Makes range selections in measures. *
This method applies to hypercubes. For example, bar charts, tables and scatter plots.
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains some invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `ranges` - Ranges of selections. * - `columnsToSelect` - Indicates which dimensions to select. * The dimensions numbering starts at 0 (first dimension is 0). * If the array is empty, all dimensions are selected. * - `orMode` - Applies to hypercubes with multiple measures. * If set to true, it means that at least one of the measures must be in the range of selections for the group of measures to be selected. * If set to false, it means that all measures must be in the range of selections for the group of measures to be selected. * The default value is false. * - `deselectOnlyOneSelected` - Set this parameter to true to unselect the last single selected value. There must be only one selected value in the field. * The default value is false. * * Stability: *locked* */ rangeSelectHyperCubeValues: (path: string, ranges: NxRangeSelectInfo[], columnsToSelect?: number[], orMode?: boolean, deselectOnlyOneSelected?: boolean) => Promise; /** * You can use the RemoveGroup method with any object that contains an object grouping definition. * This method allows you to remove a group of objects directly. * This action only removes the group, not any of its members. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example _/qNxGroupDef_ . * - `groupId` - Name of the group to be removed. * May not be an empty string. * * Stability: *experimental* */ removeGroup: (path: string, groupId: string) => Promise; /** * You can use the RemoveGroupMembers method with any object that contains an object grouping definition. * This method allows you to remove one or more members from an existing group of objects directly. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example _/qNxGroupDef_ . * - `members` - Array of IDs for the objects and/or subgroups to remove from the group. * - `targetGroupId` - Name of the group the Members will be removed from (if not the called object). * * Stability: *experimental* */ removeGroupMembers: (path: string, members: string[], targetGroupId?: string) => Promise; /** * Resets all selections made in selection mode. * * Stability: *locked* */ resetMadeSelections: () => Promise; /** * Searches for a string in a list object. *
This method applies to list objects (objects with one dimension).
The search results can be displayed using the _GetLayout Method_.
* *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `path` - Path to the definition of the list object. * For example, _/qListObjectDef_ . * - `match` - Search string. * Wild card characters are allowed. The search is not case sensitive. * Examples: * * `P*U*`: retrieves only values that start with P and contain U * * `P U S`: retrieves values that start with P, U or S * * Stability: *locked* */ searchListObjectFor: (path: string, match: string) => Promise; /** * Makes selections in multiple dimensions and measures. *
This method applies to hypercubes, such as bar charts, tables and scatter plots.
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains some invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `rowIndices` - Array of row indexes to select, starting from 0. * If the array is empty _[ ]_ , all rows are selected. * - `colIndices` - Indexes of the columns to select, starting from 0. * A column corresponds to a dimension in the order they are added to the hypercube. * If a column is hidden it is ignored, qColIndex n refers to the n:th visible column (starting from zero). * Example: * If the hypercube has two dimensions: * * [0] selects the first column (i.e the first dimension). * * [1] selects the second column (i.e the second dimension). * * If the array is empty _[ ]_ , all columns are selected. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * - `deselectOnlyOneSelected` - Set this parameter to true to unselect the last single selected value. There must be only one selected value in the field. * The default value is false. * * Stability: *locked* */ selectHyperCubeCells: (path: string, rowIndices: number[], colIndices: number[], softLock?: boolean, deselectOnlyOneSelected?: boolean) => Promise; /** * The following is returned in the output: *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `path` - Path to the definition of the object. * For example, _/qHyperCubeDef_ . * - `ranges` - Selects ranges in a hypercube in (Ranges[N].Min,Ranges[N].Max) intervals. * If either Ranges[N].MinInclEq or Ranges[N].MaxInclEq, or both flags are set to _true_ then _Min_ and _Max_ values will be selected. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectHyperCubeContinuousRange: (path: string, ranges: NxContinuousRangeSelectInfo[], softLock?: boolean) => Promise; /** * Selects some values in one dimension. * The values are identified by their element numbers. *
This method applies to charts, tables and scatter plots.
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains some invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `dimNo` - Dimension number or index to select. * Dimension numbers/index start from 0. * - `values` - Element numbers of the field to select. * You can select multiple elements; the separator is the comma. * - `toggleMode` - Set to true to toggle. * * Stability: *locked* */ selectHyperCubeValues: (path: string, dimNo: number, values: number[], toggleMode: boolean) => Promise; /** * Selects all values of a field. *
This method applies to list objects (objects with one dimension).
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains some invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qListObjectDef_ . * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectListObjectAll: (path: string, softLock?: boolean) => Promise; /** * Selects all alternative values in a specific field. *
This method applies to list objects (objects with one dimension).
If a field contains at least one selected value, the values that are neither selected nor excluded are alternatives values.
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains some invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qListObjectDef_ . * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectListObjectAlternative: (path: string, softLock?: boolean) => Promise; /** * The following is returned in the output: *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `path` - Path to the definition of the object. * For example, _/qHyperCubeDef_ . * - `ranges` - Selects ranges in a hypercube in (Ranges[N].Min,Ranges[N].Max) intervals. * If either Ranges[N].MinInclEq or Ranges[N].MaxInclEq, or both flags are set to _true_ then _Min_ and _Max_ values will be selected. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectListObjectContinuousRange: (path: string, ranges: QRange[], softLock?: boolean) => Promise; /** * Inverts the current selections in a specific field. *
This method applies to list objects (objects with one dimension).
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains some invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qListObjectDef_ . * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectListObjectExcluded: (path: string, softLock?: boolean) => Promise; /** * Selects all possible values of a list object. *
This method applies to list objects (objects with one dimension).
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qListObjectDef_ . * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectListObjectPossible: (path: string, softLock?: boolean) => Promise; /** * Makes single selections in dimensions. *
This method applies to list objects only.
* The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qListObjectDef_ . * - `values` - Element numbers to select. * You can select multiple values; the separator is the comma. * - `toggleMode` - Set to true to toggle. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * The default value is false. * * Stability: *locked* */ selectListObjectValues: (path: string, values: number[], toggleMode: boolean, softLock?: boolean) => Promise; /** *
This method only applies to hypercubes that are not represented as straight tables. The parameter _qMode_ in _HyperCubeDef_ must be set either to _P_ or _K_ .
* * ### Pivot table * Makes selections in the top or left dimension cells of a pivot table or in the data matrix. Only expanded dimensions can be selected. * * ### Stacked table * Makes selections in the left dimension cells of a stacked table or in the data matrix. *
There is no top dimensions in a stacked table. A stacked table can only contain one measure.
* * The member **Change** returns the handles of the objects that are updated following the selections. * _qSuccess_ is set to _true_ if the selections are successful and is set to _false_ in the following cases: * * The object contains some invalid fields (fields that are not in the data model). * * The selection applies to a locked field. * * A range selection is performed and the parameter _OneAndOnlyOne_ is set to true in the definition of the object. * * Parameters: * * - `path` - Path to the definition of the object. * For example, _/qHyperCubeDef_ . * - `selections` - Information about the selections to perform. * - `softLock` - Set to true to ignore locks; in that case, locked fields can be selected. * - `deselectOnlyOneSelected` - Set this parameter to true to unselect the last single selected value. There must be only one selected value in the field. * The default value is false. * * Stability: *locked* */ selectPivotCells: (path: string, selections: NxSelectionCell[], softLock?: boolean, deselectOnlyOneSelected?: boolean) => Promise; /** * You can use the SetActiveField method with any object that contains a cyclic group as a dimension. * This method allows you to jump to a specific field in a cyclic dimension. If NewIndex is out-of-bounds of the dimension's fields then no action is taken. * A hypercube will avoid field collisions with its other dimensions when setting the active field in this manner. If there are any collisions then no action is performed. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `dimNo` - Dimension number or index starting from 0. * The default value is 0. * - `newIndex` - Index of the field to jump to. * * Stability: *experimental* */ setActiveField: (path: string, dimNo: number, newIndex: number) => Promise; /** * Sets the order of the children in a generic object. *
To change the order of the children in a generic object, the identifiers of all the children must be included in the list of the identifiers (in _qIds_ ).
* * Parameters: * * - `ids` - List of the children identifiers. * * Stability: *locked* */ setChildArrayOrder: (ids: string[]) => Promise; /** * Sets the properties of: * * A generic object. * * The children of the generic object. * * The bookmarks/embedded snapshots of the generic object. * *
If the _SetFullPropertyTree method_ is asked to set some properties to a child that does not exist, it creates the child.
The type of an object cannot be updated.
* * Parameters: * * - `propEntry` - Information about the generic object entry. * * Stability: *locked* */ setFullPropertyTree: (propEntry: GenericObjectEntry) => Promise; /** * You can use the SetGroupLabel method with any object that contains an object grouping definition. * This method allows you to change the label of an existing group of objects directly. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example _/qNxGroupDef_ . * - `newLabel` - New label for the group. * A label starting with an '=' will be evaluated as an expression. * - `targetGroupId` - Id of the group whose label will be set (if not the called object). * * Stability: *experimental* */ setGroupLabel: (path: string, newLabel: string, targetGroupId?: string) => Promise; /** * Sets some properties for a generic object. *
The properties depends on the generic object type, see [properties](genericobject-property.html).
* * Parameters: * * - `prop` - Information about the generic object. * * Stability: *locked* */ setProperties: (prop: CustomProperties) => Promise; /** * You can use the StepCycle method with any object that contains a cyclic group as a dimension. * This method allows you to move between different fields in a cyclic dimension. * A hypercube will avoid field collisions with its other dimensions when cycling in this manner. If all other fields cause collisions then no cycling is performed. * * Parameters: * * - `path` - Path to the definition of the object to be selected. * For example, _/qHyperCubeDef_ . * - `dimNo` - Dimension number or index starting from 0. * The default value is 0. * - `nbrSteps` - Number of steps you want to cycle. * Positive values cycle forwards while negative values cycle backwards. A value of 0 leads to no action being taken. * * Stability: *experimental* */ stepCycle: (path: string, dimNo: number, nbrSteps: number) => Promise; /** * Removes the generic object from the list of approved objects *
This operation is possible only in Qlik Sense Enterprise.
* * Stability: *locked* */ unApprove: () => Promise; /** * Unpublishes a generic object. *
This operation is not applicable for Qlik Sense Desktop.
* * Stability: *locked* */ unPublish: () => Promise; /** * Unlocks the selected values of a generic object if the target (or handle ) is a generic object * * Parameters: * * - `path` - Path to the definition of the object. * For example, _/qListObjectDef_ . * - `colIndices` - Dimension numbers/indexes where the unlock should apply. * Dimension numbers/indexes start from 0. * If this parameter is not set, the locked values in all dimensions are unlocked. * * Stability: *locked* */ unlock: (path: string, colIndices?: number[]) => Promise; }; type NativeGenericVariableFunctions = { /** * Applies a patch to the properties of a variable. Allows an update to some of the properties. It should not be possible to patch "/qInfo/qId", * and it will be forbidden in the near future. *
Applying a patch takes less time than resetting all the properties.
* * Parameters: * * - `patches` - Array of patches. * * Stability: *locked* */ applyPatches: (patches: NxPatch[]) => Promise; /** * Returns the type and identifier of the object. * * Stability: *locked* */ getInfo: () => Promise; /** * Evaluates an object and displays its properties including the dynamic properties. * If the member _delta_ is set to true in the request object, only the delta is evaluated. * * Stability: *locked* */ getLayout: () => Promise; /** * Shows the properties of an object. *
If the member **delta** is set to true in the request, only the delta is retrieved.
* The following is always returned in the output: * * Stability: *locked* */ getProperties: () => Promise; /** * Returns the raw value of a variable. * * Stability: *locked* */ getRawContent: () => Promise; /** * Sets the value of a dual variable. *
These changes are not persistent. They only last the duration of the engine session.
* * Parameters: * * - `text` - String representation of a dual value. Set this parameter to "", if the string representation is to be Null. * - `num` - Numeric representation of a dual value. * * Stability: *locked* */ setDualValue: (text: string, num: number) => Promise; /** * Sets a numerical value to a variable. *
These changes are not persistent. They only last the duration of the engine session.
* * Parameters: * * - `val` - Value of the variable. * * Stability: *locked* */ setNumValue: (val: number) => Promise; /** * Sets some properties for a variable. *
The identifier of a variable cannot be modified.
You cannot update the properties of a script-defined variable using the _SetProperties method_.
* * Parameters: * * - `prop` - Information about the variable. * * Stability: *locked* */ setProperties: (prop: GenericVariableProperties) => Promise; /** * Sets a string value to a variable. *
These changes are not persistent. They only last the duration of the engine session.
* * Parameters: * * - `val` - Value of the variable. The string can contain an expression. * * Stability: *locked* */ setStringValue: (val: string) => Promise; }; type NativeGlobalFunctions = { /** * Sets an abort flag on all pending and ongoing requests in the current engine session. * * If an abort flag is set on a pending request, the request is aborted. * * If an abort flag is set on an ongoing request, the engine checks to see if it is possible to abort the request. * * Stability: *locked* */ abortAll: () => Promise; /** * Sets an abort flag on a specific request in the current engine session. * * If an abort flag is set on a pending request, the request is aborted. * * If an abort flag is set on an ongoing request, the engine checks to see if it is possible to abort the request. * * Parameters: * * - `requestId` - Identifier of request to abort. * * Stability: *locked* */ abortRequest: (requestId: number) => Promise; /** * Indicates whether or not a user is able to create an app. * * Stability: *locked* */ allowCreateApp: () => Promise; /** * Cancels an ongoing reload. The reload of the app is stopped. The indexation can be canceled and _true_ is still the return value of the reload task. * * Parameters: * * - `reason` - Reason for why the reload was cancelled. This will be echoed back to the user in the script log. * * Stability: *locked* */ cancelReload: (reason?: string) => Promise; /** * Cancels an ongoing request. The request is stopped. * * Parameters: * * - `requestId` - Identifier of the request to stop. * * Stability: *locked* */ cancelRequest: (requestId: number) => Promise; /** * Configures the engine's behavior during a reload. *
The _ConfigureReload method_ should be run before the _DoReload method_.
* * Parameters: * * - `cancelOnScriptError` - If set to true, the script execution is halted on error. * Otherwise, the engine continues the script execution. * This parameter is relevant only if the variable _ErrorMode_ is set to 1. * - `useErrorData` - If set to true, any script execution error is returned in _qErrorData_ by the _GetProgress method_. * - `interactOnError` - If set to true, the script execution is halted on error and the engine is waiting for an interaction to be performed. If the result from the interaction is 1 (_qDef.qResult_ is 1), the engine continues the script execution otherwise the execution is halted. * This parameter is relevant only if the variable _ErrorMode_ is set to 1 and the script is run in debug mode (_qDebug_ is set to true when calling the _DoReload method_). * * Stability: *locked* */ configureReload: (cancelOnScriptError: boolean, useErrorData: boolean, interactOnError: boolean) => Promise; /** * Copies an app that is in the Qlik Sense repository. * The engine copies the app into an app entity that was previously created by the repository. *
This operation is possible only in Qlik Sense Enterprise.
* * Parameters: * * - `targetAppId` - Identifier (GUID) of the app entity in the Qlik Sense repository. * The app entity must have been previously created by the Qlik Sense Repository Service (QRS) API. * - `srcAppId` - Identifier (GUID) of the source app in the Qlik Sense repository. * - `ids` - Array of QRS identifiers. * The list of all objects in the app to be copied must be given. This list must contain the GUIDs of all these objects. * If the list of the QRS identifiers is empty, the _CopyApp_ method copies all objects to the target app. * Script-defined variables are automatically copied when copying an app. To be able to copy variables not created via script, the GUID of each variable must be provided in the list of QRS identifiers. * To get the QRS identifiers of the objects in an app, you can use the QRS API. The GET method (from the QRS API) returns the identifiers of the objects in the app. * The following example returns the QRS identifiers of all the objects in a specified app: * GET /qrs/app/9c3f8634-6191-4a34-a114-a39102058d13 * Where * _9c3f8634-6191-4a34-a114-a39102058d13_ is the identifier of the app. * * Stability: *locked* */ copyApp: (targetAppId: string, srcAppId: string, ids: string[]) => Promise; /** * Creates an app. * *
The operation is successful if **qSuccess** is set to true.
* * ### Logs * When this method is called, audit activity logs are produced to track the user activity. * In the case of errors, both audit activity logs and system services logs are produced. * The log files are named as follows: * * * * * * * * * * * *
Audit activity logSystem service log
<MachineName>_AuditActivity_Engine.txt in Qlik Sense Enterprise
<MachineName>_AuditActivity_Engine.log in Qlik Sense Desktop
<MachineName>_ServiceEngine.txt in Qlik Sense Enterprise
<MachineName>_ServiceEngine.log in Qlik Sense Desktop
* * ### Where to find the log files * The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop. * * * * * * * * * * * *
Qlik Sense Enterprise Qlik Sense Desktop
%ProgramData%/Qlik/Sense/Log/Engine%UserProfile%/Documents/Qlik/Sense/Log
* * Parameters: * * - `appName` - Name of the app. * - `localizedScriptMainSection` - Name of the first section in the script editor. * The default value is _Main_. * - `locale` - Set custom locale for the app instead of system default. * * Stability: *locked* */ createApp: (appName: string, localizedScriptMainSection?: string, locale?: string) => Promise; /** * Creates an app and opens an engine session. *
This operation is possible only in Qlik Sense Desktop.
* * Parameters: * * - `docName` - Name of the app. * - `userName` - Name of the user. * - `password` - Password of the user. * - `serial` - Current Qlik Sense serial number. * - `localizedScriptMainSection` - Name of the first section in the script editor. * The default value is _Main_. * * Stability: *locked* */ createDocEx: (docName: string, userName?: string, password?: string, serial?: string, localizedScriptMainSection?: string) => Promise; /** * Creates an empty session app. * The following applies: * * The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app. * * A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections. * * Stability: *locked* */ createSessionApp: () => Promise; /** * Creates a session app from a source app. * The following applies: * * The objects in the source app are copied into the session app. * * There is no data in the session app, unless it is reloaded. * * The script of the session app can be edited and reloaded. * * The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app. * * A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections. * * Parameters: * * - `srcAppId` - App identifier of the source app. * It corresponds to _qAppId_ returned by the _CreateApp method_ when creating the source app. * * Stability: *locked* */ createSessionAppFromApp: (srcAppId: string) => Promise; /** * Deletes an app from the Qlik Sense repository or from the file system. * * #### Qlik Sense Enterprise * In addition to being removed from the repository, the app is removed from the directory as well: * *<installation_directory>\Qlik\Sense\Apps* * The default installation directory is _ProgramData_. * * #### Qlik Sense Desktop * The app is deleted from the directory _%userprofile%\Documents\Qlik\ \Apps_. * *
The operation is successful if **qSuccess** is set to true.
* * #### Logs * When this method is called, audit activity logs are produced to track the user activity. * In the case of errors, both audit activity logs and system services logs are produced. * The log files are named as follows: * * * * * * * * * * * *
Audit activity logSystem service log
<MachineName>AuditActivityEngine.txt in Qlik Sense Enterprise <MachineName>AuditActivityEngine.log in Qlik Sense Desktop<MachineName>ServiceEngine.txt in Qlik Sense Enterprise <MachineName>ServiceEngine.log in Qlik Sense Desktop
* * #### Where to find the log files * The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop. * * * * * * * * * * * *
Qlik Sense Enterprise Qlik Sense Desktop
%ProgramData%/Qlik/Sense/Log/Engine%UserProfile%/Documents/Qlik/Sense/Log
* * Parameters: * * - `appId` - Identifier of the app to delete. * In Qlik Sense Enterprise, the identifier of the app is a GUID in the Qlik Sense repository. * In Qlik Sense Desktop, the identifier of the app is the name of the app, as defined in the apps folder _%userprofile%\Documents\Qlik\Sense\Apps_. * * Stability: *locked* */ deleteApp: (appId: string) => Promise; /** * Returns the version number of the Qlik engine component. * * Stability: *locked* */ engineVersion: () => Promise; /** * Exports an app from the Qlik Sense repository to the file system. *
This operation is possible only in Qlik Sense Enterprise.
* *
The operation is successful if **qSuccess** is set to true.
* * #### Logs * When this method is called, audit activity logs are produced to track the user activity. * In the case of errors, both audit activity logs and system services logs are produced. * The log files are named as follows: * * * * * * * * * * * *
Audit activity logSystem service log
*<MachineName>_AuditActivityEngine.txt**<MachineName>_ServiceEngine.txt*
* * The log files are located in: * _%ProgramData%/Qlik/Sense/Log/Engine_ * * Parameters: * * - `targetPath` - Path and name of the target app. * - `srcAppId` - Identifier of the source app. The identifier is a GUID from the Qlik Sense repository. * - `ids` - Array of identifiers. * The list of all the objects in the app to be exported must be given. This list must contain the GUIDs of all these objects. * - `noData` - Set this parameter to true if the data should be omitted in the exported app. * * Stability: *locked* */ exportApp: (targetPath: string, srcAppId: string, ids: string[], noData?: boolean) => Promise; /** * Returns the handle of the current app. * * Stability: *locked* */ getActiveDoc: () => Promise; /** * Retrieves the meta data of an app. * * Parameters: * * - `appID` - Identifier of the app, as returned by the _CreateApp method_. * One of: * * Path and name of the app (Qlik Sense Desktop) * * GUID (Qlik Sense Enterprise) * * Stability: *locked* */ getAppEntry: (appID: string) => Promise; /** * Retrieves information about the authenticated user. * * Stability: *locked* */ getAuthenticatedUser: () => Promise; /** * Gets the current Backus-Naur Form (BNF) grammar of the Qlik engine scripting language. The BNF rules define the syntax for the script statements and the script or chart functions. * In the Qlik engine BNF grammar, a token is a string of one or more characters that is significant as a group. For example, a token could be a function name, a number, a letter, a parenthesis, and so on. * * Parameters: * * - `bnfType` - Returns a set of rules defining the syntax for: * * The script statements and the script functions if _qBnfType_ is set to S. * * The chart functions if _qBnfType_ is set to E. * * One of: * * S or SCRIPT_TEXT_SCRIPT * * E or SCRIPT_TEXT_EXPRESSION * * @deprecated: Use the _GetBaseBNF_ method instead * * Stability: *locked* */ getBNF: (bnfType: string) => Promise; /** * Gets the current Backus-Naur Form (BNF) grammar of the Qlik engine scripting language, as well as a string hash calculated from that grammar. The BNF rules define the syntax for the script statements and the script or chart functions. If the hash changes between subsequent calls to this method, this indicates that the BNF has changed. * In the Qlik engine grammars, a token is a string of one or more characters that is significant as a group. For example, a token could be a function name, a number, a letter, a parenthesis, and so on. * * Parameters: * * - `bnfType` - The type of grammar to return: * * The script statements and the script functions if _qBnfType_ is set to S. * * The chart functions if _qBnfType_ is set to E. * * One of: * * S or SCRIPT_TEXT_SCRIPT * * E or SCRIPT_TEXT_EXPRESSION * * Stability: *locked* */ getBaseBNF: (bnfType: string) => Promise; /** * Gets a string hash calculated from the current Backus-Naur Form (BNF) grammar of the Qlik engine scripting language. If the hash changes between subsequent calls to this method, this indicates that the BNF grammar has changed. * * Parameters: * * - `bnfType` - The type of grammar to return: * * The script statements and the script functions if _qBnfType_ is set to S. * * The chart functions if _qBnfType_ is set to E. * * One of: * * S or SCRIPT_TEXT_SCRIPT * * E or SCRIPT_TEXT_EXPRESSION * * Stability: *locked* */ getBaseBNFHash: (bnfType: string) => Promise; /** * Gets the current Backus-Naur Form (BNF) grammar of the Qlik engine scripting language, as well as a string hash calculated from that grammar. The BNF rules define the syntax for the script statements and the script or chart functions. If the hash changes between subsequent calls to this method, this indicates that the BNF has changed. * In the Qlik engine grammars, a token is a string of one or more characters that is significant as a group. For example, a token could be a function name, a number, a letter, a parenthesis, and so on. * * Parameters: * * - `bnfType` - The type of grammar to return: * * S: returns the script statements and the script functions. * * E: returns the chart functions. * * One of: * * S or SCRIPT_TEXT_SCRIPT * * E or SCRIPT_TEXT_EXPRESSION * * Stability: *locked* */ getBaseBNFString: (bnfType: string) => Promise; /** * List the custom connectors available in the system. * * Parameters: * * - `reloadList` - Sets if the list of custom connectors should be reloaded or not. * If set to false, only the connectors that were returned the previous time are returned. If new connectors have been added since the last call to the _GetCustomConnectors_ method was made, the new connectors are not returned. * If set to true, the _GetCustomConnectors_ method looks for new connectors in the file system. * The default value is false. * * Stability: *locked* */ getCustomConnectors: (reloadList?: boolean) => Promise; /** * Lists the databases in a ODBC, OLEDB or CUSTOM data source. * * Parameters: * * - `connection` - Information about the connection. * * Stability: *locked* */ getDatabasesFromConnectionString: (connection: Connection) => Promise; /** * Returns the folder where the apps are stored. *
This method applies only if running Qlik Sense Desktop.
* * Stability: *locked* */ getDefaultAppFolder: () => Promise; /** * Returns the list of apps. * * **In Qlik Sense Enterprise:** * * The list is generated by the QRS. The GetDocList method only returns documents the current user is allowed to access. * * **In Qlik Sense Desktop:** * * The apps are located in _C:\Users\<user name>\Documents\Qlik\Sense\Apps_. * * Stability: *locked* */ getDocList: () => Promise; /** * Returns the files and folders located at a specified path. * * Parameters: * * - `path` - Absolute or relative path. * Relative paths are relative to the default _Apps_ folder. * * **In Qlik Sense Enterprise:** * * The list is generated by the QRS. The GetDocList method only returns documents the current user is allowed to access. * * **In Qlik Sense Desktop:** * * The apps are located in _C:\Users\<user name>\Documents\Qlik\Sense\Apps_. * * Stability: *locked* */ getFolderItemsForPath: (path: string) => Promise; /** * Gets the list of all the script functions. * * Parameters: * * - `group` - Name of the group. * Default is all groups. * * One of: * * ALL or FUNC_GROUP_ALL * * U or FUNC_GROUP_UNKNOWN * * NONE or FUNC_GROUP_NONE * * AGGR or FUNC_GROUP_AGGR * * NUM or FUNC_GROUP_NUMERIC * * RNG or FUNC_GROUP_RANGE * * EXP or FUNC_GROUP_EXPONENTIAL_AND_LOGARITHMIC * * TRIG or FUNC_GROUP_TRIGONOMETRIC_AND_HYPERBOLIC * * FIN or FUNC_GROUP_FINANCIAL * * MATH or FUNC_GROUP_MATH_CONSTANT_AND_PARAM_FREE * * COUNT or FUNC_GROUP_COUNTER * * STR or FUNC_GROUP_STRING * * MAPP or FUNC_GROUP_MAPPING * * RCRD or FUNC_GROUP_INTER_RECORD * * CND or FUNC_GROUP_CONDITIONAL * * LOG or FUNC_GROUP_LOGICAL * * NULL or FUNC_GROUP_NULL * * SYS or FUNC_GROUP_SYSTEM * * FILE or FUNC_GROUP_FILE * * TBL or FUNC_GROUP_TABLE * * DATE or FUNC_GROUP_DATE_AND_TIME * * NUMI or FUNC_GROUP_NUMBER_INTERPRET * * FRMT or FUNC_GROUP_FORMATTING * * CLR or FUNC_GROUP_COLOR * * RNK or FUNC_GROUP_RANKING * * GEO or FUNC_GROUP_GEO * * EXT or FUNC_GROUP_EXTERNAL * * PROB or FUNC_GROUP_PROBABILITY * * ARRAY or FUNC_GROUP_ARRAY * * LEG or FUNC_GROUP_LEGACY * * DB or FUNC_GROUP_DB_NATIVE * * WINDOW or FUNC_GROUP_WINDOW * * Stability: *locked* */ getFunctions: (group?: string) => Promise; /** * Retrieves information on the user interaction that is requested by the engine. * Engine can request user interactions only during script reload and when the reload is performed in debug mode ( _qDebug_ is set to true when using the _DoReload method_ ). * When running reload in debug mode, the engine pauses the script execution to receive data about user interaction. The engine can pause: * * Before executing a new script statement. * * When an error occurs while executing the script. * * When the script execution is finished. * * To know if the engine is paused and waits for a response to an interaction request, the _GetProgress method_ should be used. The engine waits for a response if the property _qUserInteractionWanted_ is set to true in the response of the _GetProgress_ request. * * Parameters: * * - `requestId` - Identifier of the request. * Corresponds to the identifier of the _DoReload_ request. * * Stability: *locked* */ getInteract: (requestId: number) => Promise; /** * Lists the logical drives in the system. *
This method applies only if running Qlik Sense Desktop.
* * Stability: *locked* */ getLogicalDriveStrings: () => Promise; /** * Returns the list of the ODBC connectors that are installed in the system. * * Stability: *locked* */ getOdbcDsns: () => Promise; /** * Returns the list of the OLEDB providers installed on the system. * * Stability: *locked* */ getOleDbProviders: () => Promise; /** * Gives information about the progress of the _DoReload_ and _DoSave_ calls. *
For more information on DoReload and DoSave, see the _DoReload Method_ and _DoSave Method_.
* * Parameters: * * - `requestId` - Identifier of the _DoReload_ or _DoSave_ request or 0. * Complete information is returned if the identifier of the request is given. * If the identifier is 0, less information is given. Progress messages and error messages are returned but information like when the request started and finished is not returned. * * Stability: *locked* */ getProgress: (requestId: number) => Promise; /** * Lists the streams. * * @deprecated: Use general purpose endpoint in [QRS API: GET qrs/stream/](/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Get.htm) instead. * * Stability: *locked* */ getStreamList: () => Promise; /** * Lists the supported code pages. * * Stability: *locked* */ getSupportedCodePages: () => Promise; /** * Returns the unique identifier of the endpoint for the current user in the current app. *
This unique identifier can be used for logging purposes.
* * Stability: *locked* */ getUniqueID: () => Promise; /** * Informs the engine that a user interaction (which was earlier requested by the engine) was performed and indicates to the engine what to do next. * * Parameters: * * - `requestId` - Identifier of the request. * Corresponds to the identifier of the _DoReload_ request. * - `def` - User response to the current interaction. * * Stability: *locked* */ interactDone: (requestId: number, def: InteractDef) => Promise; /** * Indicates whether the user is working in Qlik Sense Desktop. * * Stability: *locked* */ isDesktopMode: () => Promise; /** * Indicates whether or not the user is working in personal mode (Qlik Sense Desktop). * * @deprecated: Use _IsDesktopMode_ method instead * * Stability: *locked* */ isPersonalMode: () => Promise; /** * Checks if a connection string is valid. * * Parameters: * * - `connection` - Information about the connection. * * Stability: *locked* */ isValidConnectionString: (connection: Connection) => Promise; /** * Returns the name of the operating system. * * Stability: *locked* */ oSName: () => Promise; /** * Returns the version number of the operating system. * * Stability: *locked* */ oSVersion: () => Promise; /** * Opens an app and checks if the app needs to be migrated (if the app is deprecated). * The _OpenDoc method_ compares the version of the app with the version of Qlik Sense and migrates the app to the current version of Qlik Sense if necessary. Once the migration is done, the app is opened. * If no migration is needed, the app is opened immediately. * The following applies: * * The app version is lower than 0.95: no migration is done. Apps older than the version 0.95 are not supported. * * The app version is at least 0.95 and less than the Qlik Sense version: the app is migrated and then opened. * * Qlik Sense and the app have the same version: the app is opened, no migration is needed. * *
If the app is read-only, the app migration cannot occur. An error message is sent.
* * #### Backups * In Qlik Sense Desktop, apps are automatically backed up before a migration. * The backup files are located in _%userprofile%\Documents\Qlik\Sense\AppsBackup\<Qlik Sense Desktop version>_. * In Qlik Sense Enterprise, no automatic back up is run. The back up should be done manually. * * Parameters: * * - `docName` - The GUID (in Qlik Sense Enterprise) or Name (in Qlik Sense Desktop) of the app to retrieve. * - `userName` - Name of the user that opens the app. * - `password` - Password of the user. * - `serial` - Current Qlik Sense serial number. * - `noData` - Set this parameter to true to be able to open an app without loading its data. * When this parameter is set to true, the objects in the app are present but contain no data. The script can be edited and reloaded. * The default value is false. * * Stability: *locked* */ openDoc: (docName: string, userName?: string, password?: string, serial?: string, noData?: boolean) => Promise; /** * Returns the Qlik Sense version number. * * @deprecated: Use _EngineVersion_ method instead * * Stability: *locked* */ productVersion: () => Promise; /** * Publishes an app to the supplied stream. * * Parameters: * * - `appId` - The Id of the app to publish. * - `name` - The name of the app to publish. * - `streamId` - The stream Id of the app to publish. * * Stability: *locked* */ publishApp: (appId: string, name: string, streamId: string) => Promise; /** * Returns the Qlik product name. * * Stability: *locked* */ qTProduct: () => Promise; /** * Returns the Qlik Sense version number. * * @deprecated: Use the _EngineVersion_ method instead * * Stability: *locked* */ qvVersion: () => Promise; /** * Reloads the list of extensions. * * Stability: *locked* */ reloadExtensionList: () => Promise; /** * Replaces objects of a target app with the objects from a source app. * The list of objects in the app to be replaced must be defined in _qIds_. *
The data model of the app cannot be updated.
This operation is possible only in Qlik Sense Enterprise.
* *
The operation is successful if **qSuccess** is set to true.
* * Parameters: * * - `targetAppId` - Identifier (GUID) of the target app. * The target app is the app to be replaced. * - `srcAppID` - Identifier (GUID) of the source app. * The objects in the source app will replace the objects in the target app. * - `ids` - QRS identifiers (GUID) of the objects in the target app to be replaced. Only QRS-approved GUIDs are applicable. * An object that is QRS-approved, is for example an object that has been published (for example, not private anymore). * If an object is private, it should not be included in this list. * If the array of identifiers contains objects that are not present in the source app, the objects related to these identifiers are removed from the target app. * If _qIds_ is empty, no objects are deleted in the target app. * * Stability: *locked* */ replaceAppFromID: (targetAppId: string, srcAppID: string, ids: string[]) => Promise; /** * Save a copy of an app with a different name. * Can be used to save a session app as an ordinary app. * * Parameters: * * - `newAppName` - <Name of the saved app> * * @deprecated: Use Document _SaveAs_ method instead * * Stability: *locked* */ saveAs: (newAppName: string) => Promise; /** * Shuts down the Qlik engine. *
This operation is possible only in Qlik Sense Desktop.
* * Stability: *locked* */ shutdownProcess: () => Promise; }; type NativeVariableFunctions = { /** * Sets the value of a dual variable overriding any input constraints. * * Parameters: * * - `s` - String representation of a dual value. * Set this parameter to "", if the string representation is to be Null. * - `d` - Numeric representation of a dual value. * * @deprecated: Use _GenericVariable::SetProperties_ method instead * * Stability: *locked* */ forceContent: (s: string, d: number) => Promise; /** * Returns the calculated value of a variable. * * @deprecated: Use _GenericVariable::GetProperties_ method instead * * Stability: *locked* */ getContent: () => Promise; /** * Gets the properties of a variable. * * @deprecated: Use _GetProperties_ method instead * * Stability: *locked* */ getNxProperties: () => Promise; /** * Returns the raw value of a variable. * * @deprecated: Use _GenericVariable::GetProperties_ method instead * * Stability: *locked* */ getRawContent: () => Promise; /** * Sets a value to a variable. * * Parameters: * * - `content` - Value of the variable. * - `updateMRU` - If set to true, the value is added to the Most Recently Used (MRU) list. * * @deprecated: Use _GenericVariable::SetProperties_ method instead * * Stability: *locked* */ setContent: (content: string, updateMRU: boolean) => Promise; /** * Sets some properties to a variable. * * Parameters: * * - `properties` - Information about the properties of the variable * * @deprecated: Use _SetProperties_ method instead * * Stability: *locked* */ setNxProperties: (properties: NxVariableProperties) => Promise; }; //#endregion //#region src/qix/types/list-types.d.ts type ListItem> = NxContainerEntry; type ListBoxProperties = { qInfo?: NxInfo; qListBoxDef?: ListObjectDef; qAppObjectListDef?: AppObjectListDef; }; type SheetListDataCellBounds = { x: number; y: number; width: number; height: number; }; type SheetListDataCell = { bounds: SheetListDataCellBounds; col: number; colspan: number; name: string; row: number; rowspan: number; type: string; }; type SheetListItem = ListItem; type SheetListData = { /** from /qMetaDef/title */title: string; labelExpression: string; showCondition: any; /** from /qMetaDef/description */ description: string; descriptionExpression: string; thumbnail: any; cells: SheetListDataCell[]; rank: number; columns: number; rows: number; }; type VariableListItem = NxVariableListItem; type VariableListData = { tags: string[]; }; type MeasureListItem = ListItem; type MeasureListData = { /** from /qMetaDef/title */title: string; /** from /qMetaDef/tags */ tags: string[]; /** from /qMeasure/qLabelExpression */ labelExpression: string; }; type MasterObjectListItem = ListItem; type MasterObjectListData = { /** from /qMetaDef/title */name: any; /** from /labelExpression */ labelExpression: string; /** from /visualization */ visualization: any; /** from /qMetaDef/tags */ tags: string[]; }; type DimensionListItem = ListItem; type DimensionListData = { /** from /qMetaDef/title */title: string; /** from /qMetaDef/tags */ tags: string[]; /** from /qDim/qGrouping */ grouping: string; /** from /qDimInfos */ info: GenericDimensionInfo[]; /** from /qDim/qLabelExpression */ labelExpression: string; }; type BookmarkListItem = ListItem; type BookmarkListData = { /** /qMetaDef/title */title: string; /** /qMetaDef/description */ description: string; /** /sheetId */ sheetId: string; /** /selectionFields */ selectionFields: any; /** /creationDate */ creationDate: any; }; type ODAGAppLinkListItem = ListItem; type ODAGAppLinkListData = { /** /qMetaDef/odagLinkRef */odagLinkRef: any; /** /qMetaDef/timestamp */ timestamp: any; }; type DynamicAppViewListItem = ListItem; type DynamicAppViewListData = { /** /qMetaDef/odagLinkRef */odagLinkRef: any; /** /qMetaDef/timestamp */ timestamp: any; }; type StoryListItem = ListItem; type StoryListData = { /** /qMetaDef/title */title: string; /** /qMetaDef/description */ description: string; /** /thumbnail */ thumbnail: string; /** /rank */ rank: any; }; type ExpandedFieldListItem = { qName: string; qSrcTables: string[]; qTags: string[]; isDerived: boolean; sourceField: string; derivedDefinitionName: string; }; //#endregion //#region src/qix/types/rpc-object.d.ts type RpcObject = { id: string; type: string; genericType?: string; handle: number; on(event: "changed" | "closed", func: () => void): void; emit(event: "changed" | "closed"): void; addListener(event: "changed" | "closed", func: () => void): void; once(event: "changed" | "closed", func: () => void): void; removeListener(event: "changed" | "closed", func: () => void): void; migrate: { properties(properties: any): any; snapshot(layout: any): any; }; isValid: boolean; isValidating: boolean; isInvalid: boolean; isClosed: boolean; isClosing: boolean; isCancelled: boolean; Validated: StateNotification; Invalidated: StateNotification; Validating: StateNotification; Closed: StateNotification; Closing: StateNotification; Cancelled: StateNotification; /** @deprecated */ state: number; layoutSubscribe(callback: LayoutSubscriptionCallback): LayoutSubscription; }; type LayoutSubscriptionCallback = (layout: L) => void; type LayoutSubscription = { subscribe(callback: LayoutSubscriptionCallback): void; dispose(): void; cancel(): void; retry(): void; }; type StateNotification = { /** * Observe a Notification by sending in an observer function. * * Please note that if you want to proxy an notification to another object, for now * it's not possible to do: * * ```obj1.EventName.bind( obj2.OtherEvent.emit );``` * * You have to do: * * ```obj1.EventName.bind( function() { obj2.OtherEvent.emit } );``` * * @param {Function} observer The observer function to handle to notification. * @throws {Error} When the observer is not a {@link Function}. */ bind(observer: Function): void; /** * Observe a Notification only once and then unbind automatically from any future notifications. * * @param {Function} observer The observer function to handle to notification. */ once(observer: Function): void; /** * Stop observing a notification. * * @param {Function} observer The observer function that now should ignore any future notifications. */ unbind(observer: Function): void; }; //#endregion //#region src/qix/types/generic-object.d.ts type GenericObjectPropertiesNodeRec = GenericObjectPropertiesAdditionalProperties & Record | string | number | boolean>; type GenericObjectPropertiesNodeLevel5 = unknown; type GenericObjectPropertiesNodeLevel4 = GenericObjectPropertiesNodeRec; type GenericObjectPropertiesNodeLevel3 = GenericObjectPropertiesNodeRec; type GenericObjectPropertiesNodeLevel2 = GenericObjectPropertiesNodeRec; type GenericObjectPropertiesNode = GenericObjectPropertiesNodeRec; type AnyGenericObjectProperties = GenericObjectPropertiesNode & GenericObjectProperties; type GenericObjectLayoutNodeRec = GenericObjectLayoutAdditionalProperties> & Record | string | number | boolean>; type GenericObjectLayoutNodeLevel5 = unknown; type GenericObjectLayoutNodeLevel4 = GenericObjectLayoutNodeRec; type GenericObjectLayoutNodeLevel3 = GenericObjectLayoutNodeRec; type GenericObjectLayoutNodeLevel2 = GenericObjectLayoutNodeRec; type GenericObjectLayoutNode = GenericObjectLayoutNodeRec; type AnyGenericObjectLayout = GenericObjectLayoutNode & GenericObjectLayout; interface GenericObject extends RpcObject, NativeGenericObjectFunctions { app: Doc; } type Field = RpcObject & NativeFieldFunctions; type GenericBookmark = RpcObject & NativeGenericBookmarkFunctions; type GenericDimension = RpcObject & NativeGenericDimensionFunctions; type GenericMeasure = RpcObject & NativeGenericMeasureFunctions; type GenericVariable = RpcObject & NativeGenericVariableFunctions; type GenericListObject> = GenericObject; type CurrentSelections = GenericObject & { clearField(fieldName: string, state: string): Promise; lockField(fieldName: string): Promise; unlockField(fieldName: string): Promise; clearAll(): Promise; back(): Promise; forward(): Promise; }; type UndoInfoObject = GenericObject & { undo(): Promise; redo(): Promise; reset(): Promise; /** * Marks start of a group of operations in undo-stack * * @returns {Number} Unique group id which should be used when ending group (to avoid nested groups) */ startGroup(): Promise; /** * Marks end of a group of operations in undo-stack * * @param groupId - unique id to map against start marker (to avoid nested groups) */ endGroup(groupId: number): Promise; }; type FieldListObject = GenericListObject & { expand(): Promise<(NxDerivedFieldsData | ExpandedFieldListItem)[]>; }; //#endregion //#region src/qix/types/global.d.ts type Global = RpcObject & NativeGlobalFunctions; //#endregion //#region src/qix/types/doc.d.ts type Doc = RpcObject & NativeDocFunctions & StandardFunctions & ObjectHelperFunctions & ModalFunctions & ListFunctions & SpecialObjectFunctions & { global: Global; }; type StandardFunctions = { /** Alias for getAppProperties */getProperties(): Promise; /** Alias for setAppProperties */ setProperties(props: NxAppProperties): Promise; /** Alias for getAppLayout */ getLayout(): Promise; }; type ModalFunctions = { /** * Aborts the modal selection state in Engine. * * @param {Boolean} accept Whether to apply the selections made while in modal state * @returns {Promise} A promise of a result */ abortModalSelection(accept: boolean): Promise; /** * Aborts the modal selection state in Engine. * * @param {Boolean} accept Whether to apply the selections made while in modal state * @returns {Promise} A promise of a result */ abortModalSelection(accept: boolean): Promise; /** * Switches the modal selection state in Engine. * * @param {RpcObject|null} [object] If defined, will switch modal state to that model, if null, will end selection modal state * @param {String|Array} [path] If defined, will use the given path(s) for which hypercube(s) to apply the modal state on * @param {Boolean} accept Whether to apply the selections made while in modal state * @returns {Promise} A promise of a result */ switchModalSelection(object: RpcObject | undefined | null, path: string | string[] | undefined, accept: boolean): Promise; /** * Switches the modal selection state in Engine. * * @param {RpcObject|null} [object] If defined, will switch modal state to that model, if null, will end selection modal state * @param {String|Array} [path] If defined, will use the given path(s) for which hypercube(s) to apply the modal state on * @param {Boolean} accept Whether to apply the selections made while in modal state * @returns {Promise} A promise of a result */ switchModalSelection(object: RpcObject | undefined | null, path: string | string[] | undefined, accept: boolean): Promise; /** * Sets an object as selection modal target. */ setModalSelection(obj: RpcObject): Promise; /** * Sets an object as selection modal target. */ setModalSelection(obj: RpcObject): Promise; /** * @returns {Boolean} whether the app is in selection modal state */ isInModalSelection(): Promise; /** * @returns {Boolean} whether the app is in selection modal state */ isInModalSelection(): Promise; }; type ObjectHelperFunctions = { getOrCreateSessionObject(props: ListBoxProperties): Promise; /** * Help method to fetch list objects from Engine through as session objects * @param {Object} listDef - specifications of which type of list to fetch * @param {Object} listDef.qInfo - qInfo object specifying a type and id for the session object * @returns {Promise} Promise containing the list handling object if resolved or Error if rejected */ getListObject(listDef: ListBoxProperties): Promise>; /** * Help method to fetch app object data from Engine through a session object * @param {Object} listDef - specifications of which type of list to fetch * @param {Object} listDef.qInfo - qInfo object specifying a type and id for the session object * @returns {Promise.} A Promise that when resolved holds a list of data objects of the specified type */ getListData(listDef: ListBoxProperties): Promise; }; type ListFunctions = { getFieldList(): Promise; getFieldListObject(): Promise; getOnTheFlyListObject(): Promise>; getOnTheFlyWithHiddenListObject(): Promise>; getDimensionList(): Promise; getDimensionListObject(): Promise>; getMeasureList(): Promise; getMeasureListObject(): Promise>; getMasterObjectList(): Promise; getMasterObjectListObject(): Promise>; getVariableList(): Promise; getVariableListObject(): Promise>; getBookmarkList(): Promise; getBookmarkListObject(): Promise; getSheetList(): Promise; getSheetListObject(): Promise>; getStoryList(): Promise; getStoryListObject(): Promise>; getODAGAppLinkList(): Promise; getODAGAppLinkListObject(): Promise>; getDynamicAppViewList(): Promise; getDynamicAppViewObject(): Promise>; }; type SpecialObjectFunctions = { getUndoInfoObject(): Promise; getCurrentSelectionObject(): Promise; }; //#endregion //#region src/qix/types/websocket-events.d.ts type WebSocketEventPayloads = { opened: object; suspended: { code: number; reason: string; initiator: "manual" | "network"; }; resuming: object; resumed: object; closed: { code: number; reason: string; }; }; type WebSocketEventType = keyof WebSocketEventPayloads; /** * @experimental * The type of event that is sent to any listeners added through onWebSocketEvent. */ type WebSocketEvent = { [K in WebSocketEventType]: { eventType: K; } & WebSocketEventPayloads[K] & OpenAppSessionProps }[ET]; type CombinedWebSocketStateState = "open" | "suspended" | "resuming" | "closed"; /** * @experimental * The type of event that is sent to listeners added through onCombinedWebSocketStateChange. */ type CombinedWebSocketStateEvent = { state: CombinedWebSocketStateState; }; //#endregion //#region src/qix/qix-types.d.ts type OpenAppSessionProps = { /** App ID to open */appId: string; /** Set a value to open an individual session to the same app that is different from the default */ identity?: string; /** Hostconfig to connect to a URL and authenticate an app session */ hostConfig?: HostConfig; /** Set to true if app should be opened without loading the data blob */ withoutData?: boolean; /** Use a separate reload engine to perform a reload */ useReloadEngine?: boolean; /** Time-to-live in seconds. */ ttlSeconds?: number; /** Workload Type */ workloadType?: WorkloadType; /** Automatically resume a suspended websocket connection when user presence is detected */ autoResume?: boolean; }; type WorkloadType = "interact" | "report" | "reload" | "prepare" | "analyse" | "odag" | "dataflows" | "dynamicviews" | "appgeneration" | "evaluate" | "profile" | "di-qvd-gen" | "alert-preview" | "alert-evaluations" | "reporting-analytic" | "reporting-batch" | "automation" | "insight-advisor" | "automl-load" | "discovery"; type DocAction = (doc: Doc) => Promise; type CloseProps = { /** * Defines after how much time the websocket is actually closed. Typically only used in test cases. By default a suitable small delay is used. * The reason for having a delay is to support unmounting a UI (which closes its app session) and mounting a new UI (which opens a new app session) in short succession without having * to recreate the underlying websocket. */ websocketCloseDelay?: number; }; /** * An object that represents one usage of an enigma websocket connected to the engine. */ type AppSession = { /** * Returns a promise of the Qix Doc object with a set of client-side Api extensions. * Note that while the AppSession object is returned immediately this promise might take a while * to resolve for bigger apps. */ getDoc: () => Promise; /** * @experimental * Add an event-listener for this app-session. */ onWebSocketEvent: (listener: (event: WebSocketEvent) => void) => () => void; /** * @experimental * Resume a suspended session. This will resume exactly * once if the session is currently suspended, otherwise * nothing will be done. */ resume: () => Promise; /** * When the app session is no longer in use it must be closed using this function. * If the same underlying enigma websocket is used somewhere else in the browser * this is basically a no op, but if this is the last/only usage * of the underlying enigma websocket that websocket will be closed. */ close: (props?: CloseProps) => Promise; }; type NativeReactHooks = { useEffect: Function; useState: (initialValue: T | undefined) => [T, (value: T) => void]; }; /** * React hook that returns the `Doc` of an app based on the supplied app id * @param appId The app id of the app (referred to as resourceId in the items api) or full * OpenAppSessionProps configuration * @returns The Doc object if loaded, or undefined while loading/on error */ type UseAppHook = (appIdOrProps: string | OpenAppSessionProps) => Doc | undefined; //#endregion //#region src/public/qix.d.ts declare function openAppSession(appSessionProps: OpenAppSessionProps): { /** * Returns a promise of the Qix Doc object with a set of client-side Api extensions. * Note that while the AppSession object is returned immediately this promise might take a while * to resolve for bigger apps. */ getDoc(): Promise; /** * @experimental * Add an event-listener for this app-session. */ onWebSocketEvent(listener: (event: WebSocketEvent) => void): () => void; /** * @experimental * Resume a suspended session. This will resume exactly * once if the session is currently suspended, otherwise * nothing will be done. */ resume(): Promise; /** * When the app session is no longer in use it must be closed using this function. * If the same underlying enigma websocket is used somewhere else in the browser * this is basically a no op, but if this is the last/only usage * of the underlying enigma websocket that websocket will be closed. */ close(props?: CloseProps): Promise; }; interface QixAPI { /** * Open a qix session in engine on the current domain for the supplied appId. If the same app is opened multiple times * only a single enigma websocket session is opened and shared. * When all open sessions are closed again the shared enigma websocket session is also closed. * @param appId The resource id of the app to open * @param host Configuration of what host to connect to */ openAppSession: typeof openAppSession; } declare function withHostConfig(hostConfig: HostConfig | undefined): QixAPI; declare const qix: QixAPI & { withHostConfig: (hostConfig: HostConfig | undefined) => QixAPI; }; //#endregion export { ListBoxProperties as $, NxVariableProperties as $a, NxLibraryMeasure as $i, GenericDimensionLayout as $n, SelectionObjectDef as $o, NxAutoSortByStateDef as $r, CyclicGroupPosition as $t, GenericObject as A, NxSelectionCellType as Aa, NxFieldDescription as Ai, FieldDefEx as An, SearchFieldMatchesItem as Ao, LogOnType as Ar, UsageEnum as As, Blob as At, GenericObjectPropertiesNodeLevel4 as B, NxTickCell as Ba, NxGroupMemberClass as Bi, FileDataFormat as Bn, SearchMatchCombination as Bo, NativeGenericMeasureFunctions as Br, BookmarkStateFieldPages as Bt, CurrentSelections as C, NxPatches as Ca, NxDimensionType as Ci, ExtendedLayoutBookmarkData as Cn, SearchAttribute as Co, LayoutBookmarkData as Cr, TotalMode as Cs, ApplyGroupStateWarningType as Ct, GenericDimension as D, NxRange as Da, NxExportFileType as Di, FailureData as Dn, SearchFieldDictionary as Do, ListObject as Dr, TreeDataDef as Ds, BNFDef as Dt, GenericBookmark as E, NxPivotValuePoint as Ea, NxEngineVersion as Ei, ExtensionListDef as En, SearchContextType as Eo, LineageInfo as Er, TreeData as Es, AssociationScore as Et, GenericObjectLayoutNodeLevel5 as F, NxStackPage as Fa, NxFieldTableResourceId as Fi, FieldListDef as Fn, SearchGroupItemMatch as Fo, MetaData as Fr, BookmarkFieldPageEx as Ft, RpcObject as G, NxTreeNode as Ga, NxHypercubeMode as Gi, FolderItemType as Gn, SearchSuggestItem as Go, NxAppLayout as Gr, ChildList as Gt, GenericObjectPropertiesNodeRec as H, NxTreeDimensionDef as Ha, NxGroupTail as Hi, FilterInfo as Hn, SearchObjectOptions as Ho, NativeGenericVariableFunctions as Hr, CalendarStrings as Ht, GenericObjectLayoutNodeRec as I, NxStackedPivotCell as Ia, NxFrequencyMode as Ii, FieldOrColumn as In, SearchGroupItemOptions as Io, NativeDocFunctions as Ir, BookmarkFieldVerifyResultState as It, DimensionListData as J, NxTrendline as Ja, NxInlineMeasureDef as Ji, GenericBookmarkEntry as Jn, SearchValueOptions as Jo, NxAttrDimInfo as Jr, CondDef as Jt, BookmarkListData as K, NxTreeRangeSelectInfo as Ka, NxInfo as Ki, FrequencyDistributionData as Kn, SearchSuggestionResult as Ko, NxAppProperties as Kr, ChildListDef as Kt, GenericObjectPropertiesNode as L, NxStateCounts as La, NxGetBookmarkOptions as Li, FieldScores as Ln, SearchGroupItemType as Lo, NativeFieldFunctions as Lr, BookmarkFieldVerifyWarning as Lt, GenericObjectLayoutNodeLevel2 as M, NxSimpleDimValue as Ma, NxFieldResourceId as Mi, FieldInTableData as Mn, SearchFieldValueItem as Mo, MeasureListDef as Mr, ValueExpression as Ms, BookmarkApplyAndVerifyResult as Mt, GenericObjectLayoutNodeLevel3 as N, NxSimpleValue as Na, NxFieldSelectionInfo as Ni, FieldInTableProfilingData as Nn, SearchGroup as No, MediaListDef as Nr, VariableList as Ns, BookmarkFieldItem as Nt, GenericListObject as O, NxRangeSelectInfo as Oa, NxExportState as Oi, FieldAttrType as On, SearchFieldMatch as Oo, ListObjectDef as Or, UndoInfo as Os, BNFDefMetaType as Ot, GenericObjectLayoutNodeLevel4 as P, NxSortIndicatorType as Pa, NxFieldSelectionMode as Pi, FieldList as Pn, SearchGroupItem as Po, MediaListItem as Pr, VariableListDef as Ps, BookmarkFieldPage as Pt, ExpandedFieldListItem as Q, NxVariableListItem as Qa, NxLibraryDimensionDef as Qi, GenericDimensionInfo as Qn, SelectionObject as Qo, NxAttributeExpressionValues as Qr, CustomConnector as Qt, GenericObjectPropertiesNodeLevel2 as R, NxStreamListEntry as Ra, NxGetObjectOptions as Ri, FieldType as Rn, SearchGroupOptions as Ro, NativeGenericBookmarkFunctions as Rr, BookmarkList as Rt, AnyGenericObjectProperties as S, NxPatchOperationType as Sa, NxDimensionInfo as Si, ExpansionData as Sn, SearchAssociationResult as So, KeyType as Sr, TextMacro as Ss, ApplyGroupStateWarning as St, FieldListObject as T, NxPivotPage as Ta, NxDownloadOptions as Ti, ExtensionList as Tn, SearchCombinationOptions as To, LayoutFieldInfo as Tr, TransformAppResult as Ts, ArrayOfNxValuePoint as Tt, GenericVariable as U, NxTreeDimensionInfo as Ua, NxGrpType as Ui, FilterType as Un, SearchPage as Uo, NativeGlobalFunctions as Ur, CharEncodingType as Ut, GenericObjectPropertiesNodeLevel5 as V, NxTreeDataOption as Va, NxGroupObjectId as Vi, FileType as Vn, SearchMatchCombinations as Vo, NativeGenericObjectFunctions as Vr, BookmarkVariableItem as Vt, UndoInfoObject as W, NxTreeMultiRangeSelectInfo as Wa, NxHighlightRanges as Wi, FolderItem as Wn, SearchResult as Wo, NativeVariableFunctions as Wr, CharRange as Wt, DynamicAppViewListData as X, NxTrendlineMode as Xa, NxLayoutErrors as Xi, GenericBookmarkProperties as Xn, SearchValueResult as Xo, NxAttrExprInfo as Xr, ContentLibraryList as Xt, DimensionListItem as Y, NxTrendlineDef as Ya, NxLTrendlineType as Yi, GenericBookmarkLayout as Yn, SearchValuePage as Yo, NxAttrExprDef as Yr, Connection as Yt, DynamicAppViewListItem as Z, NxValidationError as Za, NxLibraryDimension as Zi, GenericConnectMachine as Zn, SelectInfo as Zo, NxAttributeDimValues as Zr, ContentLibraryListItem as Zt, ObjectHelperFunctions as _, NxMultiRangeSelectInfo as _a, NxDerivedFieldDescriptionList as _i, EditorBreakpoint as _n, Rect as _o, HyperCubeDef as _r, TableViewConnectionPointSaveInfo as _s, AppEntry as _t, AppSession as a, NxLocalizedWarningCode as aa, NxCell as ai, DatabaseInfo as an, OtherMode as ao, GenericObjectLayoutAdditionalProperties as ar, StaticContentList as as, ODAGAppLinkListData as at, Global as b, NxPageTreeNode as ba, NxDimCellType as bi, ErrorData as bn, ScriptSyntaxError as bo, InteractDef as br, TableViewSaveInfo as bs, AppScript as bt, NativeReactHooks as c, NxMeasure as ca, NxContainerEntry as ci, DerivedFieldsInTableData as cn, Point as co, GenericVariableConstraints as cr, StaticContentUrlDef as cs, SheetListDataCell as ct, WorkloadType as d, NxMetaDef as da, NxContinuousRangeSelectInfo as di, DimensionReference as dn, ProgressMessage as do, GenericVariableType as dr, SymbolFrequency as ds, StoryListData as dt, NxLibraryMeasureDef as ea, NxAxisData as ei, DataField as en, NxViewPort as eo, GenericDimensionProperties as er, Size as es, ListItem as et, CombinedWebSocketStateEvent as f, NxMiniChart as fa, NxCurrentSelectionItem as fi, DoReloadExParams as fn, QFunction as fo, GraphMode as fr, SymbolValue as fs, StoryListItem as ft, ModalFunctions as g, NxMiniChartRows as ga, NxDerivedField as gi, DriveType as gn, RangeSelectInfo as go, HyperCube as gr, TableViewBroomPointSaveInfo as gs, AlternateStateData as gt, ListFunctions as h, NxMiniChartDef as ha, NxDataReductionMode as hi, DriveInfo as hn, QRange as ho, GroupStateInfo as hr, TableRow as hs, AlfaNumString as ht, withHostConfig as i, NxLocalizedErrorCode as ia, NxCardinalities as ii, Database as in, OtherLimitMode as io, GenericObjectLayout as ir, StateFieldValues as is, MeasureListItem as it, GenericObjectLayoutNode as j, NxSelectionInfo as ja, NxFieldProperties as ji, FieldDescription as jn, SearchFieldSelectionMode as jo, MeasureList as jr, ValueExpr as js, Bookmark as jt, GenericMeasure as k, NxSelectionCell as ka, NxFeature as ki, FieldAttributes as kn, SearchFieldMatchType as ko, LocaleInfo as kr, UndoInfoDef as ks, BNFType as kt, OpenAppSessionProps as l, NxMeasureInfo as la, NxContinuousDataOptions as li, DimensionList as ln, PositionMark as lo, GenericVariableLayout as lr, StringExpr as ls, SheetListDataCellBounds as lt, Doc as m, NxMiniChartData as ma, NxDataPage as mi, DocListEntry as mn, QMediaList as mo, GroupState as mr, TableRecord as ms, VariableListItem as mt, openAppSession as n, NxListObjectExpression as na, NxBookmark as ni, DataTable as nn, OdbcDsn as no, GenericMeasureProperties as nr, SourceKeyRecord as ns, MasterObjectListItem as nt, CloseProps as o, NxMatchingFieldInfo as oa, NxCellPosition as oi, DatabaseOwner as on, OtherSortMode as oo, GenericObjectProperties as or, StaticContentListItem as os, ODAGAppLinkListItem as ot, WebSocketEvent as p, NxMiniChartCell as pa, NxDataAreaPage as pi, DoReloadExResult as pn, QIX_SCHEMA_VERSION as po, GroupBookmarkData as pr, TableProfilingData as ps, VariableListData as pt, BookmarkListItem as q, NxTreeValue as qa, NxInlineDimensionDef as qi, FunctionGroup as qn, SearchTermResult as qo, NxAttrDimDef as qr, CodePage as qt, qix as r, NxListObjectExpressionDef as ra, NxCalcCond as ri, DataTableEx as rn, OleDbProvider as ro, GenericObjectEntry as rr, StateEnumType as rs, MeasureListData as rt, DocAction as s, NxMatchingFieldMode as sa, NxCellRows as si, DelimiterInfo as sn, OtherTotalSpecProp as so, GenericObjectPropertiesAdditionalProperties as sr, StaticContentUrl as ss, SheetListData as st, QixAPI as t, NxLinkedObjectInfo as ta, NxAxisTicks as ti, DataRecord as tn, ObjectInterface as to, GenericMeasureLayout as tr, SortCriteria as ts, MasterObjectListData as tt, UseAppHook as u, NxMeta as ua, NxContinuousMode as ui, DimensionListDef as un, ProgressData as uo, GenericVariableProperties as ur, StringExpression as us, SheetListItem as ut, SpecialObjectFunctions as v, NxPage as va, NxDerivedFieldsData as vi, EmbeddedSnapshot as vn, ReloadError as vo, InputFieldItem as vr, TableViewCtlSaveInfo as vs, AppObjectList as vt, Field as w, NxPivotDimensionCell as wa, NxDownloadInfo as wi, ExtendedPivotStateData as wn, SearchCharRange as wo, LayoutExclude as wr, TransformAppParameters as ws, ApplyGroupStatesResult as wt, AnyGenericObjectLayout as x, NxPatch as xa, NxDimension as xi, ErrorDataCode as xn, ScrollPosition as xo, InteractType as xr, TableViewTableWinSaveInfo as xs, AppScriptMeta as xt, StandardFunctions as y, NxPageTreeLevel as ya, NxDerivedGroup as yi, EmbeddedSnapshotDef as yn, SampleResult as yo, InterFieldSortData as yr, TableViewDlgSaveInfo as ys, AppObjectListDef as yt, GenericObjectPropertiesNodeLevel3 as z, NxTempBookmarkOptions as za, NxGroupDef as zi, FieldValue as zn, SearchGroupType as zo, NativeGenericDimensionFunctions as zr, BookmarkListDef as zt };