KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Server Connection Dialog Control
PRODUCT: 4D | VERSION: 15R4 | PLATFORM: Mac & Win
Published On: March 16, 2016

4D v15R4 introduces a new feature that allows developers to have control over the Server Connection Dialog Box for merged clients when the connection to the server cannot be established.


This control is either set in the Compatibility Database Settings or by using the new XML Key in the Build XML.

    Compatibility Database Setting:


    XML Key:
    /Preferences4D/BuildApp/CS/ServerSelectionAllowed


Default Setting for databases created before v15R4:
If the setting is unchecked in the Database Settings or set to True in the Build XML then a dialog will appear on failure to connect and allow the user to quit the application or select a server by opening the Server Connection Dialog.


Default Setting for databases created in or after v15R4:
If the setting is checked in the Database Settings or set to False in the Build XML then a dialog will appear on failure to connect and inform the user to contact the administrator and only allow them to quit the application.


    Notes:
  • The Build XML takes priority over the database settings.

  • Holding dowb the Alt/Option key at startup will still display the server connection dialog regardless of this this setting.