Visard Solutions inc.
Solutions & services for your documents

Visard Solutions inc.
Solutions & services for your documents



-A +A

Kentika V2 & connexion to 4D servers : The ".4Dlink" files

Boisvert Martin (Mr.)


When using several Kentika servers (eg a test server and a production server), it is necessary to indicate to Kentika Client the route to take to connect to the desired server.


To do this, there are 2 methods:


- Holding down the left "ALT" key (PC) or "Option" key (Mac) when starting Kentika Client

- Using a shortcut to the desired server corresponding ".4DLink" file


When you first start the Kentika Client, and in subsequent startups via the "ALT"/"Option" key, the connexion dialog is displayed.



If servers are visible on the network, they are showned in the "Available" tab. Kentika Server has a built-in TCP/ P system that publishes the default database name used when the communication port used is 19813.



The "Custom" tab allows you to specify, via the server IP address or DNS name, a database published on the network and associate a custom name.



Database name: Sets the name of the database.

Network Address: Enter the IP address or DNS name of the machine where you run Kentika Server. If the communication port used on the base is different from the default port (19813), the address must be followed by a colon (:) and the port number, for example:


* If the database is published in secure mode, a caret (^) must be placed before its name, otherwise the connection will be refused.


".4DLink" files and the "Recent" tab

For a database can be accessed via the "Recent" tab, a file containing connection settings must be present in the local client preferences.


Local preferences folder is located in the following location:


Windows Vista/Windows 7: C:\Users\[username]\AppData\Roaming\4D\Favorites v12\Remote\

Windows XP: C:\Documents and Settings\[username]\Application Data\4D\Favorites v12\Remote\

Mac OS: Users/[username]/Library/Preferences/4D/Favorites v12/Remote/


".4DLink" files can be created with an XML/text editor, and its contain customized information, as the user opens the database.

Standard ".4DLink" file contains the following information:





4D provides a DTD describing the XML keys that can be used to build a ".4DLink" file. This DTD is named database_link.dtd and is located in the \Resources\DTD\ subfolder of Kentika Server application.


A ".4DLink" file can be copied and used on different machines.


Optionally, a connection can be made directly by double-clicking the ".4DLink" file to use.