Forum Discussion
Syntax for local files in Edge Enterprise IE mode for sitelist.xml
Have enterprise IE mode set up and xml site list working but is there a syntax for using local htm files on the C drive. Have a piece of software that default launches its manual in non IE mode and need IE mode for it to work. Have seen no references on how to do local files although launching it with
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --new-window --ie-mode-file-url file:///C:/ProgramData/index.htm
works in cmd
Have tried various formulations of
url="file:///C:/ProgramData/index.htm"
comes out as expression below under edge://compat
*://file///c:/programdata/index.htm
8 Replies
- Kelly_Y
Microsoft
brw02005 Hello! My understanding is that when creating the sitelist.xml file, the URL should not contain protocols. Here is a screenshot from Schema v.2 Guidance
It might be that the "file://" portion is causing issues with the parsing.
If you need additional assistance, you can reach out to Support for Business or App Assure: Support - Microsoft Edge Developer. Thanks!
-Kelly
- brw02005Copper Contributor
Does not work just writing the local path either. If there is no known syntax reference for local files going to assume that this will never work which is strange as it works from the manually add field where it forgets it in 30 days so strange sitelist.xml does not support that. I have read the same documentation you are presenting.
- Simon_JaklitschCopper Contributor
brw02005 Hi same parsing error in my place. Checked everything but edge ignores the first ":" so the configured URL in sitelist.xml is not the same in adresslist of the edge browser
site url="file:///c:/somepath/file" in sitelist.xml then
browser: file:///c:/somepath/file vs. edge://compat listing: *://file//c:/somepath/file and if i remove the file:/// (site url="c:/somepath/file") it shows in the edge://compat *://c/somepath/filei hope we get a fix for that
Local filepaths worked for us till Sept /Aug 23
OS: Win10: 22H2, 21H2 - Win11: 23H2 no difference