The Smart Label

Comments

105 comments

  • Avatar
    Si Sense

    The latest version doesn't work for us in 6.2.0.336 either. We just get a blank widget.

    Chrome error console shows the following:

    common.js?g=gocoAodcg:47 error refreshing widget: 'Respondent'. (inner exception: TypeError: Cannot read property 'dim' of undefined) - TypeError: Cannot read property 'dim' of undefined

    at .<anonymous> (http://p2-sisense-c001:8081/plugins/main.js:3468:29)
    at Function.ce.extend.each (http://p2-sisense-c001:8081/js/common.js?g=gocoAodcg:34:13423)
    at addFilters (http://p2-sisense-c001:8081/plugins/main.js:3465:7)
    at Object.prism.registerWidget.data.buildQuery (http://p2-sisense-c001:8081/plugins/main.js:3539:4)
    at buildWidgetQuery (http://p2-sisense-c001:8081/js/app-main.js?g=gocoAodcg:177:9081)
    at execute (http://p2-sisense-c001:8081/js/app-main.js?g=gocoAodcg:177:9905)
    at http://p2-sisense-c001:8081/js/app-main.js?g=gocoAodcg:6:6529
    at Object.o [as forEach] (http://p2-sisense-c001:8081/js/common.js?g=gocoAodcg:6:788)
    at refresh (http://p2-sisense-c001:8081/js/app-main.js?g=gocoAodcg:6:6495)

     

    0
    Comment actions Permalink
  • Avatar
    Gilad

    The bug that Si described is when you have cascading filters.

    When you have such, then, this.jaql is undefined (addFilters function, line 106)

     

    0
    Comment actions Permalink
  • Avatar
    Kristian

    Yeah, same issue here. Could you please update the plugin to work with cascading dashboard filters? All of our dashboards using this plugin (that have cascading filters) are showing a blank widget now.

    0
    Comment actions Permalink
  • Avatar
    Scott Vickers

    Any way to get this to work when embedding with sisensejs?  The widget is blank and this error is dumped to the console:

    - TypeError: Cannot read property 'size' of undefined
    at w.render (https://localhost/plugins/main.js:4128:71)

    0
    Comment actions Permalink
  • Avatar
    Scott Vickers

    I've updated the render method so it works, not sure if this is the right way or not:

    var style = e.widget.style ? e.widget.style : e.widget.$$model.style;

    $lmnt.empty();
    $lmnt.append( "<div style='padding:10px;font-size:" + style.size + "' align='"+ style.halign + "'>" + res + "</div>" );

    0
    Comment actions Permalink
  • Avatar
    Sergey Borodich

    Can this widget be used with "Download PDF" or email report functionality?

    Every time I try to use these features in a dashboard with smart label, operation fails with "- widget type:smartLabel it not registered."

    Any known workarounds?

    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    When you select more than one value, only the first one appears in the Smart Label. Let's say that my dashboard filter is the Country and I allow the user to select more than one country at a time. If I select for example Canada and United States, the Smart Label only displays Canada. It can be confusing for the user. Is that supposed to work this way?

    0
    Comment actions Permalink
  • Avatar
    Michael Becker

    @Julien - something seems wrong with current version available for download. The functionality you're writing about was already implemented.

    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    @Michael - How is it supposed to react when you select more than one value? 

    0
    Comment actions Permalink
  • Avatar
    Michael Becker

    @Julien - as on the last screenshot. You should get Name of Dimension, and then after ":" all selected values separated by coma ",".

    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    @Michael - Ok, I see. So, I confirm that it's not working for me. I downloaded the last version of the plugin from August 15 2016. Is anybody else experiencing the same problem? Can this be fixed please?

    0
    Comment actions Permalink
  • Avatar
    Ido Darnell

    @Michael @Julien

    We're looking into this and will update you shortly with our progress

    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    @Ido - Thanks, keep me posted.

    0
    Comment actions Permalink
  • Avatar
    Nattapat Khuvuttayakorn

    How to resize widget's height of smart label on mobile?




    294917.jpg
    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    @Ido - Any news about my last request? When do you expect it to be fixed?

    0
    Comment actions Permalink
  • Avatar
    Sergey Borodich

    Following up - anyone else has PDF export error with this plugin? It fails with "- widget type:smartLabel it not registered.

    Maybe there's a way to bypass this?

     

    0
    Comment actions Permalink
  • Avatar
    Avi Tavdi

    @Sergey - that mean that you had a smartLabel widget and now it does not exist anymore, please make sure the smartLabel plugin exist in your plugins folder located at prismweb/plugins.

    0
    Comment actions Permalink
  • Avatar
    Lee

    @Sergey - After you've made sure that the smartlabel library exists in C:\Program files\Sisense\Prismweb\plugins and restarting IIS, canclear browser cache and refresh browser?

    0
    Comment actions Permalink
  • Avatar
    Sergey Borodich (Edited )

    @Lee, yep, even restarted Sisense server and cleared Google Chrome cache and local storage, widget works fine but PDF exports fails....

    0
    Comment actions Permalink
  • Avatar
    Lee

    @Sergey This sounds like an IIS issue or in configuration, please see this guide and open a ticket with support if it doesn't help

    0
    Comment actions Permalink
  • Avatar
    Joel Baynes

    @Nick facing the exact same problem. If you achieved any work around yet?

    0
    Comment actions Permalink
  • Avatar
    Yoav

    @Nick and @Joel

    Unfortunately the plugin today does not support dependent filters, only regular ones.

    0
    Comment actions Permalink
  • Avatar
    Praveen Prabhu

    Hi ,

     

    I need a help regarding smart label. Earlier the plugin used to accept multiple dimensions in the same widget. But after the update, it shows only one dimension, also we cannot show the dimension name in the widget. please look into the below screenshot - 
    find the below

    0
    Comment actions Permalink
  • Avatar
    Michael Becker

    @Praveen - ensure you've downloaded the version from 28th of October. It should solve this issue. 

    0
    Comment actions Permalink
  • Avatar
    Malinda Jepsen (Edited )

    In 6.4.2.11006, I'm having an issue with the Smart Label putting a comma just before my text.  When I installed the newer version, I had to go turn off the labels and then it displayed a comma instead of the label.  Has anyone else seen this and any ideas on how to fix it? (using the October version of the plugin)

    0
    Comment actions Permalink
  • Avatar
    Omer

     

    @Malinda - I would need you to further elaborate on your case. I think it would be best if you submit a ticket on this with the whole details of the issue (screenshots are welcome as well).

    Thanks,

    Omer

    0
    Comment actions Permalink
  • Avatar
    Malinda Jepsen

    Thanks.  I will do that.

    0
    Comment actions Permalink
  • Avatar
    Jon Wrye

    Access to the plugin is restricted now? Was this intentional? Just trying to update our existing plugin and can no longer download it freely. I requested access - how long will it take to be granted?

    0
    Comment actions Permalink
  • Avatar
    Oxana Noa Umansky

    Hi Jon,

    I'm looking into this and will update you shortly. 

    Thanks,

    Oxana

    0
    Comment actions Permalink
  • Avatar
    Oxana Noa Umansky

    Jon and all, you should have access to the file again. Please let me know otherwise. 

    -Oxana

    0
    Comment actions Permalink

Please sign in to leave a comment.