Is there an event that is fired for the removal of a dashboard bookmark?

Dillon Hoefener shared this question 51 days ago
Answered

I have a dashboard with custom code widgets, dashboard JS, and custom JavaScript charts and found that when I removed a default filter bookmark the report did not update accordingly.

To handle this, I need account for this scenario in my code. I didn't find anything in the wiki on the JS API references for this, and tested to see what filter events would fire when this happened, and only the 'applied' and 'changed' events fire when a bookmark is removed while its filters are applied, which are not useful for handling this.

Running YF 9.5.1.

Please advise.

Comments (4)

photo
1

Hi Dillon,


Thanks for your question.


The addition and removal of Dashboard Bookmarks is not an Event that is stored in the Event table. If you like, I can create an Idea post on your behalf for the inclusion of this EventCode.


To clarify, you are removing a Default Bookmark (for either the User and/ or Group) and you are expecting the Dashboard to be run with the new/ reset filters after this? The removal of filters (bookmarks or not) should not apply to Reports on a Dashboard until it is re-run with the new filters. Let me know if I have understood this correctly.


Kind regards,

Simon

photo
1

Hi Simon,

That would be good. My expectation is that the reports tied to the filters included in the bookmark would be rerun after the removal of the bookmarks because the filters are changed at that time. I don't necessarily think that Yellowfin should force this behavior, but I would at least like the ability to differentiate between the filters being removed as a result of the bookmark removal vs. a manual change to the filter value.

I'm saying this because I need the ability to decide programmatically how to handle this case vs. a manual filter change.

Thanks

photo
1

Hi Dillon,


Not a problem, I've made a separate idea post for the updated functionality of the bookmark feature here, where I will keep you updated on the progress of the Enhancement there.


I've also made another Enhancement for the inclusion of bookmark events in the Event table.


Let me know if you have any further questions on this topic, otherwise, I will go ahead and mark this as answered for the moment and continue correspondence on the relevant Idea posts.


Kind regards,

Simon

photo
1

Hi Dillon,


I hope you're well!


I'm just messaging to let you know that I will be closing this ticket for the moment, where you can continue to follow the progress of the Enhancement Requests on their respective pages listed below.


Kind regards,

Simon