{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/PowerBI-JavaScript/issues/52","repository_url":"https://api.github.com/repos/Microsoft/PowerBI-JavaScript","labels_url":"https://api.github.com/repos/Microsoft/PowerBI-JavaScript/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/PowerBI-JavaScript/issues/52/comments","events_url":"https://api.github.com/repos/Microsoft/PowerBI-JavaScript/issues/52/events","html_url":"https://github.com/Microsoft/PowerBI-JavaScript/issues/52","id":176273492,"number":52,"title":"Import a PBIX file to Embedded","user":{"login":"rolandoldengarm","id":14539000,"avatar_url":"https://avatars.githubusercontent.com/u/14539000?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandoldengarm","html_url":"https://github.com/rolandoldengarm","followers_url":"https://api.github.com/users/rolandoldengarm/followers","following_url":"https://api.github.com/users/rolandoldengarm/following{/other_user}","gists_url":"https://api.github.com/users/rolandoldengarm/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandoldengarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandoldengarm/subscriptions","organizations_url":"https://api.github.com/users/rolandoldengarm/orgs","repos_url":"https://api.github.com/users/rolandoldengarm/repos","events_url":"https://api.github.com/users/rolandoldengarm/events{/privacy}","received_events_url":"https://api.github.com/users/rolandoldengarm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-12T00:06:03Z","updated_at":"2016-09-12T20:01:54Z","closed_at":"2016-09-12T20:01:54Z","body":"Is it possible to import a PBIX to Power BI Embedded using this JS library?\r\nI can't seem to find it. \r\nWhat other solution would I have?"},"comment":{"url":"https://api.github.com/repos/Microsoft/PowerBI-JavaScript/issues/comments/246473010","html_url":"https://github.com/Microsoft/PowerBI-JavaScript/issues/52#issuecomment-246473010","issue_url":"https://api.github.com/repos/Microsoft/PowerBI-JavaScript/issues/52","id":246473010,"user":{"login":"mattmazzola","id":2856501,"avatar_url":"https://avatars.githubusercontent.com/u/2856501?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmazzola","html_url":"https://github.com/mattmazzola","followers_url":"https://api.github.com/users/mattmazzola/followers","following_url":"https://api.github.com/users/mattmazzola/following{/other_user}","gists_url":"https://api.github.com/users/mattmazzola/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmazzola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmazzola/subscriptions","organizations_url":"https://api.github.com/users/mattmazzola/orgs","repos_url":"https://api.github.com/users/mattmazzola/repos","events_url":"https://api.github.com/users/mattmazzola/events{/privacy}","received_events_url":"https://api.github.com/users/mattmazzola/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T20:01:54Z","updated_at":"2016-09-12T20:01:54Z","body":"**Is it possible to import a PBIX to Power BI Embedded using this JS library?**\r\nNo. As the previous comment said, this library is for client applications to embed and communicate with the report, not for managing workspace collections or workspaces.\r\n\r\n**What other solution would I have?**\r\nAs stated in our [wiki](https://github.com/Microsoft/PowerBI-JavaScript/wiki) there are two cli tools which help facilitate upload:\r\n[powerbi-node-cli](https://github.com/Microsoft/PowerBI-Node)\r\n[powerbi-csharp-cli](https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/tree/master/ProvisionSample)\r\n\r\nOr if you prefer a different language you can generate your own http client using our swagger.json file:\r\nhttps://github.com/Microsoft/PowerBI-Node/blob/master/swagger.json\r\n\r\nFor example, I believe other people have done this for Python and Java."}}
{"actor":{"display_login":"mattmazzola"}}