Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17897

PowerBiNodeSDK (1.0) - setAllConnections ---Error: Required 'connectionString' property is missing

$
0
0

It is quite clear and simple to create a client

 

var credentials = new msrest.TokenCredentials('cAY0b0dCSSbg0oL3nHcgMScnrB...lw==', 'AppKey');
var client = new powerbi.PowerBIClient(credentials);

To trigger the setAllConnection function

 

 

client.datasets.setAllConnections('pow....','112ef...','a1baf74f...',mparameters,function (err, result, request, response) {
console.log(err );});

Sadly i can't generate the 4. parameter ('mparameters')

 

var mparameters = {theMissungKey: {"connectionString": "data source=yourDB.database.windows.net;initial ....

I have no Clue what the name of the first Key "theMissingKey" could be.

I always get this error message

Error: Required 'connectionString' property is missing or misspelled

 

Any ideas ?

 

Thank you michael

 

 


Viewing all articles
Browse latest Browse all 17897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>