Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Search our knowledge base, curated by global Support, for answers ranging from account questions to troubleshooting error messages.
This article describes how Qlik Application Automation can be used to perform and review app evaluations and take action accordingly.
Example
In this example, we'll create an automation that evaluates an app before publishing it to a managed space.
Before you continue, create a new automation.
Add a Condition block that verifies whether the vCacheOverrun variable is empty. If it's empty, it means there are no (too) slow cached objects and the app can be published. Add a Publish App To Managed Space block to the Yes outcome of the Condition block and add a Send Mail block from the Outlook connector to notify your team about the published app.
If the vCacheOverrun variable is not empty, the app should not be published. Add another Variable block vStringCache of type string to the No outcome of the Condition block. Set the value of this variable to the output from the vCacheOverrun variable and add the implode formula to transform the list variable into a string.
Bonus
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
Question
What Files Should I whitelist in my Antivirus Software for Talend Applications like Talend Administration Center and Job Server?
For Talend Administration Center, the folders that include jar files are recommended to be whitelisted.
For JobServer, the cache folder <JobServerInstallationFolder>/jobserver/agent/TalendJobServerFiles are recommended to be whitelisted.
The above are files that may have an impact on the performance.
Windows Antivirus Software might cause file locks that can impact the cleanup of JobServer caches and temporary files created by jobs.
So it can be advisable to
Also, as mentioned in the reference: Optimizing Talend Studio performance, the application installation folder is also recommended to whitelist for all applications, not just Talend Studio.
Accessing and managing your Data Spaces varies depending on your active subscription.
Data Spaces cannot be managed from the Management Console or the Analytics Services hub. To manage your Data Spaces, use the Data Integration section.
Note: A professional license is required.
To add a new space:
To edit a space:
You can manage your Data Spaces directly from the Management Console and through Qlik Data Integration.
See Managing data spaces for details on how to manage spaces using the Management Console. For steps on how to use Qlik Data Integrations, see the instructions above.
The basic idea behind this procedure is that by default, the data repository of Replicate is encrypted by a machine key which is unique for each machine.
This means, you cannot move the data repository to another Replicate server because that server data repository is encrypted by that server’s machine key which is obviously different.
To allow that procedure, you’ll need to re-encrypt the source data repository with a predefined password which is not machine related, and this password can be used on the target machine to access that repository after it is migrated.
The following steps assume that the version of Replicate is the same between both servers.
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
Note: Re-encrypting the data repository requires you to re-enter the endpoint passwords, therefore we strongly recommend encrypting the repository with a predefined key right after installation, before you set endpoints and tasks on the machine.
Since the Server and UI are using 2 different keys, both keys will need to be updated using the following procedure:
Server->User Permissions
Please add a domain user, grant it “Admin” access level, and save the new settings.
Please reopen the console and make sure you can access the console with the credentials of the domain user.
The above step is needed because otherwise you won’t have a valid user to open the console on the target machine.
“Attunity Replicate Command line”
Important: For all the repctl commands below, if the data directory is not in the default location, you must specify the full path to the data directory by using the "-d" switch immediately following "repctl" followed by the rest of the command:
repctl -d "YOUR_DATA_DIRECTORY_PATH"
Run the following command to set the Replicate server key:
C:\Program Files\Attunity\Replicate\bin>repctl setmasterkey master_key_scope=1
master_key=Server_Master_key
[setmasterkey command] Succeeded
C:\Program Files\Attunity\Replicate\bin>RepUiCtl.exe utils genpassword
miBqZuBFgOJevgCt9myBqiWYjZKAdnEn
Note: you must save this password in a safe place for future use
Now, you can set the above password using the following command:
C:\Program Files\Attunity\Replicate\bin>RepUiCtl.exe masterukey set -p miBqZuBFg
OJevgCt9myBqiWYjZKAdnEn
The master user password has been changed. The change will only take effect after the service is restarted.
Replicate Control Program completed successfully.
AttunityReplicateServer
AttunityReplicateConsole
ServiceConfiguration.xml
This file refers to the source machine name and is not valid on the target machine, starting the services on the target machine will create the file from scratch, matching localhost.
C:\Program Files\Attunity\Replicate\bin>RepUiCtl.exe masterukey set -p miBqZuBFg
OJevgCt9myBqiWYjZKAdnEn
This article explains how the Qlik Sense app button component can be used to send custom parameters directly to the automation without requiring a temporary bookmark. This can be useful when creating a writeback solution on a big app as creating and applying bookmarks could take a bit longer for big apps which adds delays to the solution. More information on the native writeback solution can be found here: How to build a native write back solution.
Contents
Environment
The information in this article is provided as-is and will be used at your discretion. Depending on the tool(s) used, customization(s), and/or other factors, ongoing support on the solution below may not be provided by Qlik Support.
When using Kafka as a target in a Qlik Replicate task, the "Control Table" name in target is created in lower case, for example the Apply Exception topic name is "attrep_apply_exceptions" (if auto.create.topics.enable=true is set in Kafka broker config/server.properties file), This is the default behavior.
In some scenarios, you may want to use the non-default topic name or topic name in upper case etc to match the organization naming standards rule. This article describes how to rename control table topics' name.
In this article, we will use the topic name "attrep_apply_exceptions" as an example. You can customize below control topics using the same process:
The same way works for more generic level , not only for Kafka target endpoint. In generic level we may rename other metadata eg "target_schema" too.
Kafka topic names cannot exceed 255 characters (249 from Kafka 0.10) and can only contain the following characters:a-z|A-Z|0-9|. (dot)|_(underscore)|-(minus)
More detailed information can be found at Limitations and considerations.
The safest topic name length is 209 (rather than 255/249).
Qlik Replicate (versions 2022.11, 2023.5 and above)
Kafka target
case #00010983, #00108779
Generate a record to attrep_apply_exceptions topic for Kafka endpoint
This article describes how to resolve the NPrinting connection verification error:
x Qlik NPrinting webrenderer can reach Qlik Sense hub error
With the new inclusion of the Get Chart Image block in the Qlik Reporting connector in Qlik Application Automation, you now have more options to notify a group of users with more in-depth data and charts using Slack, Microsoft Teams, and email.
This article will guide you in sending your first chart image to Slack with Qlik Application Automation.
It explains a basic example of a template configured in Qlik Application Automation for this scenario.
You can make use of the template which is available in the template picker. You can find it by navigating to Add new -> New automation -> Search templates and searching for 'Send a Chart Image to Slack' or 'Embed a chart image in an email' in the search bar, and clicking the Use template option.
For guidance on sending charts via Microsoft Teams and mail, go to the "Next Steps" section at the end of this article.
You can download examples of the automations from this article: Send-chart-image-to-slack.json, Send-chart-image-to-outlook.json, Send-chart-image-to-mail.json, Send-chart-image-to-microsoft-teams.json
Warning: Whenever the “Get Chart Image” block is to be used, we advise you to only use it with temporary bookmarks or pre-existing persistent bookmarks.
If the condition block outcome evaluates to false:
Gmail does not support embedding base64 encoded images due to security constraints. To work around this, we advise sending the chart image as an attachment through the Send Mail block in the Mail connector if you use a Gmail account.
See Gmail blocking small embedded inline images in email template for details on the restriction.
The information in this article is provided as-is and will be used at your discretion. Depending on the tool(s) used, customization(s), and/or other factors, ongoing support on the solution below may not be provided by Qlik Support.
This article describes an example of how to disable custom connectors for a particular user group for Qlik Sense.
The example is provided as is. Further customisation or adaptation to a specific use case scenario can be obtained by engaging Qlik's Professional Services.
Name: DisableCustomConnectors Description: This custom rule disables Custom Connectors for user group “Sydney” Resource filter: DataConnection_* Action: Create Condition: ((resource.type!="folder" and resource.type!="Custom") and (user.group="Sydney")) Context: Only in hub
Name: DataConnectionForNormalUsers Description: This custom rule is for Data Connections except User Group “Sydney”. Custom Connection creation enabled. Resource filter: DataConnection_* Action: Create Condition: ((resource.type!="folder" and user.group!="Sydney")) Context: Only in hub
As Talend Runtime's services page can be viewed from the following URL in public:
http://RUNTIME_HOST:8040/services
How can this page be hidden so that it doesn't list the services deployed in Talend Runtime?
This article briefly explains how to protect Talend Runtime Service List from exposure.
org.apache.cxf.servlet.hide-service-list-page=true
When you change it from false (default value) to true, then your services will be hidden and a page stating " No service was found" will display.
The configuration only supports for hiding Service List, and it is not possible to obtain authorization option by current design
This article provides an overview of how to notify your team on Microsoft Teams based on a measure with Qlik Application Automation.
The template is available via the template picker. You can find it by navigating to Add new -> New automation -> Search templates searching for 'Notify your team on Microsoft Teams based on a measure.json' in the search bar, and clicking the Use template option.
You will find a version of this automation attached to this article: "Notify-your-team-on-Microsoft-Teams-based-on-a-measure.json".
Content:
The following steps describe how to build the demo automation:
Loop and Reduce will remove an app's section access that was defined through the load script. Offline usage needs to be enabled in your tenant's management console in order to use the Loop And Reduce block on an app outside a personal space. More information on offline usage.
See How to Loop and Reduce with always one selected value fields if your app contains always one selected value fields.
This article explains how a loop and reduce operation can be performed on a Qlik Sense app by using Qlik Application Automation. It covers two examples, in the first one, the reloaded apps will be (re)published to one space. In the second example, each reduced app will be (re)published to a separate space.
This article covers two advanced examples, a more basic example can be found here .
The source app used in this article can be downloaded here.
Attached to this article are 2 files of the exported automations used in this article. More information on importing automations can be found here.
In this example, all reduced apps will be (re)published to the same space.
Create a new automation and follow these steps to perform a loop and reduce action on a Qlik Cloud app:
An example of a completed automation:
Attached example file: loop_and_reduce_to_same_space.json
In this example, each reduced app will be published to a different space. We'll use the Insurance Claims app and the automation for the first example again. Since this app reduces on the field CountryName, we'll start by creating a managed space for each unique value that's found for CountryName. This results in the following list of spaces:
Next is to create a mapping for each unique reduction value and the corresponding space's id. There are multiple ways to achieve this. In this example, this mapping is stored in a JSON list of objects with the keys reduction_value and space_id. Feel free to use an automation to create the managed spaces and build this list.
Example:
[
{
"reduction_value": "Scotland",
"space_id": "6138a3062c1054d8158c189a"
},
{
"reduction_value": "Northern Ireland",
"space_id": "6138a318faed485d36ae911f"
},
{
"reduction_value": "England",
"space_id": "6138a337faed485d36ae9126"
},
{
"reduction_value": "Wales",
"space_id": "6138a33f98b0d0bf7e719dfb"
},
{
"reduction_value": "Guernsey",
"space_id": "6138a349faed485d36ae912b"
},
{
"reduction_value": "Isle of Man",
"space_id": "6138a35aba392246d331e611"
},
{
"reduction_value": "Jersey",
"space_id": "6138a3653ec592fe53a8d55b"
}
]
The next step is to store the mapping in the automation. Execute the following steps to do this:
Attached example file: loop_and_reduce_to_mulitple_spaces.json
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
This article provides an overview of how to notify your team on Microsoft Teams using data from multiple apps with Qlik Application Automation.
The template is available via the template picker. You can find it by navigating to Add new -> New automation -> Search templates searching for 'Notify your team on Microsoft Teams with data from multiple apps' in the search bar, and clicking the Use template option.
You will find a version of this automation attached to this article: "Notify-your-team-on-Microsoft-Teams-with-data-from-multiple-apps.json".
Content:
The following steps describe how to build the demo automation:
This article provides an overview of how to send straight table data to Microsoft Teams as a table using Qlik Application Automation.
The template is available on the template picker. You can find it by navigating to Add new -> New automation -> Search templates, searching for 'Send straight table data to Microsoft Teams as a table' in the search bar, and clicking the Use template option.
You will find a version of this automation attached to this article: "Send-straight-table-data-to-Microsoft-Teams-as-a-table.json".
Content:
The following steps describe how to build the demo automation:
An example output of the table sent to the Teams channel:
The information in this article is provided as-is and will be used at your discretion. Depending on the tool(s) used, customization(s), and/or other factors, ongoing support on the solution below may not be provided by Qlik Support.
This article provides an overview of how to send straight table data as a message to Microsoft Teams using Qlik Application Automation.
The template is available on the template picker. You can find it by navigating to Add new -> New automation -> Search templates, searching for 'Send straight table data to Microsoft Teams as a message' in the search bar, and clicking the Use template option.
You will find a version of this automation attached to this article: "Send-straight-table-data-to-Microsoft-Teams-as-a-message.json".
Content:
The following steps describe how to build the demo automation:
An example output of the message sent to the Teams channel:
The information in this article is provided as-is and will be used at your discretion. Depending on the tool(s) used, customization(s), and/or other factors, ongoing support on the solution below may not be provided by Qlik Support.
This article gives an overview of the available blocks in the Github connector in Qlik Application Automation. It will also go over some basic examples of retrieving file/blob contents from your repos as well as other functionalities within a GitHub account.
As with most connectors provided for automations the authentication for this connector is based on the oAuth2 Protocol, so when connecting to it you provide the user name and password of the account directly to the Github platform to request access so it is done in the most secure manner there is.
Let's now go over a few basic examples of how to use the Github connector:
How to list owned repositories and check their contents from your Github account:
Now the "list my repositories" block offers a couple of filtering options depending what result you want (all repos or just the private or public ones and if you want the result to come in sorted by some rule) but they are mostly optional. Not filling them in will return by default all repositories.
As for the "List repository contents" block you will need to fill in the username you use for your github account as well as the repository name which can be filled in with the results gotten from the first block. You can leave the path parameter empty to get the contents from the root folder or you can specify a path and the contents of that path will be returned.
As stated, if you expect to retrieve only one record, the use of "get repository content" block is more better suited. Also, you might want to switch this "List repository contents" block On Error status to either warning or ignore since Github API platform returns a 404 error if one of the queried repositories is empty.
Now if you are planning to use the "Get repository content" block another warning should be mentioned and that this block only works for files or blobs up to a maximum of 1 MB in size, as per Githubs platform limitations. The response of this block should look like:
As you can see we have a couple of information stubs of that file, but most importantly from here is the SHA property, which is needed if you are planning to later on use the "Create or update file contents" block, required input parameter for the update of a file/blob.
Now if you're planning on updating files that are bigger than 1MB and you require the SHA of that file, we suggest using the list repository contents block and search for the required file and SHA in that result.
As for other functionalities of the Github connector we support also getting and listing commits or issues present in a repository, listing of users and many other requests but, if you are in need of a request that isn't present, we also offer the functionality to create your own requests to the Github API by making use of the RAW API blocks. These API blocks and their uses are explained in a separate article.
You can find attached to this article a simple JSON example which you can upload to your workspace, if you want to see a quick example of how to use version control to back up your QCS apps I suggest visiting the related article.
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
How to: Qlik Application Automation for backing up and versioning Qlik Cloud apps on Github
Does NPrinting have the ability to send NPrinting reports to a Microsoft Sharepoint or other worldwide web url address destination?
Local and Network path examples:
*This feature is not planned nor on the NPrinting road map at this time. You can check our 'ideas' page to determine if this has been requested. You can add your request at the link below if it has not: Ideation