Avatar

Moti Granovsky

Head of Developer Relations at Sisense DevX // Spent the past 12 years writing code and managing engineering teams, 6 of them at Sisense. // Loves Javascript more than should be admitted in public.

  • Total activity 302
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 5 users
  • Votes 16
  • Subscriptions 124

Activity overview

Latest activity by Moti Granovsky
  • Avatar

    Moti Granovsky commented,

    Hi, There's an add-on for Sisense called "Accordion" that does something similar - an iFrame used to show a secondary dashboard within another dashboard, and it passes filters. You can download thi...

  • Avatar

    Moti Granovsky commented,

    Hi Luis, if you mean specifically REST API and not Javascript API (that's still an API) - the answer is no, unfortunately. The JAQL query is constructed on the client side and thus only available t...

  • Avatar

    Moti Granovsky commented,

    Thank you Bastien and Derek! A getting started guide for this API is also available here: https://sisense.dev/guides/rest/datamodels.v2.html As well as a collection of example scripts implemented i...

  • Avatar

    Moti Granovsky commented,

    Hi Brian, I just realised there's one thing missing here - which API endpoint are you now using to update (and then retrieve) the connection settings for the models? You should be using PATCH on /a...

  • Avatar

    Moti Granovsky commented,

    Hi John, my apologies for not explaining myself properly: Because widgets only exist within the dashboard context, to register to widget events you must have a dashboard object available, which is ...

  • Avatar

    Moti Granovsky commented,

    Hi Naresh, You can use this to access the raw result data: widget.on('processresult', function (ev, args) {  console.log(args.rawResult.values);});

  • Avatar

    Moti Granovsky commented,

    Hi John, I assume this code is taken from a widget script (widget extension). When writing a widget script, it is executed in a specific context where a "widget" constant is available containing th...

  • Avatar

    Moti Granovsky commented,

    Hi Brian, this is strange - I've successfully done this operation on L8.0.5 in the past, and I am quite certain that the same data source is used as the REST API is a semantic layer over the API wh...

  • Avatar

    Moti Granovsky commented,

    Hi Arun, You're in the right direction with that /admin endpoint. You can use it to get the primary instances of all dashboards owned by a specific user by their username/email: For example: /api/v...

  • Avatar

    Moti Granovsky commented,

    Hi Olivia, Assuming you are using the Linux version of Sisense (where the REST v2 API is available) there's a brand new endpoint available on the latest version L8.2.1 exactly for this purpose! It ...