Météo
November 21, 2024 · View on GitHub
This is a Qlik Sense mashup with Embed Objects. Check limitation to object with Qlik Embed html web tag, Nebular.js and Insight Advisor API.
Getting Started
Before we get started, you'll need to install Node and npm (or Yarn).
Contributing
Add .env file with parameter
PROJECT_NAME="Qlik Météo"
TENANT_URL="https://<tenant>.eu.qlikcloud.com"
APP_ID="<app_id>"
WEB_INTEGRATION_ID="<web_integration_id>"
ASSISTANT_ID="<assistant_id>"
Change in index.html file
<script
crossorigin="anonymous"
src="https://cdn.jsdelivr.net/npm/@qlik/embed-web-components"
data-host="https://<tenant>.eu.qlikcloud.com"
data-web-integration-id="<web_integration_id>"
data-cross-site-cookies="true"
data-auto-redirect="true"
></script>
Qlik Anwsers integration
<qlik-embed ui="ai/assistant" assistant-id="{{ ASSISTANT_ID }}" appearance="qlik-light"></qlik-embed>
Managing web integrations
You can create web integrations to add origins that are allowlisted to access the tenant. The web integration containing the allowlist is connected to an ID used in for example a mashup that is connecting to your tenant. When a request arrives, Qlik Cloud confirms that the request derives from an allowlisted domain and then approves the request, else not.
Installation Qlik mashup
Install package
npm install
Start a local server using:
npm run server
Start a dev on local machine using:
npm run dev
Check version npm package on package.json
npx npm-check-updates -u