javascript - Dashboard data with Good data SDK -


I need to consume my company 'target social r3v3' dashboard data with good company javascript sdk. First of all, I am trying to start pin-biz data, but I'm receiving error 400 bad request . I am a novice for a good data API and following the methods given in the good data examples in the Java Script SDK.

  $ ('# root'). App ('& lt; div class = "login-loader"> signing in ... & lt; / div & gt;'); Log in to Gooddata.user.login (user, passwd) .then (function () {// $ ('div.login-loader'). Remove (); $ ('# root'). Append ('' Lt; div class = "loading" & gt; log in ... loading metrics & lt; / div & gt; '); // your stuff here // ... gooddata.md.getMetrics (projectId) Then (function (dataset) {$ ($ '(' # Root ') .andend (' '
;); element = []; Datasets For pre (function (ds) {var dstr = JSON.stringify Ds.title); if (dstr.to LowerCase (). Indexoff ("Parental account follower") & gt; {var = JSON.Stringify (D.ISDITIfire); $ ('#Dataset') .Append ('& lt; Li & gt;' + Attributes ('& lt; p & gt; Total number of selected matrix' + '& lt; / li & gt;'); elements.push (done);}}}; $ ('# root' Element length + 'and element' element [0] + '& lt; / p & gt;'); gooddata.execution.getData (project id, element). Then (function (dataarcel) {$ ('div.dataLoading').); Console.log ('Social Da Ta: \ n' + JSON.stringify (dataResult)); }); }); });

I would appreciate it if a person could explain the qualities and parameters which were passed here in the form of parameters.

Ensure that your sample is under gooddata-js / example / folder (assuming 'mysample' ') And there is a index.html file in that directory in your script file user and passwd variables on your real goodadata user name and password Set up your sample at grunt dev run and https: // localhost: 8443 / mysample / index.html . it should work.

If this is not working, please provide the details (message body) to get 400 errors.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -