Bookmarks

Comments

34 comments

  • Avatar
    Ahuva Shabtai

    Can't wait to try this!

    0
    Comment actions Permalink
  • Avatar
    Jim Becker

    This is a great feature.  However, the inability to persist user bookmarks as a dashboard is versioned is a show stopper.  I found that if I export the dashboard, the local owner's bookmarks are contained in the .dash file.  Is there a way to get all users' bookmarks extracted?   If so, i can figure out a way to merge the bookmarks into the next version of the dashboard.  

    0
    Comment actions Permalink
  • Avatar
    Larry Craig

    In principle it is a great feature, but I agree with Jim that the overwriting of user bookmarks on republishing really impacts the usefulness of the plugin.  In addition, it would be great if a bookmark could traverse dashboards in order to effectively synchronize multiple dashboards.

    1
    Comment actions Permalink
  • Avatar
    Oleg Fil

    Unfortunately persisting user's bookmarks after republishing the dashboard is not supported by this plugin.

    0
    Comment actions Permalink
  • Avatar
    Eric Pouliot

    Hi Oleg, 

     

    Would it be possible to add persistence support or provide some kind of workaround for users to somehow be able to recuperate them more easily than having to recreate them? 

     

    Our customers like this feature, but one of our very large customers has just filed a complaint on this particular behavior. I'm sure you can see how adding persistence after republish would significantly enhance the value of this plugin.

     

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    Jim Becker (Edited )

    Coincidentally I ran into the persistence issue today as I was releasing new versions of dashboards.  I falsely assumed that export would include all bookmarks and I could merge those into the new dashboard .dash file and import.  Unfortunately I was reminded by my own comment above that this works only for the owner's bookmarks.  

    We have 120 customers using 15 dashboards and as things stand I have no way to know how many bookmarks have been created, much less a way to persist them.  If export includes the owner's bookmarks, can't it be expanded to extract all user's bookmarks?   Or can an API be created to export all bookmarks?   

    Since republish deletes bookmarks, there is nothing I can do to persist the customer bookmarks.  My only choices are a) remove the feature or b) explain to our customers that they can use the feature but their bookmarks will get deleted each time the dashboard is published (editing the dashboard; sharing with a new group or user; etc). 

    0
    Comment actions Permalink
  • Avatar
    Eric Pouliot

    Really feeling ignored here... 

    0
    Comment actions Permalink
  • Avatar
    Oxana Noa Umansky

    Hi Eric and all,

    I'm sorry there's been a delay in our response. Let me check with the team and get back to you. 

    Thanks,

    Oxana

     

    0
    Comment actions Permalink
  • Avatar
    Oleg Fil (Edited )

    Eric, Jim,

    Whenever a dashboard bookmark is created it adds a bookmark to the "bookmarks" property in the dashboard document in MongoDB:
     
     
    The temporary solution we may suggest would be to create and run a MongoDB script every time before republishing to save dashboards' bookmarks, then republish the dashboard (this will override or remove user's bookmarks) and then add bookmarks back for each dashboard.
    0
    Comment actions Permalink
  • Avatar
    Eric Pouliot

    Hi Oleg,

    Thanks for the feedback! Can you help understand what you mean by temporary solution? Do you intend to enhance the persistence at the plugin level and you're suggesting that until that is finished, we write a script to manage this? I'm wondering, would this type of script be better as packaged into the plugin somehow so that multiple customers can use it, even if it is a temporary measure? Thanks!

    0
    Comment actions Permalink
  • Avatar
    Jim Becker

    I had no MongoDB experience until late last week.  I managed to write a query that extracts all the dashboard bookmark data:  dashboard title; user ID; bookmark name; filter criteria.  Separately I am able to query the users collection to get userName (I haven't figured out how to do a join yet).  This does give me the scope of the bookmarks in use in our application.  At a minimum I am now able to predict the impact of republishing a dashboard.  

    Adding bookmarks back for each dashboard after republishing looks to be a much more complex task. Sisense appears to create images of each dashboard for each user.  The user's bookmarks are specific to their instance of the dashboard (or so it seems).  It's not just a matter of adding the bookmarks back for each dashboard.  You'd have to add them back for the user's instance of the dashboard.  Much more testing required to better understand how this works. 

    0
    Comment actions Permalink
  • Avatar
    Takashi Binns

    Hey Jim and Eric,

    I've put together an updated version of this plugin that saves the bookmarks separate from the dashboards. Can you try this version and let us know if it works for you?  Aside from saving the bookmarks separately, it should be functionally equivalent to the original plugin.

    boomarks v2 beta

    0
    Comment actions Permalink
  • Avatar
    Eric Pouliot

    Thanks Takashi! Will give this a go! 

    0
    Comment actions Permalink
  • Avatar
    Jim Becker

    Thank your for taking the time to work on this. Unfortunately my first test didn't work too well. i saved a bookmark but when I return to the bookmark list, it is nowhere to be found. I get a popup that encourages me to enter a new bookmark name and does not give me the list of bookmarks I saved. Also, I notice the concept of public vs private. I assume this is by user (public = all users; private = user who created the bookmark). Our implementation of Sisense is multi-tenant. Public implies cross customer in our case which is not something we'd ever want a user to be able to do. Finally, as you work thru this please consider the use case of versioning a dashboard. We develop a dashboard for a release and export the .dash file for installing in production. The old version is deleted (or unshared) and a new version is created via import. Thus a new dashboard with a new OID is created without any reference to the previous version. Would your solution won't persist the bookmarks in this case? Thanks again for taking the time to work on this.

    0
    Comment actions Permalink
  • Avatar
    Malinda Jepsen

    @Jim: What version of Sisense are you using? With the latest versions, the dashboard keeps it's GUID. You no longer need to delete a dashboard and import it; you can overwrite it!  YAY!

    1
    Comment actions Permalink
  • Avatar
    Jim Becker

    FYI.  I restored the original plugin. Unfortunately i'm no longer able to create bookmarks.  Type 1 character and I get the error below.  

    0
    Comment actions Permalink
  • Avatar
    Jim Becker

    Good point.   I'm using a very old version (6.0).  I will retest on v6.6.  That's probably why I'm having challenges.  Thanks for reminding me.  

    0
    Comment actions Permalink
  • Avatar
    Takashi Binns

    Hey Jim,

    I should have clarified, the new beta version of this plugin requires Sisense version 6.5+.  Let us know how it goes, when testing on version 6.6.  Regarding public/private, you are correct that this logic is applied per user but could be modified to work by user-group instead.

    thanks!

    0
    Comment actions Permalink
  • Avatar
    Jim Becker

    Thanks Takashi.  Any recommendations on how I can fix the problem I now have on the 6.0 database where I can no longer create bookmarks with the old plugin (Bookmark already exists with this name).  

    0
    Comment actions Permalink
  • Avatar
    Jim Becker

    Takashi,

    I was able to do some testing today of v2 beta on 6.6.1.11003.  Bookmarks successfully persisted when dashboard was published/re-published.  And bookmarks persisted when the import/overwrite option was used to update the dashboard.  

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Krishna D

    Hi Takashi,

     

    Does this plugin work on V6.7 ? Also, will the existing bookmarks of the users get deleted/updated if we replace the old plugin with this new one.

     

    thanks,

    Krishna

    0
    Comment actions Permalink
  • Avatar
    Takashi Binns

    Hi Krishna,

    Yes, this plugin was tested on version 6.7 so it should work just fine for you.  However, there is no simple way to port bookmarks created with the original plugin over to the updated plugin.

    -Takashi

    0
    Comment actions Permalink
  • Avatar
    JJ Chritton (Edited )

    We have the plugin version from 7/26/18 and running on Sisense version 7.10 but I'm having issues with the delete icon for existing bookmarks. It just shows up as a weird gray little line instead of a button. See attached. Any ideas on how to get the icon to appear again?

    0
    Comment actions Permalink
  • Avatar
    Kara Schrader (Edited )

    I'm having the same issue as JJ, the delete icon shows as a grey box for me, and when I type in a bookmark name the UI rearranges and looks a bit strange 

    0
    Comment actions Permalink
  • Avatar
    Kara Schrader

    JJ I ended up updating the plugin myself to get the desired look.

    In bookmarkTemplate.html

    Add this to the top of the file: 

    <header>
    </header>
     
    (you can get a different delete icon from somewhere else if you choose, this is just what I picked)
     
    Then replace line 63:
    <div class="action-icon"></div>
     
    with:
    <i class="far fa-trash-alt"></i>
     
    I did some other things to rearrange and get the popup window to look right for me, but if you don't have that problem then the above mentioned changes are all you would need.
     
    1
    Comment actions Permalink
  • Avatar
    JJ Chritton

    Thanks Kara! I ended up using your solution, but I think some of the spacing was removed when you pasted in the tags. Here's what I ended up using in Sisense V 7.10:

    <head>
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
    </head>

    Replaced other icon reference with: 

    <i class="fas fa-trash-alt"></i>

     

    0
    Comment actions Permalink
  • Avatar
    JJ Chritton

    We decided to remove the option to create public bookmarks by hiding the public/private buttons, which you can do by editing the bookmarktemplate.html file and editing this line to include the additional display setting:

    <div class="ux-rbx-list" style="width: 250px;float: left;height: 40px;line-height: 40px;display:none">

    0
    Comment actions Permalink
  • Avatar
    Eric Pouliot

    Hey folks, 

    When trying to add this plugin in 7.1, I get the following error when trying to create a new bookmark. I don't have to type anything. Similar error to Jim's.

    Does anyone know how to resolve this? I replaced the legacy version of the plugin. I'm wondering if the old version of the plugin created artifacts the new version doesn't like? 

    I tried renaming the plugin to bookmarksNew, and the message went away, but all I get is a save button (no private/public option) and nothing happens when I click it.

    0
    Comment actions Permalink
  • Avatar
    Eric Pouliot

    Got this resolved. Needed a local browser browser history purge. Good to know because we'll need to let our customers know when we make the change.

    0
    Comment actions Permalink
  • Avatar
    Kara Schrader

    I'm not sure exactly what the circumstance is, but sometimes when I apply a saved filter it will filter my widgets, but a widget may require that I refresh the widget for me to be able to interact with it. Has anyone else had that issue?

    Also, is there a way to conditionally allow only admins to save public filters and everyone else can only do public? 

    0
    Comment actions Permalink

Please sign in to leave a comment.