The Smart Label
Download: Smart Label
Introduction
The following article describes steps needed to add to create smart text widget to present ElastiCube fields as text.
For example - present the selected Country on the upper part of the dashboard:
Implementaion Steps
-
Extract the folder in the attached zip file into \...\Sisense\PrismWeb\plugins. If you are using version 7.2 and higher unzip the contents into your C:\Program Files\Sisense\app\plugins\ folder.
-
Create new widget and chose the smart label icon from the list:
-
Choose a field to present, set a design and hit "Apply":
[Please note, that in case you have multiple values, it will present the first one. Therefore, it is always better to change the type of the filter to single value only, like in the given example]
*****UPDATE October 30th, 2015: Script now supports more than one column in the "Rows" category displaying the contents as a list *****
*****UPDATE March 25th, 2016: Updated to support display of multiple rows AND multiple selection on the filters *****
*****UPDATE April 27th, 2016: Updated to display "All" when there is no filter selection, instead of listing out every member *****
*****UPDATE May 13th, 2016: Updated the script to resolve an issue of a "None" text displayed instead of the value****
*****UPDATE June 2nd, 2016: Updated the script to resolve an issue with date formatting not being passed through, as well as an issue with NOT filters****
*****UPDATE July 5th, 2016: Updated to work with Sisense v6.4
*****UPDATE Aug 15th, 2016: Plugin updated with minor issues fixes
*****UPDATE Feb 3rd, 2017: Plugin updated to work with dependent filters
*****UPDATE Mar 8th, 2017: Plugin updated to work with widget filter. Design options for Labels and Multiple Values work as expected.
*****UPDATE May 23rd, 2017: Plugin updated to work with dependent filters.
*****UPDATE June 12th, 2017: Plugin updated to work on 6.6.1 and support back compatibility with previous versions of the plugin.
*****UPDATE August 13th, 2018: Plugin updated: Widget's style menu offers background and text colors, as well as vertical alignment.
Download previous version from March 8th, 2017
-
Hi
I re-downloaded this plug in to get the below update but I am not seeing any new setting options available to me . I disabled and enabled the plugin from the Admin tab, and reset the IIS too for the changes to come in effect, but still nothing. Could anyone please send a screenshot of their SmartLabel in Edit mode. I have attached mine to this message.
****UPDATE August 13th, 2018: Plugin updated: Widget's style menu offers background and text colors, as well as vertical alignment.
-
Jessica,
Do you have bloX installed? I was seeing this same issue on SmartLabel and Text widgets, and came across this forum post indicating that bloX was causing the issue. A comment made by a Sisense rep on the post linked to a hotfix you could download, which seemed to correct the issue for me!
Worth looking into!
Megan
-
Hi Hila,
As previously logged, the smart label does not show up on a PDF report.
Also, when using the send report by email function, it generates a widget error and the smart label does not show on the report received by email.
Any fix for this bug ?
Many thanks in advance
Best, David
-
Hi Dave
I've replaced all instances of the smart label with blox. It ultimately provides much more flexibiliy in formatting and combining text with other images/kpis/etc...
https://documentation.sisense.com/latest/addons/sisenseblox.htm#gsc.tab=0
Good luck!
Ramon
-
Apologies in advance, this(JSON?) is completely new to me. Due to dependent filter issues, I was advised to switch from SmartLabel to Blox. My problem is i'm trying to display goals in paragraph format and all the Blox examples, tutorials, and templates, are built to handle much more complicated stuff than what I'm trying to do. In the image below the top widget is SmartLabel and the bottom widget is my attempt to recreate in Blox:
In SmartLabel if I had multiple values for Initiative 1 it would combine them into continuous lines, but in Blox it separates them into different text blocks. I can live with that but how do I get rid of the new line in between the title and the Item? For example I'd like it to say Target Date: 6/30/18 instead of
Target Date:
6/30/18
Here's what I've pieced together:
Thanks
-
Edit to say: just saw you posted this back in November, so you probably already have it figured out.
I think you would just put the {panel:date} right in with the "Target Date:"
"text": "Target Date: {panel:TargetDateInitiative1}" -
Hi Sophia Lee,
The SmartLabel plugin is a really old one and I'm not sure that it is being actively develoepd anymore.
I would reccomend using BloX instead.It requires a bit more learning, but enables you a lot more flexabilty and most importantly - it is officialy supported lby Sisense.
Start of with the simple "Welcome to BloX" tempalte and add a panel to the widget with your data.
Then, plot the below snippet whereever you wish your numbers to appear
{panel:YourPanelName}
Feel free to reach out if you need assistance in setting it up, its pretty straight forward and we're always happy to help (:
-
Hey Antti Wolk
Instead of using the smart label plugin you can easily achieve the same functionality with Blox which is officially supported,
LMK if I can assist in any way, feel fee to reach out,
qbeeq.pl
-
I am trying to recreate a Smart Label widget with Blox. Here is a screenshot of the original widget in Smart Label:
And here is how it pulls the values from the model's columns:
I am playing with different snippets but am a newbie and have not been able to figure it out. Any suggestions?
Please sign in to leave a comment.
Comments
109 comments