If you’re used to run multiple 4D instances of an application on the same system, we are introducing with 4D v16 a feature that will simplify your life.
You now have the possibility to associate a set of different user settings with each data file.
When in v15 you were forced to manually change the publishing port of each instance before updating your application, this is not anymore required.
In v16, with the setting file next to each data, you can configure the port ID for each of them independently. These settings are preserved by the update process.
The Get 4D folder and Get 4D file commands were updated.
- A new “Data folder” constant can be passed to the Get 4D folder command in the folder parameter, allowing to designate the current data folder.
$folder:=Get 4D folder(Data folder)
- The Get 4D file command returns the pathname to the settings.4DSettings file for current data file, stored in Preferences folder next to the data file or next to database structure file if enabled.
$path:=Get 4D file(User settings file for data)
For more details, please take a look at the documentation: