User settings linked to the data file

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.

settings

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:

Vanessa Talbot
• Product Owner •Vanessa Talbot joined 4D Program team in June, 2014. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.Since her arrival, she has worked to define key features in 4D. She has worked on most of preemptive multi-threading new features and also on a very complex subject: the new architecture for engined application. Vanessa has a degree from Telecom Saint-Etienne. She began her career at the Criminal Research Institute as a developer for the audiovisual department. She has also worked in media and medical fields as expert in technical support, production as well as documenting new features.