Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Jun 26, 2023 3:26:33 AM
Oct 15, 2021 12:34:34 AM
With Qlik Application Automation, you can get data out of Qlik Cloud and distributing it to different users in formatted Excel. The workflow can be automated by leveraging the connectors for Office 365, specifically Microsoft SharePoint and Microsoft Excel.
Here I share two example Qlik Application Automation workspaces that you can use and modify to suit your requirements.
Content:
Video:
Note - These instructions assume you have already created connections as required in Example 1.
This On-Demand Report Automation can be used across multiple apps and tables. Simply copy the extension object between apps & sheets, and update the Object ID (Measure 3) for each instance.
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.
I have palyed with the users island table to be able to retrieve the User generation the report but it is still replacing it with the user who created the automation.
Question:
Is it possible to save the Excel file with the name of the user that initiated the Automation? which bloacks need to come into place to get this information?
Hi @didierodayo
When an Automation is set to triggered, anybody with access to the GET or POST URL with the Execution Token is able to execute the Automation. There's no concept of 'who' triggered the Automation within Application Automation.
The only way to get this detail is to pass this information to the Automation, which is possible via either an Extension or Selections in an App
Hi @MattGrayndler it's a great job!!
Trying to make other reports I wondered how can we add a new excel sheet to the report.
For example, if we want to set a cycled report per region, where each sheet is a region. I tried with Add Worksheet block, but the error given when it creates a new table (create excel table with headers 2) in the new sheet is : "
Hi @jesus_gomez ,
This is certainly possible but is a more complex use-case.
The error is because each table in Excel needs to have a unique name, so you need to update 'Create Excel Table With Headers' to ensure that a unique table name is being created each time. I think i just wrote 'Report' so you should append with your dimension value.
You also need to make sure you clear the rowdata variable at the end of each loop.
I have created an example see below:
Scheduled Excel Report - Dimension Cycle.zip
Because we don't have the ability to duplicate a worksheet, there is no formatting capability with this method (header etc). If you want something more formatted and your dimension values are fixed then you should create the Worksheets in advance in the template.
this definitively works!! Now we are able to attach the report to the mail also
Thank you very very very much!
Weird, I get the following issue when clicking on the link in the email:
Hi,
Under Create Share link check what is your expiration date.
It should be in the future.
This solution is great, where I can find documentation on the use of blocks in detail, I need to make a filter and not send the raw table
😃
It sounds like you just need to add a 'Select Field Value' block before the 'Get Straight Table Data' one.
Information about how to use the Connectors within Qlik Application Automation are found within this knowledgebase, specifically for Qlik Cloud:
https://community.qlik.com/t5/Knowledge/Qlik-Cloud-getting-started-with-the-Qlik-Cloud-connector-in/...
I also recommend the video playlist:
https://www.youtube.com/playlist?list=PLkRFvjyuHFvIcy-KzdA4y6CIF8n34P4OO
I am still having trouble with the automation when there are quotation marks in my data. I saw mentioned in the comments that this was resolved. Where can I find the solution? Is it an updated json file?