Smart Cards, a Qlik Sense Extension
Available in https://github.com/iviasensio/SmartCards
Previous version 1.1 7-feb-2022. Compatible with QS September 2017 or higher Previous version 1.2 16-may-2022. Compatible with QS September 2017 or higher Current version 1.3 10-aug-2022. Compatible with QS September 2017 or higher Current version 1.4 16-jun-2023. Compatible with QS September 2017 or higher Current version 1.5 11-jan-2024. Compatible with QS September 2017 or higher
Author Ivan Felipe Asensio QlikTech Iberia,s.l.
This extension is a text object with simple and smart look that performs:
- a customizable grid with dimension images
- hover effects to access to data
- smart and high customizable text capabilities
- dynamic colors and icons
- work with texts, icons and images
- selectable
- smoth shapes
- responsive design
Bug Fixes in 1.1:
- get a json protocol error when updating a variable
- could not refresh dimension in case it start with symbol =
Improvements in 1.2:
- Allow a path for images in a subfolder inside the extension
- Allow to work with different image extensions (png + jpg + ..., just add the extension in the main dimension)
Improvements in 1.3:
- Allow adding text over the image
- Some examples use other extensions : . "SmartText" : https://github.com/iviasensio/SmartText . "BeautifyMe" : https://github.com/iviasensio/BeautifyMe
Improvements in 1.4:
- Allow chose size and position for background images
- Allow to round background images
- Allow adding a top bar with background colors and visual effects
- Shadows
Improvements in 1.5:
- Custom scroll
- More fonts
- More responsive options
- Padding control
- Allow images insted of icons between texts
- Allow full URL for external images
- Allow to set images as a left panel
*Install in SaaS
-
Download the package and zip the extension folder 'SmartCards'
-
Go to SaaS console-->extensions and import SmartCards.zip
-
You can also add the example and the theme provided:
- Extract the Netflix.qvf demo inside 'Examples' folder and import with the option "Upload app"
- Extract the theme, Netflix.zip, it's in the folder 'Themes', go to console-->Themes, import it
-
WARNING! By default YouTube resources are not enabled in SaaS, so you may need to apply some Content Security Policy
- In the Management Console go to Content Security Policy, and add 2 policies: . For www.youtube.com allow script-src . For img.youtube.com allow img-src
-
Some examples use safe images allocated in AWS/S3, so you need to allow access: . Go to the console\Content Security Policy . Add a new policy, call it "S3 public images" . allow this URL "publicqssaasbucket.s3.eu-west-1.amazonaws.com", only for the source type "img-src"
*Install in Server:
-
Download the package and zip the extension folder 'SmartCards'
-
in the QMC open the menu Extensions and import the SmartCards.zip
-
optional : -in the qmc open the menu apps and import Netflix.qvf -in the qmc extensions menu, import the theme Netflix.zip
-
WARNING! To make the dynamic images work in a different site (it's designed in SaaS), it needs to identify your Client Manage environment name. It uses the protocol https and the environment variable ComputerName(). Unfortunately not always work. So, if you have issues visualizing the images in the map object:
- edit the variable vClientManaged
- remove the logic path and type your right environment path, i.e.: remove ='https://' & ComputerName() & '/appcontent/' & DocumentName() & '/' and replace by 'https://ivan.servername/appcontent/' & DocumentName() & '/'
*Install in Desktop
- Download the package and copy the folder SmartCards in the path C:\Users'username'\Documents\Qlik\Sense\Extensions
- copy the example SmartCardsExample.qvf in C:\Users'username'\Documents\Qlik\Sense\Apps
- Unzip the theme Netflix.zip and copy the unzipped folder (called Netflix) in C:\Users'username'\Documents\Qlik\Sense\Extensions