This topic contains 1 reply, has 0 voices, and was last updated by pcutler 5 years, 12 months ago.

  • Author
    Posts
  • #21229 Score: 0

    nitheesha
    • Contributions: 0
    • Level 1

    Hi, can anyone help me…

    I am printing a file in an iframe using window.print() method. But the domain for the file in the iframe is different from the domain in which I am working on. So, I am getting error as "Uncaught DOMException: Blocked a frame with origin "https://system.netsuite.com" from accessing a cross-origin frame". How can I resolve this?
    This is a cached copy. Click here to see the original post.

  • #21230 Score: 0

    pcutler
    • Contributions: 0
    • Level 1

    Does your iframe contain a suitelet? If so, load the suitelet using the local URL instead of the absolute URL that includes the forms.netsuite.com domain.

You must be logged in to reply to this topic.