Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

You can use the BellaDati Client API to extend BellaDati front-end functions or create various UI components. The most common use-cases are:

  • designing and implementing own menu structure and user controls inside report or dashboard
  • creating customized customised messaging and chatting functions
  • accessing detailed information about users, reports and dashboards

...

How to start

Activate Development console in your favourite web-browser using following steps.

  • Chrome Windows and Linux (Shift + Ctrl + J)
  • Chrome Mac OS (Option + Command + J)
  • Firefox Windows and Linux (Shift + Ctrl + K)
  • Firefox Mac OS (Option + Command + K)
  • Internet Explorer Windows (F12 or Fn + F12)
  • Safari Mac OS ( Enable Develop option by following steps - Command + comma, than click Advanced, than select Show Develop in menu bar,close window an use keys Option + Command + C) 

 

 

Hello World - Getting signed user

Log-in into BellaDati, open the developers console and run the . Into the activated development console write following script:

Code Block
$.ajax({
  url: "https://service.belladati.com/user/api:signedUser",
  success: function(reply) { 
      console.log(reply.username)
  },
  xhrFields: {
      withCredentials: true
  }
});

...