qcb-qlik-sse
May 30, 2020 ยท View on GitHub
Project Status
Experimental
An implementation of qlik-sse, a Qlik Server Side Extension written in Javascript. The aim of this implementation is to allow for adding functions through a plugin directory.
This is an experimental project intended to explore creation of a "community contributed" Qlik Server Side Extension (SSE). The SSE feature in Qlik is very useful, but it's possible that over time customers may end up running and managing a number of different SSE tasks. This projects aims to explore if a repository of common SSE functions can be developed and deployed.
Project Structure
/functions
Contains functions to be added to the server. Each function is written as an individual .js files. Subdirectories are allowed.
The functions must export the following symbols:
-
functionDefinitionthe function that will be used as the first parameter to server.addFunction(fn, config). -
functionConfigan object that that will be used as the second parameter to server.addFunction(fn, config).
Functions should catch any potential errors. An uncaught error may terminate the entire server task.
Read more about writing functions in the qlik-sse doc
Running the Server
Configure the SSE in your Qlik installation by following these instructions
node index.js [options]
startup options:
--allowScript=trueenable inline script execution.--port nspecify server port. Default is 50051.
Configuring Mail
If you wish to use functions that send mail, you must configure the nodemailer properties.
- Rename or copy /lib/mail/sample-mailOptions.js to mailOptions.js.
- In mailOptions.js, configure SMTP host, port and authentication and other properties as required.
Function Documentation
Generated documenation of individual functions may be found here
Contributions
Contributions are welcome. Please fork the project and submit a PR.
I'm particularly looking for contributions of:
- New functions
- Convenience classes or restructing ideas that make implementing new function easier or more robust.