Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 219,038 members
  • 6,122 online
  • 1,997,755 posts
  • 149,770 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    Design and Development

    Exception in routine but the job exit as 0

    For example, let say i create a routine that will pretty print JSON on log package routines; import org.apache.log4j.*; import routines.system.JSONOb... Show More

    For example, let say i create a routine that will pretty print JSON on log

    package routines;
    
    import org.apache.log4j.*;
    import routines.system.JSONObject;
    
    public class PrettyPrintJSON {
      private static org.apache.log4j.Logger log = LogManager.getLogger(PrettyPrintJSON.class);
    
      public static void print(String jsonPayload, String description) {
        try {
          JSONObject json = new JSONObject(jsonPayload); // Convert text to object
          log.info(description + " JSON  : \n" + json.toString(4));
        } catch (Exception e) {
          e.printStackTrace();
        }
        return;
      }
    }

     

    So when I use this routine on Tjava or inside another routine that uses non JSON string

    String json ="sorry I not JSON man!";
    PrettyPrintJSON.print(json,"Wakanda create case payload");

     

    Seem the job still keep continue running and exit with status 0.

     

    I expecting it to stop or exits with status 1

    Show Less
  • forum

    Design and Development

    Talend Studio: Job hierarchy - How do I know if a Job is a Master Job?

    Hello everyone, How do I know if a Job is a "Master" Job, meaning it is not being called from any other Job?I'm using Talend Studio and I know there i... Show More

    Hello everyone,

    How do I know if a Job is a "Master" Job, meaning it is not being called from any other Job?
    I'm using Talend Studio and I know there is an option accessible by right-clicking on a Job to "Open Job Hierarchy". It shows the flow starting from that Job onwards. But it doesn't show if that particular Job is being called by another Job.
    So, my question is: how do I know if a Job I'm looking at is being called by another Job, thus being its child.

     

    Thank you so much.

    Rui
     

    Show Less
  • forum

    QlikView Integrations

    Task Schedular Does not recognize a running instance of Outlook

    I'm attempting to use the mSendMail() subroutine in VBScript to first check if Outlook is already running. If Outlook is running, the script will proc... Show More

    I'm attempting to use the mSendMail() subroutine in VBScript to first check if Outlook is already running. If Outlook is running, the script will proceed with sending the email using the existing instance of Outlook. Otherwise, it will start Outlook before sending the email.

    The script works correctly when executed manually in the QlikView macro editor. However, when I attempted to run it from the Task Scheduler, it did not recognize the already running instance of Outlook. Instead, it opened another instance and could not send the email.

    I expected the Task Scheduler to recognize the running instance of Outlook.

    Below is the code:

    Sub mSendMail(pdfFilePath)
    Dim objOutlk
    Dim objMail
    Const olMailItem = 0

    ' Check if Outlook is already running
    On Error Resume Next
    Set objOutlk = GetObject(, "Outlook.Application")
    On Error GoTo 0

    ' If Outlook is not running, start it
    If (objOutlk = "") Then
    StartOutlook
    ' Wait for Outlook to start
    ActiveDocument.GetApplication.Sleep 5000 ' Wait for 5 seconds for Outlook to start
    ' Create a new instance of Outlook application
    Set objOutlk = CreateObject("Outlook.Application")
    End If

    ' Create a new mail item
    Set objMail = objOutlk.createitem(olMailItem)

    ' Recipient's email address
    objMail.To = "example@yahoo.com"

    ' Subject of the email
    objMail.Subject = "Testing " & Date()

    ' Body of the email
    objMail.HTMLBody = "Body of the email, This is an automatic generated email from QlikView."

    ' Add attachment (use the generated PDF file)
    objMail.Attachments.Add pdfFilePath

    ' Send the email
    objMail.Send

    ' Release resources
    Set objMail = Nothing
    Set objOutlk = Nothing
    End Sub

    Sub StartOutlook()
    Dim oShell
    Set oShell = CreateObject("Wscript.Shell")
    oShell.Run "cmd.exe /K ""C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE"" ", 0, False
    End Sub

    Please, what can I do?

    Show Less
  • forum

    Integration, Extension & APIs

    Embedded Sheets Qlik on Web Site

    Hello, Someone can help me: I'm trying to paste the iframe on an html page of my domain, but trying to log in, this page always returns the error mess... Show More

    Hello,

    Someone can help me: I'm trying to paste the iframe on an html page of my domain, but trying to log in, this page always returns the error message "connection denied nametenant.eu.qlikcloud.it"

    Is there any setting to set up?

    In practice: I made the sheet public, I took the embedded, I pasted it on my web page www.dominio.it/qlik.html and I pop up the notice described.

    Show Less
  • forum

    New to Qlik Analytics

    Duplicates

    Hi, I have data like this and when we do the calculation like below it ends up with duplicates. if(num([cal date])-num(today())>0 and confirmed='N',1,... Show More

    Hi,

    I have data like this and when we do the calculation like below it ends up with duplicates.

    if(num([cal date])-num(today())>0 and confirmed='N',1,0) as "Review Eve"

    expression: sum("Review Eve") gives duplicates

     

    ref cal date major code minor code review quoted amt agreed amt confirmed today()
    00ACCL27 01-04-2016 200 100 Initial Rent   177947.88 Y 09-05-2024
    00ACCL27 01-04-2016 200 130 Initial Rent   14351.93 Y 09-05-2024
    00ACCL27 01-01-2017 200 100 Rent Review   177948 Y 09-05-2024
    00ACCL27 01-01-2017 200 130 Rent Review   14352 Y 09-05-2024
    00ACCL27 01-04-2019 200 100 Rent Review 177947.88 177947.88 Y 09-05-2024
    00ACCL27 01-04-2019 200 130 Rent Review 14351.93 14351.93 Y 09-05-2024
    00ACCL27 01-04-2022 200 100 Rent Review 177947.88 177947.88 Y 09-05-2024
    00ACCL27 01-04-2022 200 130 Rent Review 14351.93 14351.93 Y 09-05-2024
    00ACCL27 01-04-2025 200 100 Rent Review 177947.88 0 N 09-05-2024
    00ACCL27 01-04-2025 200 130 Rent Review 14351.93 0 N 09-05-2024
    00ACCL27 01-04-2028 200 100 Rent Review 177947.88 0 N 09-05-2024
    00ACCL27 01-04-2028 200 130 Rent Review 14351.93 0 N

    09-05-2024

    Show Less
  • forum

    Deployment & Management

    QlikSense Change Qlik Logo on Error Page

    Hi everyone Due to security requirements, we need to change the Qlik logo on QlikSense when a user hits an error, such as error 400 or Error 404. We n... Show More

    Hi everyone

    Due to security requirements, we need to change the Qlik logo on QlikSense when a user hits an error, such as error 400 or Error 404. We need to remove or change only the logo so that the application is unidentifiable. Could someone point to a direction I can take to accomplish this?

    Show Less
  • forum

    Qlik Cloud Data Integration

    Set Variable when the app is opened

    In QlikView, you can set a variable's value at the time the QVW is opened, by using the 'Set Variable' action in the 'OnOpen' trigger.  I know that in... Show More

    In QlikView, you can set a variable's value at the time the QVW is opened, by using the 'Set Variable' action in the 'OnOpen' trigger. 

    I know that in Qlik Cloud, field selections can be set to default values when the app is opened by defining the field selections in a Default Bookmark, but how do you set a variable's default value when the Qlik Cloud app is opened? I can't find a way to set a variable's default value within the Default Bookmark config, so how else can this be done in Qlik Cloud, to provide an equivalent to QlikView's 'Set Variable' feature in the OnOpen trigger?

    Show Less
  • forum

    Design and Development

    Message opening Talend Studio - difference between Studio and project versions

    Hi everyone, I'm using Talend Cloud Big Data (R2024-03) and when pulling the Jobs from a GitLab repository to access 2 projects I'm receiving 2 differ... Show More

    Hi everyone,

    I'm using Talend Cloud Big Data (R2024-03) and when pulling the Jobs from a GitLab repository to access 2 projects I'm receiving 2 differente messages (one for each project):

    - The project version [xxxx(xxxx-patch)] on the target branch is higher then the update version configured in your Studio.

    - The project version [zzzz(zzzz-patch)] on the target branch is lower than your Studio version. Migrate your project first.

    Must I update my Studio version and then pull all the Jobs, thus migrating them? Or these messages indicate I have to follow another route?

    Thank you.

    Rui

    Show Less
  • forum

    App Development

    Versionning of visualizations ?

    Hi,  Some of our customers at Next Decision, (FR) ask if collaboration and versionning on a same sheet/chart will be available soon. Since it can be s... Show More

    Hi, 

    Some of our customers at Next Decision, (FR) ask if collaboration and versionning on a same sheet/chart will be available soon. 
    Since it can be serialized in JSON, I think it's quite easy to implement it, isn't it ?

    Kind regards

    Show Less
  • forum

    Integration, Extension & APIs

    JWT 401 unauthorized

    Hi all, i'm trying to login to qlik using a JWT token but when i try to post to https://horsadev.eu.qlikcloud.com/login/jwt-session with the the web i... Show More

    Hi all,

    i'm trying to login to qlik using a JWT token but when i try to post to https://horsadev.eu.qlikcloud.com/login/jwt-session with the the web integration id and the bearer token i get the following error.

    LorisLombardo87_0-1715252504937.png

    the token is made up like this:

    LorisLombardo87_2-1715252675807.png

    user details: name sub and email are the exactly like the console.

    any idea of what can go wrong here?

     

    thanks,

    Loris

    Show Less
Leaderboard

Customer Story

Qlik Data Integration & Qlik Replicate story

Qlik enables a frictionless migration to AWS cloud by Empresas SB, a group of Chilean health and beauty retail companies employing 10,000 people with 600 points of sale.

Customer Story

Building a Collaborative Analytics Space

Qlik Luminary Stephanie Robinson of JBS USA, the US arm of the global food company employing 70,000 in the US, and over 270,000 people worldwide.

Location and Language Groups

Choose a Group

Join one of our Location and Language groups. Find one that suits you today!

Collaborate

Healthcare User Group

Healthcare User Group

A private group is for healthcare organizations, partners, and Qlik healthcare staff to collaborate and share insights..

All are welcome

Japan Group

Japan

Qlik Communityの日本語のグループです。 Qlik製品に関する日本語資料のダウンロードや質問を日本語で投稿することができます。

Request to join

Brasil Group

Brazil

Welcome to the group for Brazil users. .All discussions will be in Portuguese.

open to all

Blogs

Community News

Hear from your Community team as they tell you about updates to the Qlik Community Platform and more!