This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Working with API tokens in Qlik script */ | |
// ===================================================================================================== | |
// GET NEW TOKEN | |
// ===================================================================================================== | |
SUB GetGraphToken | |
LIB CONNECT TO 'Azure - Microsoft Graph API - AUTH'; | |
RestConnectorMasterTable: | |
SQL SELECT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Master script template! */ | |
// =============================================== | |
// MAPPING | |
// =============================================== | |
[mapping]: | |
Mapping LOAD * Inline [ | |
old, new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# Start/Stop Qlik services in correct order: | |
1. Qlik Sense Repository Database (QRD) | |
2. Qlik Sense logging service | |
3. Qlik Sense Service Dispatcher (QSD) | |
4. Qlik Sense Repository Service (QRS) | |
...and in no particular order... | |
5. Qlik Sense Proxy Service (QPS) | |
6. Qlik Sense Engine Service (QES) | |
7. Qlik Sense Scheduler Service (QSS) | |
8. Qlik Sense Printing Service (QPR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# Archive unused apps | |
# - Reference: https://github.com/ahaydon/Qlik-Cli-Windows | |
#> | |
# Connect to Qlik environment with Windows auth (current user) rather than a cert | |
Connect-Qlik -computername "hostname" -UseDefaultCredentials -TrustAllCerts | |
# Folder location for storing archived apps | |
$fldr = "C:\Users\folder\to\store\exported\QVFs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Change the background color for a specific Multi KPI */ | |
div[tid="Object ID"] div { | |
background-color: transparent!important; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Let string = '"' & 'String goes here!' & '"'; | |
// #################################################################### | |
SUB Base64Encode (string) | |
Let vbase_String = '$(string)'; | |
Let vbase_Base64Chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; | |
Let vbase_QuotePad = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:core'; | |
import 'dart:math'; | |
String getRandString(len) { | |
// Initialization of the string | |
var a = ''; | |
// Generate a list of UTF-16 code units that | |
// are limited to just numbers and uppercase letters. | |
// Thus, we filter out the code units for non-alphanumeric | |
// characters (58:64, inclusive). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:cc="http://creativecommons.org/ns#" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:svg="http://www.w3.org/2000/svg" | |
xmlns="http://www.w3.org/2000/svg" | |
id="svg8" | |
version="1.1" | |
viewBox="130 130 100 100" |
NewerOlder