none
Not able to get an element from cross domain page in office 365 Task Pane RRS feed

  • Question

  • Hello,

    I have loaded my existing page in iframe (which developed on salesforce platform) in task pane app.

    I can't get any elements including iframe from cross domain page, it's always access denied even if i allow origin settings to true in config file.

    How can i call my method on button click (which is on cross domain platform) from office js Task pane?


    Monday, May 23, 2016 12:11 PM

All replies


  • Hi Keyur,

    I also faced this issue and i got idea about postMessage.

    You have to use window.postMessage or opener.postMessage according to your logic or requirements.

    Mark as answer if this will work for you.


    Thanks, Hardik Shah

    Thursday, June 23, 2016 9:56 AM