KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to find the Webfolder location for Client?
PRODUCT: 4D | VERSION: 11.2 | PLATFORM: Mac & Win
Published On: December 3, 2008
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

New in 4D v11 SQL Release 2 (11.2) is the constant to find where the Webfolder is to be located when publishing web pages.

Use the command:

Get 4D folder(HTML Root Folder)

This command can be used to determine where to place the web pages if you are not sure. You should assign it to a variable, so you can call an Alert with the information, or to put in a stop point for debugging. For example:

$loc:=Get 4D folder(HTML Root Folder )
ALERT($loc)