How to call an external / custom function in Qlik Sense?Article Number: 000050728 | Last Modified: 2020/01/15
- Qlik Sense Enterprise, June2017 and higher
If you want to write your own custom functions to use in or call from Qlik Sense, there are two different ways to approach this:
- Call an external script from Qlik Sense via the Using the EXECUTE statement, or
- Implement Advanced Analytics Integrations / Server Side Extensions (June 2017 release and later)
Option 1 allows running of external scripts while Qlik Sense loads data; however, this means that (1) this cannot be called from visualizations / expressions, and (2) requires changing security settings in Qlik Sense that pose a security risk.
Option 2 allows calling of external functions both within the data load script and within visualizations / expressions, and does not require changing default security settings. However, it is also the most-involved option as this requires writing custom code. Our Help Site and Qlik Community provide some basic introductions, there are several examples available on the qlik-oss GibHub repository, and the following Knowledge-base articles also contain basic tutorials on Server Side Extensions / Advanced Analytics Integration:
Please note that if you require Qlik to provide a custom solution for you, that you need to reach out to Consulting Services as this work is not within the scope of Technical Support (see How to Contact the Consulting Team?, or ask Qlik Support for your Account Owner's contact information).
Debugging or writing custom code is supported by the Qlik Professional Services or Presales teams. These examples are provided for demonstration purposes to explain specific scenarios. No Support or maintenance is implied or provided. Further customization is expected to be necessary and it is the responsibility of the end administrator to test and implement an appropriate rule for their specific use case.
Have a Question?
Search Qlik's Support Knowledge database or request assisted support for highly complex issues.Submit a case
Experiencing a serious issue, please contact us by phone. View phone numbers and hours by region.