FoxInCloud
Determining the site folder
Hi,
Sorry if this has been asked before, but I can't see an answer in the forum.
I want to store custom html files under the site folder and use them in form.wcHTMLGen().
At runtime I need to know the absolute path to the site folder, for both "file" mode and COM mode.
This post : https://support.west-wind.com/Thread55G10HBA2.wwt mentions thisForm.oConfig.cHTMLpath
, but that does not seem to exist.
What is the code to reference the site path?
Thanks
Paul
Hi Paul,
thisForm.woConfig.cHTMLpath
thisForm.woConfig is null, at least it is in my login page when referenced from thisform.wcHTMLGen().
I have found that m.process.cHTMLPagePath contains what I want.
Paul