Skip to Content
0

Lumira Designer APPLICATION.openNewWindow stopped opening UNC

Dec 13, 2017 at 05:31 PM

326

avatar image
Former Member

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');

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Tammy Powlas
Dec 13, 2017 at 05:35 PM
0

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

Show 9 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0

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

0
Former Member
Tammy Powlas

No, we are on Lumira 2.0 SP2.

0

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

0
Former Member
Tammy Powlas

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.

0
Former Member
Tammy Powlas

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

0
Former Member

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.

0
Former Member

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

0

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

0
Arijit Das Dec 14, 2017 at 07:05 AM
0

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 ?

Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0
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

0
Former Member
Arijit Das

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

0
avatar image
Former Member
Dec 22, 2017 at 11:53 AM
0

For this case, the following note should be applied:

2555577 - URL Validation in Design Studio and Lumira Designer

Share
10 |10000 characters needed characters left characters exceeded
Christof Engel
Dec 22, 2017 at 12:08 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded