cancel
Showing results for 
Search instead for 
Did you mean: 

Lumira Designer APPLICATION.openNewWindow stopped opening UNC

former_member330010
Participant
0 Kudos

We upgraded from Design Studio to Lumira Design and the javascript:

APPLICATION.openNewWindow stopped oping my UNC path. Here is the code that stopped working.

APPLICATION.openNewWindow('file://///dioshare1/Attachments$/DID/17-00123/72433877%201.pdf');

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member591596
Discoverer
0 Kudos

Have you found a solution for this issue?

We are having the same problem

Regards

0 Kudos

Hi Justin,

the change was caused by a security fix in Design Studio. A solution is documented here:

2555577- URL Validation in Design Studio and Lumira Designer

former_member591596
Discoverer
0 Kudos

Note 2555577 is not reachable, can someone post the solution here please?

gcarmos
Explorer
0 Kudos

For this case, the following note should be applied:

2555577 - URL Validation in Design Studio and Lumira Designer

arijit_das
Active Contributor
0 Kudos

Modern browsers stopped accessing local files this way due to security reason.

Why can't you upload the pdf file in BI Platform and access the same with an opendocument url ?

former_member330010
Participant
0 Kudos

I do not believe this is a browsers security issue.First it was working in the past. Second I created a simple HTML with the same link and it works fine. Thanks though.

arijit_das
Active Contributor
0 Kudos
Second I created a simple HTML with the same link and it works fine.

Did you try to host the html file in a web server like tomcat and do the same thing ? I checked and it does not work in chrome/firefox (in IE11 it works though). Then I found :

http://kb.mozillazine.org/Links_to_local_pages_do_not_work

https://support.google.com/gsa/answer/2664790?hl=en

former_member330010
Participant
0 Kudos

Thanks, it worked fine in my web browsers. It looks like it is a Tomcat issue not a Lumira issue.

TammyPowlas
Active Contributor
0 Kudos

Justin - there are two related SAP Notes - please review and see if they apply to your situation: https://launchpad.support.sap.com/#/notes/2555577

https://launchpad.support.sap.com/#/notes/2510355

former_member330010
Participant
0 Kudos

Sorry, none of those worked for me. I added:

-DenabledURLSchemes=http:https:sip

and tried:

-DenabledURLSchemes=http:https:smb

to the local config file.

I also tried URL Encoding, no help.

I have also looked at all the notes related to openNewWindow function, no help.

TammyPowlas
Active Contributor
0 Kudos

I am out of ideas; if the Community doesn't have another suggestion, I recommend opening an incident with SAP Support; are you on SP3?

https://launchpad.support.sap.com/#/notes/2554287

former_member330010
Participant
0 Kudos

No, we are on Lumira 2.0 SP2.

TammyPowlas
Active Contributor
0 Kudos

It might be worthwhile to update to SP3 and if the problem persists, open an incident with SAP

former_member330010
Participant
0 Kudos

Thanks for all your help. I'm going to do a little more looking around and see if there is something I'm over looking.

former_member330010
Participant
0 Kudos

Looks like something in Lumira is saying it is an invalid URL, however when I click on the link in the debug console it takes me to to location. I have also created a HTML file with a simple link to that same location it works fine.

former_member330010
Participant
0 Kudos

I have just verified that it does not like the file URL that is a valid URL, it works just fine with the http://www.google.com

former_member330010
Participant
0 Kudos

See below comments. Would you or anyone have any sugestions?

TammyPowlas
Active Contributor
0 Kudos

My only other suggestion is to look at updating to SP3; hopefully other community members will respond. I admire your troubleshooting skills and tenacity