Skip to main content
Nintex Community Menu Bar

Issue with download files with JavaScript

  • June 22, 2020
  • 0 replies
  • 8 views

Forum|alt.badge.img

Good afternoon,

We have an issue on a Nintex Forms, when we try to download attached files on the form, with custom JavaScript, we recieve this error from the browser:


(Unsafe JavaScript attempt to initiate navigation for frame with origin 'https://puig-58245f89116a0f.sharepoint.com<https://puig-58245f89116a0f.sharepoint.com>' from frame with URL 'https://neu-des-fol.nintexo365.net/Pages/FormsPart.aspx?SPAppWebUrl=https%3A%2F%2Fpuig-58245f89116a0f.sharepoint.com%2Fsites%2FDaVinci%2FFormsApp&SPHostUrl=https%3A%2F%2Fpuig.sharepoint.com%2Fsites%2FDaVinci&remoteAppUrl=https%3A%2F%2Fneu-des-fol.nintexo365.net&ctype=0x0108003365C4474CAE8C42BCE396314E88E51F00EC744AD16B86432F8DDA7FC18595632900F2E36FBF209941439BB26742344565A90090D9CB7EA30B484499974169F627A987000506B01B3C3C1048A8528089BB29BAB3&wtg=%2Fsites%2FDaVinci%2FLists%2FTasks%2FNintex+Task+Outcomes+a81421e4-7f7d-4124-9dbb-f19a186c340d&mode=1&callertype=Task&List=83f66f2f-57b1-4214-9765-fb8e3e55e3ee&ID=7600&Source=https%3A%2F%2Fpuig.sharepoint.com%2Fsites%2FDaVinci%2FLists%2FTasks%2FAllItems.aspx&Web=b2e57014-8878-4d37-a0c1-bd09f0df9158&redirectUri=https%3A%2F%2Fformso365.nintex.com&Nfo.IsRedirectingToRegionalInstance=1<https://neu-des-fol.nintexo365.net/Pages/FormsPart.aspx?SPAppWebUrl=https%3A%2F%2Fpuig-58245f89116a0f.sharepoint.com%2Fsites%2FDaVinci%2FFormsApp&SPHostUrl=https%3A%2F%2Fpuig.sharepoint.com%2Fsites%2FDaVinci&remoteAppUrl=https%3A%2F%2Fneu-des-fol.nintexo365.net&ctype=0x0108003365C4474CAE8C42BCE396314E88E51F00EC744AD16B86432F8DDA7FC18595632900F2E36FBF209941439BB26742344565A90090D9CB7EA30B484499974169F627A987000506B01B3C3C1048A8528089BB29BAB3&wtg=%2Fsites%2FDaVinci%2FLists%2FTasks%2FNintex+Task+Outcomes+a81421e4-7f7d-4124-9dbb-f19a186c340d&mode=1&callertype=Task&List=83f66f2f-57b1-4214-9765-fb8e3e55e3ee&ID=7600&Source=https%3A%2F%2Fpuig.sharepoint.com%2Fsites%2FDaVinci%2FLists%2FTasks%2FAllItems.aspx&Web=b2e57014-8878-4d37-a0c1-bd09f0df9158&redirectUri=https%3A%2F%2Fformso365.nintex.com&Nfo.IsRedirectingToRegionalInstance=1>'. The frame attempting navigation must be same-origin with the target if navigating to a javascript&colon; url)

 

In addition, in some points it works correctly and some times we receive the error. The JavaScript code is the same on Nintex form.

 

We appreciate your comments.

 

Kind regards,