Hi Thierry,
I don't understand why this code is not working.
Something wrong ?
LOCAL oServer as xxxServer of xxxServer, oConfig as xxxAppConfig of xxxServer
wlWeb(@m.oServer, @m.oConfig)
COPY FILE (Mdocvisu) TO ADDBS (m.oConfig.cTempPathPhysical) + "Bible.html"
wNavigate(m.oConfig.cTempPathVirtual + "Bible.html" + "?xxx=" + SYS (2015), .T.)
I get a blank page
Hi Vincent
What URL do you get in the browser nav bar?
Thank you for your quick reply (a sunday) !
about: blank
The file was successfully copied to the temporary folder
Seems like you miss a parenthesis
COPY FILE (Mdocvisu) TO (ADDBS (m.oConfig.cTempPathPhysical) + "Bible.html")
What does wNavigate()
return? .T.
or .F.
?
If .F.
, you should have an assert
message in dev.; if not, set a break point before wNavigate()
and step through the code to find out what goes wrong.
This returns .F.
But I found it !
It works without the extension "?xxx=" + SYS (2015)
It works:
... "?xxx=" + SYS (2015) + "/"
But I am unable to launch this URL (which launches without problem in the address bar):
file:///z:/Vente%20d'un%20immeuble%20b%C3%A2ti%20-%20sno_5uf0ppxck[VI].odt
With or without slash at the end. About:blank
Any idea ?
JavaScript can’t load a resource located on another domain