skafy Posted June 21, 2016 Share Posted June 21, 2016 I'm having problems with opening new window with Windows.open command. Command is: UniSession.AddJS('window.open("' + ReportURL + '")'); I attached image of an error that I get. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 21, 2016 Administrators Share Posted June 21, 2016 Hi, Browser can not access local files directly. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 21, 2016 Share Posted June 21, 2016 Hi, Try this: UniSession.AddJS('window.open("' + UniServerModule.FilesFolderURL + '21062016075557.pdf")') Best regards. Quote Link to comment Share on other sites More sharing options...
skafy Posted June 21, 2016 Author Share Posted June 21, 2016 It worked. Thank you for your help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.