Forum Discussion
mikihiir
9 years agoHelper III
custom visual is allways not loading in power bi javascript api
I have troubles sometimes loading my reportis with power bi javascript api. Sometimes they do open. WindowsPostMessageProxy message shoud allway be object type, sometimes it is a string...
- 9 years ago
Based on my research, you could try to insert a code snippet to parse the JSON string.
if (typeof message === "string") { console.log("parse a JSON string"); // message = eval('(' + message + ')'); message = JSON.parse(message); }
v-chuncz-msft
9 years agoCommunity Support
Based on my research, you could try to insert a code snippet to parse the JSON string.
if (typeof message === "string") {
console.log("parse a JSON string");
// message = eval('(' + message + ')');
message = JSON.parse(message);
}