invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Discover Databases

The window "Discover Databases" finds the databases which are present on the device, and it is where databases are put in order, changed, copied, tested and removed. It lists every database the product knows: the ones found by the drivers, and the ones defined in the Settings files. The window is available from release 28.0.

It is reached with the button which is captioned "Edit" and carries the discovery icon, in the log-on window; see Log on. The window has the layout of the discovery window of Invantive Query Tool for Microsoft Windows, and the description of Discover Databases holds for both unless this page says otherwise.

The "Discover Databases" window of Invantive Query Tool Multi-Platform, showing discovered databases grouped by platform.

Searching for Databases

The search starts as soon as the window opens. Every database found appears as a tile under the group it belongs to, so the result grows while the search runs. While it runs, the window shows "Discovering..." with the drivers which it still waits for, and the title counts the databases: "Discovered 133 Databases". The search is done when the window says "All discovery tasks have completed."

The box "Search Databases" at the top right narrows the window down to the groups and the databases whose name contains the text. Emptying the box brings the rest back.

Every group holding at least one database is written to the discovery settings file in the configuration folder, settings-discovery-<version>.json, next to the Settings files which are maintained by hand; the two are read together. The file is written when the window closes with "Continue to Log On window". A database defined by hand is never overwritten by a discovery.

Bars and Tiles

Every group has a bar with its icon, its name and the number of databases in it. The buttons of a group stand at the right of the bar and act on that group only:

  • "Edit" changes the group; see #Editing a Group.
  • "Add Database" opens the wizard with the group already chosen; see Adding a Database.
  • The round arrow searches again with the drivers which filled the group and reads the settings files afterwards. It stands on the bar of a group which a driver filled, and on no other, since a group of definitions made by hand has nothing to search for. A database which has gone from the platform stays on the screen until the window is opened again.

Under the bar stand the tiles of the databases, five to a row. A tile carries the icon of the driver which reaches the platform. Pressing the name of a tile opens the Database Editor on the database. The button with the three dots at the right of the tile, named "Menu of" and the name of the database, opens its menu.

A database which was added or copied while the window stands open appears as a tile at once, with a blue edge at the left.

Tick Box and State Marks

A tick box in front of a tile leaves a database out of the log-on window without removing it. The box is only shown to a user who has the function right to exclude discovered databases; see #Function Rights.

A mark in front of the name says that something about the settings file matters. The tool tip of the mark gives the sentence:

  • A circular arrow: "Maintained by discovery and rebuilt by every run. Edit stores your own copy in your own settings file."
  • A closed lock: "The settings file with this database cannot be written. Edit stores your copy in your settings file."
  • Three dots: "The definition of the database in another settings file takes precedence."

The menu of a tile offers the following entries:

  • "Edit" opens the editor.
  • "Test Connection" opens the window which tries the data containers; see Testing a Database.
  • "Duplicate" writes a copy of the database into the settings file of the user and opens the editor on the copy.
  • "Delete" asks for confirmation and removes the database; see Deleting a Database.
  • "Show in Settings Files..." opens the list of settings files with the file of this database selected; see Settings Files.
  • "Move Up" and "Move Down" put the tile one place earlier or later in its group.

"Move Up" and "Move Down" are only offered for a database in a settings file which can be written, and not for a discovered database. "Move Up" is unavailable for the first tile of a group and "Move Down" for the last one.

Putting in Order

A bar is dragged onto another bar to take its place. A tile is dragged onto another tile of its group to take that place, or onto the bar of another group to move into that group. A line shows where the bar or the tile will land. A press which does not move opens what was pressed, so a tile still opens the editor.

The order is written into every settings file which can be written, so it survives closing the window. A database maintained by discovery, or held in a settings file which cannot be written, is not dragged: the first is rebuilt by the next run and the second cannot be saved. A group in which nothing was ever dragged stays in alphabetical order.

Every drag of a tile has a route without a pointer: "Move Up" and "Move Down" in the menu of a tile.

Editing a Group

"Edit" in the bar of a group opens the window "Edit Group" with the name of the group. The window holds four fields:

  • "Name" is the name of the group.
  • "Short Description" and "Description" explain the group.
  • "Sort Order" is the place of the group among the other groups.

The settings files which hold the group are named at the top right of the window. "Save" writes the change into every one of them which can be written. When a file cannot be written, the window says so and names it, and the group then appears as two bars in the discovery window, one under each name.

Buttons of the Window

The window has three buttons along its lower edge:

  • "Visit product forums" opens the forums of Invantive in the browser. Where the installation has online assistance, the button is called "Online Assistance" and starts a request for help instead.
  • "Settings" opens the list of settings files; see Settings Files.
  • "Continue to Log On window" closes the window, writes the discovery settings file and reads the list of databases of the log-on window again.

Function Rights

The window follows the function rights of the user. Discovering, adding, editing and deleting a database and managing the settings files are separate rights, and so is leaving a discovered database out with the tick box. A control for which the user has no right is not shown. A control which is shown but cannot be used says in its tool tip why.

Release Notes