AnsweredAssumed Answered

Pass the values inside the iframe and using canvas api inside the Iframe

Question asked by aakash raj gajula on Jan 10, 2019
Latest reply on Jan 16, 2019 by aakash raj gajula



This below code is working fine in main canvas. I'm getting user name but i'm trying to pass the values into the iframe then i'm getting some error like cross origin request blocked. How can i solve this.


$.getJSON('/api/v1/users/' +, function(u) {
canvasUserName =;


otherwise how can i write these code inside the iframe. if i write these code inside the iframe I'm getting some other errors. can anyone help me how to use canvas api inside the iframes.