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
Adds a field on the fly.
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
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 fromStability: locked
Applies a bookmark and verifies result dataset against originally selected values.
Parameters:
id
- Identifier of the bookmark.Stability: experimental
Applies a bookmark.
Parameters:
id
- Identifier of the bookmark.Stability: locked
Apply temporary bookmark identified by Id.
Parameters:
id
- Identifier of the temporary selection stateStability: locked
Loads the last logical operation (if any).
Stability: locked
Returns the number of entries on the back stack.
Stability: locked
Change the owner of a session app.
Parameters:
newOwnerId
- Identifier of the new app owner.Stability: experimental
Add a session app to a space.
Parameters:
spaceId
- Identifier of the new space.Stability: experimental
Checks if a given expression is valid.
Parameters:
expr
- Expression to check.labels
- List of labels.Stability: locked
Checks if:
Parameters:
expr
- Expression to check.Stability: locked
Checks the syntax of a script.
"result": { "qErrors": [ { "qErrLen": 3, "qTabIx": 0, "qLineInTab": 0, "qColInLine": 0, "qTextPos": 0 }, { "qErrLen": 5, "qTabIx": 0, "qLineInTab": 0, "qColInLine": 1, "qTextPos": 4, "qSecondaryFailure": true } ] }
Name | Description | Type |
---|---|---|
qErrLen | Length of the word where the error is located. | Integer |
qTabIx | Number of the faulty section. | Integer |
qLineInTab | Line number in the section where the error is located. | Integer |
qColInLine | Position of the erroneous text from the beginning of the line. | Integer |
qTextPos | Position of the erroneous text from the beginning of the script. | Integer |
qSecondaryFailure | The default value is false. | Boolean |
Stability: locked
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 currentStability: locked
Clear the soft properties of all generic objects in the app
Stability: experimental
Clears entirely the undo and redo buffer.
Stability: locked
Clones a bookmark.
Parameters:
id
- Identifier of the object to clone.Stability: locked
Clones a dimension.
Parameters:
id
- Identifier of the object to clone.Stability: locked
Clones a measure.
Parameters:
id
- Identifier of the object to clone.Stability: locked
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.
Parameters:
id
- Identifier of the object to clone. The identifier must be a root object.Stability: locked
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
Commits the current script version so that any future changes will be part of a new version.
Parameters:
commitMessage
- Name of the version.Stability: experimental
Creates a bookmark.
Parameters:
prop
- Properties for the object.Stability: locked
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
Creates a connection. A connection indicates from which data source the data should be taken.
Parameters:
connection
- Information about the connection.Stability: locked
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
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.
Parameters:
id
- Identifier of the object to create a draft from.@deprecated: This will be removed in a future version
Stability: locked
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
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.
Parameters:
prop
- Information about the object.Stability: locked
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.
Parameters:
prop
- Information about the object.Stability: locked
Creates a transient variable.
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.
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
Create temporary bookmark
Parameters:
options
- Options for the temporary bookmarkobjectIdsToPatch
- 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
Creates a variable.
Parameters:
name
- Name of the variable. Variable names are case sensitive.@deprecated: Use Doc::CreateVariableEx method instead
Stability: locked
Creates a variable. To create a variable via a script, you need to use the SetScript method. For more information, see Create a variable.
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.
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
Deletes a connection.
Parameters:
connectionId
- Identifier of the connection to remove.Stability: locked
Removes a bookmark.
Parameters:
id
- Identifier of the bookmark.Stability: locked
Removes a dimension.
Parameters:
id
- Identifier of the dimension to remove.Stability: locked
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.
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
Removes a generic measure.
Parameters:
id
- Identifier of the measure to remove.Stability: locked
Removes an app object. The children of the object (if any) are removed as well.
Parameters:
id
- Identifier of the object to remove.Stability: locked
Removes a transient object.
Parameters:
id
- Identifier of the transient object to remove.Stability: locked
Removes a transient variable.
Parameters:
id
- Identifier of the variable.Stability: locked
Removes a transient variable.
Parameters:
id
- Identifier of the variable.Stability: locked
Removes a transient variable.
Parameters:
name
- Name of the variable.Stability: locked
Removes a variable. Script-defined variables cannot be removed using the DestroyVariableById method or the DestroyVariableByName method. For more information, see Remove a variable.
Parameters:
id
- Identifier of the variable.Stability: locked
Removes a variable. Script-defined variables cannot be removed using the DestroyVariableById method or the DestroyVariableByName method. For more information, see Remove a variable.
Parameters:
name
- Name of the variable.Stability: locked
Reloads the script that is set in an app.
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 log | System 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 |
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: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
Reloads the script that is set in an app and returns the path to the script log file.
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 log | System 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 |
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 |
Name | Description | Type |
---|---|---|
qMode | Error handling mode One of:
|
Integer |
qPartial | Set to true for partial reload. The default value is false. |
Boolean |
qDebug | 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. |
Boolean |
Name | Description | Type |
---|---|---|
qSuccess | The operation is successful if qSuccess is set to True. | Boolean |
qScriptLogFile | Path 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
Saves an app. All objects and data in the data model are saved.
Parameters:
fileName
- Name of the file to save.Stability: locked
Evaluates an expression and returns the result as a string.
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
Evaluates an expression and returns the result as a dual.
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
Expands the expression.
Parameters:
expression
- The expression string to expand.Stability: locked
Applies a bookmark to reduce (slice) the data on. Returns a url and file size to the reduced application. Section Access is always applied.
Parameters:
options
- BookmarkId used to reduced the app on and an expire time.Stability: locked
Retrieves any fields that belong to the same archipelago as the specified field and that match at least one of the specified tags.
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
Loads the next logical operation (if any).
Stability: locked
Returns the number of entries on the Forward stack.
Stability: locked
Returns the identifier and the type of any generic object in the app.
Stability: locked
Evaluates an app. Returns dynamic properties (if any) in addition to the engine (fixed) properties. A data set is returned.
Stability: locked
Gets the properties of an app.
Stability: locked
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
Returns the handle of a bookmark.
Parameters:
id
- Identifier of the bookmark.Stability: locked
Returns all bookmarks compatible with options.
Parameters:
options
- Bookmark type filter and requested properties.Stability: locked
Retrieves a connection and returns:
Parameters:
connectionId
- Identifier of the connection.Stability: locked
Lists the connections in an app.
Stability: locked
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.
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 .
Returns the global content library and the app specific content library from the disk.
Stability: locked
Gives information about an ODBC, OLEDB or CUSTOM connection. See Outputs for more details.
Parameters:
connectionId
- Name of the connection.Stability: locked
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
Lists the databases inside a ODBC, OLEDB or CUSTOM data source.
Parameters:
connectionId
- Identifier of the connection.Stability: locked
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
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
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
Returns the handle of a dimension.
Parameters:
id
- Identifier of the dimension.Stability: locked
Creates a script that contains one section. This section contains SET statements that give localized information from the regional settings of the computer.
Parameters:
localizedMainSection
- Name of the script section.
The default value is Main .Stability: locked
Gets the current Backus-Naur Form (BNF) grammar of the Qlik chart expressions supported within a given App.
Stability: experimental
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
Retrieves the variables that are tagged as favorite.
Stability: locked
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
Get sample values from either a column in a table or from a field. Supports wildcard matches in tables or field names:
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
Returns the description of a field.
Parameters:
fieldName
- Name of the field.Stability: locked
Find the field-on-the-fly by passing its readable name.
Parameters:
readableName
- Readable name of the field-on-the-fly.Stability: locked
Retrives any fields from an expression.
Parameters:
expr
- Expression to get fields from.Stability: locked
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.
Parameters:
fieldNames
- List of fields names that resource ids should be returned from.Stability: locked
Lists the fields of a table for a folder connection.
Recognized file formats are:
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
Lists the values in a table for a folder connection.
Recognized file formats are:
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
Lists the tables for a folder connection.
Recognized file formats are:
Parameters:
connectionId
- Identifier of the connection.relativePath
- Path of the connection file.dataFormat
- Type of the file.Stability: locked
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
Lists the items for a folder connection.
Parameters:
connectionId
- Identifier of the connection.relativePath
- Relative path of the connection.Stability: locked
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
Returns the content of a 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.
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
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
Returns locale information.
Stability: locked
Returns a list of table states.
The following states apply:
Stability: locked
Retrieves any fields that match all of the specified tags or just one of them in the data model of an app.
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:
Stability: locked
Returns the handle of a measure.
Parameters:
id
- Identifier of the measure.Stability: locked
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
Lists the media files.
@deprecated: Use GetLibraryContent method instead
Stability: locked
Returns the type of the app object and the corresponding handle.
Parameters:
id
- Identifier of the object to retrieve.Stability: locked
Returns all objects compatible with options.
Parameters:
options
- Object type filter and requested properties.Stability: locked
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
Gets values in script.
Stability: locked
Lists the breakpoints in the script of an app.
Stability: locked
Gets script and script meta-data.
Stability: locked
Gets script meta-data.
Stability: experimental
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
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
Returns profile data for a given table.
Parameters:
tableName
- Name of the tableStability: experimental
Returns:
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:includeSysVars
- If set to true, the system variables are included.includeProfiling
- If set to true, profiling information is included.Stability: locked
Fetches updated variables after a statement execution.
Stability: locked
Returns a handle to a variable.
Parameters:
name
- Name of the variable.@deprecated: Use Doc::GetVariableById method or Doc::GetVariableByName method instead
Stability: locked
Gets the handle of a variable.
Parameters:
id
- Identifier of the variable.Stability: locked
Gets the handle of a variable.
Parameters:
name
- Name of the variable.Stability: locked
Returns information about the position of the tables in the data model viewer.
Stability: locked
Guesses the data format for a given file. Recognized file formats are:
Recognized file formats are:
Parameters:
connectionId
- Identifier of the connection file.relativePath
- Path of the connection file.Stability: locked
Locks all selections in fields for current state.
Parameters:
stateName
- Alternate state name. When set, applies to alternate state instead of current.Stability: locked
Updates a connection.
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
Publishes an app. All app objects are published. Generic objects, bookmarks, dimensions and measures inside the app are published.
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
Redoes the previous operation.
Stability: locked
Removes an alternate state in the app.
Parameters:
stateName
- Name of the alternate state.Stability: locked
Removes an session alternate state in the app.
Parameters:
stateName
- Name of the alternate state.Stability: locked
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
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
Restore a temporary selection state identified by Id.
Parameters:
id
- Identifier of the temporary selection stateStability: locked
Resumes the app as the user left it.
Stability: locked
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
Saves all objects that were modified in the app.
Stability: locked
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.
Parameters:
fieldName
- Name of the field to scramble.Stability: locked
Returns the search matches for one or more search terms. The search results depend on the search context. SearchCombinationOptions
Name | Description | Type |
---|---|---|
qSearchMatchCombinations | Array 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
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
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:
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
Returns search terms suggestions.
Parameters:
options
- Information about the search combinations.terms
- Terms to search for.Stability: locked
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
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: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
Sets properties to an app.
Parameters:
prop
- Information about the properties of an app.Stability: locked
Set some variables as favorite.
Parameters:
names
- Variables to set as favorite.Stability: locked
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
Sets a list of table states, one for each table.
The following states apply:
Parameters:
v
- The list of table states to set. A state will not be changed if already set to 2.Stability: locked
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
Sets values in script.
Parameters:
script
- Script content.Stability: locked
Set some breakpoints in the script of an app.
Parameters:
breakpoints
- Information about the breakpoints.Stability: locked
Sets the positions of the tables in the data model viewer.
Parameters:
info
- Information about the table.Stability: locked
Store current selection state temporarily.
Parameters:
tTLOfTempState
- Time to live in seconds for stored selection stateStability: locked
Transform current app into an instance of the targeted mode
Parameters:
dstParameters
- Attributes that should be set in the new app.Stability: locked
Undoes the previous operation.
Stability: locked
Unlocks all selections in fields for current state.
Parameters:
stateName
- Alternate state name. When set, applies to alternate state instead of current.Stability: locked
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