I would like to have a link in an application that launched an html file from a local network drive. I have it set up but it doesn't launch. Here is how I have it set up in the application.
In the App, if I click the link nothing happens. If I right click and click "open in new tab", I get the following.
I've tried the 5 slashes which should rule out security blocking.
File://///sharedata01/...
Any help is appreciated.
Thanks,
Matt
Best Answer
B
Bharat Joshi
said
8 months ago
Hi Matthew
As mentioned before it is not related to semarchy,
It is the restriction of browser which prevents the loading of local resources. If you right-click on the page of your app and select Inspect, then navigate to the Console tab, you will likely see a message stating: 'Not allowed to load local resource.'
If you try with a secure browser or may be change your browser setting, then it will open
yes the Link of an HTML file from a local network Drive is not opening as you mentioned
But it seems some URL does not open because of security measure also it is not a configurable option that can be overridden by xDM. It is defined by the remote server itself in a Content Security Policy (CSP).
It stems from a security measure that specifies which origins are permitted to embed content through frames. The attempt to frame one of those sites is being refused because the page trying to embed its content is not of the same origin as 'self'.
However , i will discuss this with my Dev team whether this issue can be solved. I will keep you updated
Thanks
B
Bharat Joshi
said
8 months ago
Answer
Hi Matthew
As mentioned before it is not related to semarchy,
It is the restriction of browser which prevents the loading of local resources. If you right-click on the page of your app and select Inspect, then navigate to the Console tab, you will likely see a message stating: 'Not allowed to load local resource.'
If you try with a secure browser or may be change your browser setting, then it will open
Matthew Ammons
I would like to have a link in an application that launched an html file from a local network drive. I have it set up but it doesn't launch. Here is how I have it set up in the application.
In the App, if I click the link nothing happens. If I right click and click "open in new tab", I get the following.
I've tried the 5 slashes which should rule out security blocking.
File://///sharedata01/...
Any help is appreciated.Thanks,
Matt
Hi Matthew
As mentioned before it is not related to semarchy,
It is the restriction of browser which prevents the loading of local resources.
If you right-click on the page of your app and select Inspect, then navigate to the Console tab, you will likely see a message stating: 'Not allowed to load local resource.'
If you try with a secure browser or may be change your browser setting, then it will open
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstBharat Joshi
Hello Matthew
yes the Link of an HTML file from a local network Drive is not opening as you mentioned
But it seems some URL does not open because of security measure also it is not a configurable option that can be overridden by xDM. It is defined by the remote server itself in a Content Security Policy (CSP).
It stems from a security measure that specifies which origins are permitted to embed content through frames. The attempt to frame one of those sites is being refused because the page trying to embed its content is not of the same origin as 'self'.
However , i will discuss this with my Dev team whether this issue can be solved. I will keep you updated
Thanks
Bharat Joshi
Hi Matthew
As mentioned before it is not related to semarchy,
It is the restriction of browser which prevents the loading of local resources.
If you right-click on the page of your app and select Inspect, then navigate to the Console tab, you will likely see a message stating: 'Not allowed to load local resource.'
If you try with a secure browser or may be change your browser setting, then it will open
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 275 topics