Editing in Diversity Agents

The main forms of all modules have a design as shown below

Main form

Status

In the status area you find

  • The name of the module,
  • The name of the database if different fron the module
  • The version of the software

The menu contains the options provided by the module

Commands

The commands area contains buttons for e.g. handling the data:

  • - To connect to a database click on the button.
  • - To save the changes in a dataset click on the button.
  • - To propagate the changes in a dataset to linked modules click on the button.
  • - To undo the changes a dataset click the button. This will recover the original data unless the changes had been saved or changes were done in certain tables or hierarchies were the data must be stored to display the hierarchy.
  • - To create a new entry in the database, click on the  button below the search result listbox. This will create a entry with the specimen and show it in the list.
  • - To copy a specimen, choose it from the list and click on the button .
  • - To options a dataset click on the button .
  • - To change the arrangement of the query click on the button.

Agent Panel

The basic data for agents are entered in the upper part of the form (see image below).

The header of the form shows automatically the combined name of the agent created by the database according to the data, the ID in the database, the version of the dataset and the revision level. The version is set by the database and will be increased with every change in the data.

The JSON button will open a window showing the cached JSON data and the link will open a window showing the data available via the module interface.

History

To see the history of the changes within a dataset, click on the history button (see the history part for further details).

Withholding data

By default an agent is not available for publication. This is indicated by the red stop sign . If an agent should be published, click on the stop sign and remove all text in the withholding reason field. Any text, even white spaces, in the withholding reason field will prevent the publication of thie agent. The sign will change to a gray stop sign indicating the agent is now available for publication.  

Language

To set the language of the content, click on the language button . The ISO-639-1-Code for the selected language will be shown and the icon will change to a flag sign of the selected language.  

Synonymy

DiversityAgents can manage several representations of the same name resp. person. To link these entries you can declare one name a synonym of the other. An overview of the synonymy is shown in the Synonymy part (see below). The accepted name resp. the entry not declared to be a synonym is shown as the top of the hierachy. To change to a name within the synonymy, just double-click on it. 

 

To set the synonymy, click on the synonym button to open a window where you can search for the entry, the current entry should become a synonym of. In the field [Syn.type] set the type of the synonymy. The service of DiversityAgents is used by other modules. Therefore it must be avoided to delete datasets. Instead of deleting an entry, set it a synonym of a valid entry and set the type of the synonymy to replaced with. If an agent was replaced or declared a synonym, the synonym button will change to a search button . Click on this button to get to the dataset that replaced the current dataset resp. its synonym. If a dataset was replaced by another entry, the form will change as shown below.

 

Data

In the area below the header, you can enter resp. edit the data related to an agent. The available fields depend on the type of the agent that differ between persons and other types. If you enter inconsistent values for the dates, you will get a message reminding you to enter valid values.

Storage

The data of the agent are stored in the table Agent.

Jan 14, 2025

Subsections of Editing

Creating Diversity Agents

Create new agent

To create a new agent, click on the new-button above the search result listbox. You will be asked, if you are sure.

Click OK and a form will be show where the basic entries “agent type”, “First name” and “Last name” need to be given. By pressing the OK button the new agent will be created.

Forwarding changes to linked data

After changes to a dataset, the button will get a pink background if any part related to linked datasets is concerned. This relates to all dataset in the databases select for an update as described in chapter connections. To add the current dataset independed of changes to changes, choose Insert current ID in backlink list from the context menu. To insert all items from the query in the backlink list, click on the button. To check the content of the current backlink list select in the context menu. To clear the backlink list, select in the context menu. Provided the permission to update the respective tables you can forward the changes to datasets in linked modules with a click on the button as described in the tutorial Video starten

For further information see the chapter Editing

Delete agents

Warning

The service of DiversityAgents is used by other modules. Therefore it must be avoided to delete referenced datasets. Instead of deleting an agend, consider to set it to a synonym of a valid entry and set the type of the synonymy to replaced with.

To remove an agent you have 2 options:

  • Select the agent in the result list of the query and click on the delete button
  • Choose all agents in the result list of the query with a click on the
    select all
    button and choose Data - Remove agents from the menu
Tip

If the agents should only be removed from a project choose in the menu Data - Remove from project. This option will fail for agents with only one project. Agents will not be removed from the last project.

Dec 24, 2024

Diversity Agents

Data in tables

Besides of the main form, the Diversity Workbench provides 2 editors of the data in tabular form:

  • Table editors : Provide single table based access to the data of the query results in the main form
  • Spreadsheets : Provide predefined tabular access including the possibility to query and filter data and can be used as starting form

See a short tutorial for an introduction Video starten with DiversityCollection as an example (Grids are only available in DiversityCollection).

Comparison of tabular forms

Property Table editors Spreadsheets
Range One table Predefined selection of tables
Query Depending on main form Own query
Filter Restricted Direct query in database
Column sequence Fixed Fixed
Start form No Yes
Different versions No Yes
Read only projects No access Read only mode
Data in map No In TK25 sheet

 

Jul 30, 2024

Subsections of Tables

Diversity Agents

Spreadsheets

The spreadsheets similar to the grids provide a tabular access to the data. In addition you can search and filter data independent from the main form. For an introduction see two short tutorials Video starten (overview), Video starten (tables and columns). To open a spreadsheet, choose Grid - Spreadsheets - and then one of the provided versions, e.g. Organisms from the menu. A window as shown below will open where the data are marked and organized according to the database tables. If values in one of the tables are missing, this will be indicated with a grey background. The colors correspond to the overview for the database.

Start

To use any of the spreadsheets as a starting window, click on the  button. Now the application will directly open the spreadsheet with the same parameters when you close it. Video starten

 

Database

To change to another database, click on the button and choose the database as described here. Please keep in mind that the main form will connect to the new selected database. 

 

Project

If a user has read only projects available, a button will appear in front of the project. Click on this button to change to the list of projects with read only access. The window will change into the Read only mode (see below). To return to the list of projects with write access, just click no the button again. After changing the source for the project list, the project label will blink with red to remind you, to select a project from the list. Video starten

 

Getting the data

The data are always restricted to one project, selected in the corresponding field (see image above) and restricted to the first top lines as specified in the Max. res. field. To change to the next or previous block of data, use the resp. button. 

The program will organize the data in blocks indicated by the colors as shown above. In the example above the first block contains 2  Organisms all belonging to the block starting with  Hildesheim... for the Event and M-0014196 for the Specimen. The next block then starts with  Hildesheim... indicated by a change in the color containing 2 Organisms. For most of the spreadsheets, the presence of the Event in the data is a prerequisit. As long as you do not sort or filter the data (see below), these blocks will be consistent with the data. As soon as you filter or sort the data, these blocks may be split and may not correspond to the data blocks in the database any more. In the example below you see the effect of sorting by the column Taxon on breaking up the blocks. E.g. the block for the specimen M-0036950 is split into 2.

 

SQL

The query used for the retrieval of the data can be accessed with a click on the SQL button.

 

Filtering

To filter the content of a table you can apply a filter either on the whole table or on each of the columns of the table.

Table filter

This filter will apply on the whole table. Click in the black box next to the filter area and select one of the filter options as shown below.

  • : Filled (all visible columns)
  • : Empty (all visible columns)
  • : Data in table do exist
  • Ø: Data in table do not exist

Tutorial:

Column filter

Tutorial: Video starten

This filter will apply on a single column of a table. To set a filter click in the field underneath the column name. A window as shown below will open. With a click on the button you can enter a value from the current content of the column as filter.

Here you set the sorting (see below), enter the search string and choose among several ways of comparison with the contents in the database:

  • =: The content must be exactly like the given value
  • : The content must be different to the given value
  • ~: The content must be similar to the given value, use wildcards % for any string or _ for a single character
  • ¬: The content must NOT be similar to the given value, use wildcards % for any string or _ for a single character
  • <: The content must be smaller than the given value
  • >: The content must be bigger than the given value
  • |: The content must be in a given list of values
  • : The content must NOT be in a given list of values

For columns linked to modules of the DiversityWorkbench there may be additional options. E.g. for a column linked to DiversityTaxonNames you get 3 additional options:

  • +H: Include lower Hierarchy
  • +S: Include Synonyms
  • +H+S: Include lower Hierarchy and Synonyms

After selecting one of these options, you will be asked for the database and the project where the data should be taken from. In the next step the corresponding names as retrieved from the selected source will be listed (see below). To change the filter click on the button and on the button to remove it.

Sorting

↓↑ Tutorial: Video starten

The data can be sorted by each visible column. If you click into the field underneath the column name a window will open as described above. To change between the modes of sorting, just click on the current sorting. The modes are:

  • -: Not sorted
  • : Sorted in ascending sequence
  • : Sorted in descending sequence

After all parameters are set, the sort mode and filter settings will be shown in the field underneath the column name (see image below). The number indicates the sequence within the sorting columns.

 

Timeout

After all parameters are set, click on the button. If for any reason you get a timeout, meaning the query for the data takes too long, either simplify your query or adapt the time for the query after a click on the button. If you do not want to restrict the time for the queries, set the value to 0. The default value is 30 seconds. 

 

Read only mode

<> Tutorial: Video starten

The formatting of the sheet including the color indication of tables and data blocks is rather time consuming. If these are not needed, e.g. for exporting the data, you can switch to the Read only mode for higher performance. For projects with read only access (see above), the mode is automatically set to Read only

 

Editing

Video starten

To edit the data, just change them. If data are missing, type or select a value in the corresponding field. To remove data, click on the x field. This will remove all entries dependent on this entry that means all data right from the entry in the same line resp. block and any depending data. If there are any depending data, a window will open as shown below listing these data. Click OK if you want to remove the selected data including all depending data as shown in the window.

 

To change the content of several values in a column, either select the whole column with a click on the  button or select the fields manually. To avoid the pop-up of data-entry windows e.g. for columns with a lookup list, click no the button. Once you have selected the contents to change, select the mode of change:

  • Prepend: Insert the given value at the beginning of the content
  • Append: Append the given value at the end of the content
  • Overwrite: Remove current content and insert given value
  • Replace: Replace a string in the content with the given value
  • Clear: Remove the content

After selecting the change mode, enter the text in the field where necessary and click on the corresponding button to perform the changes.

With the context menu (mark area and right click) you can Remove data (for single data fields with a list behind), Tranfer or Copy the content into the clipboard and Insert the content of the clipboard into the selected cells. Tutorial: Video starten

Locked columns

Columns that can not be edited are indicated with a lighter background color of the header and a gray text of title and content. These columns contain e.g. database generated content or data from lookup tables.

Inclusion of RowGUID

By default the primary key can not be changed in the spreadsheet. In some cases you may want to change parts of the primary key. To do this, you must include the column RowGUID in the list of selected columns. The program will ensure that the changed data do not collide with existing data, that is having the same primary key. See an example in a short tutorial:

 

Fixed sources

Tutorial: Video starten

For columns that are linked to a remote module, you can fix the source for the query. If the source is fixed, the query will directly contact the source as shown in the image below. To set resp. change the source, click on the button. A window will open where you can select either a webservice or a source database together with a project within the database. To remove the source, click on the button (only visible if a source is present).

To see an overview for the fixed sources, click on the button. A window will open where all sources are listed with the source for the current column marked with a yellow background. 

 

A "right-click" on the button in the main form will show the settings as well and with a click on the button you can set the connection for the selected column. If a column depends on values from the data as for example the relations to the module DiversityTaxonNames with a dependence on the taxonomic group, the relation will change with the selected row, depending on the data retrieved from the selected row. If there is no connection to the related module defined, the button will appear gray and if the column has no relation to a module, the button will appear like

If the source is not fixed the query will start as described here.

Settings

- To change the data shown in the query results, either click on the header of the tables, e.g. Event for that table. A window as shown below will open where you can select or deselect columns, change their headers etc. Red columns need to be filled (either by the database, the program or the user). In the Alias field you can rename the columns to your preferences. The button will show a description of the columns. For columns linked to a module, the current settings for the link will be shown in addition to the description. To display a column in the sheet use the checkbox . If a column is needed, but should be hidden, select the checkbox. Displayed columns are indicated by a yellow background while hidden columns get a light yellow background. Certain columns are required (indicated by a purple color) and can not be removed e.g. if they are involved in a link to a remote module like in the example below the columns FamilyCache and OrderCache. Columns linked to a module are indicated by a blue color.

The button allows you to include one of the tables missing in the sheet (see image below). After selection of the table, select the column(s) you want to include in the sheet as shown in the image above.

To store resp. load settings, use the resp. button. If a setting file has been corrupted click on the button to remove it and restart with factory settings. The spreadsheet will always start with the previous settings. The location where the settings are stored are set under Administration - Resources directory ... . For an introduction see a short tutorial Video starten.

 

Column width

Tutorial: Video starten

The width of the columns can be set manually (in the filter area) or automatically with a click on the button. A window will open where you can choose and set the parameters for setting the column width.

 

Adding

Tutorial: Video starten

To add new data, use the area underneath the data table. You can enter preset values that will be used for the new data. If the new data should be added to existing entries, select the corresponding row. Then click on the + field of the datarange that should be inserted. If preset values are given, all corresponding tables will be filled together with the new inserted data. Defaults for the responsibles can be set under Administration - Customize Display. If a column is linked to a remote module, the corresponding columns will be filled together with the selection of the link, so e.g. if you select a link for a taxonomic name to a DiversityTaxonNames the columns for the taxon and if available the familiy etc. will be filled as well. To remove a linked value, select it a choose Remove from the context menu (right click).

Export

Tutorial: Video starten

To export the data as a tab separated text file (UTF8), click on the button. You will be asked if you want to include the hidden columns. These are the primary keys you may need for statistic evaluations etc.

Feedback

To send a feedback to the developer of the software, create a screenshot and click on the  button. 

Details

Tutorial: Video starten

To see all details of a dataset, select the dataset in the sheet and click on the button. A window, corresponding to the main form will open, showing all data related to the selected specimen. 

 

Image

Tutorial: Video starten

If an image is present a preview will be shown in the right upper area of the window. Click on it to see the image in a separate form. The images are restricted to the first image of one source, so e.g. in the organisms sheet only the first image of the specimen linked with this organism will be shown while images of e.g. linked to none or another organism or the collection event will not be addressed. 

Jul 30, 2024

Diversity Agents

Table Editors

For the data selected in the main window the table editors offer a direct access to the tables of the database. The menu Data - Table editors provide an editor for selected tables within the database.

A window with the content of the table will open. Columns with a gray background can not be edited here. Columns with a light gray background are linked to the contents of lookup tables where you can change according to the contents of these tables.

Select Set timeout ... from the menu to increase the default timeout from 5 seconds to a higher value, e.g. for greater amounts of data.  

Editing

You can either edit the contents of the table directly or perform changes to any number of marked fields. To mark a whole column use the  button. Once you have selected the contents to change, select one of the modes of change that appear in the upper left corner. The modes of change are:

  • Insert: Insert the given value at the beginning of the content
  • Append: Append the given value at the end of the content
  • Replace: Replace a string in the content with the given value
  • Clear: Remove the content

After selecting the change mode, enter the text in the field where necessary and click on the corresponding button to perform the changes

Filtering

To filter the content of the table, click in the column that should be used for filtering. Then choose the mode of comparision:

  • = : The content must be exactly like the given value
  • ~ : The content must contain the given value
  • ≠ : The content must be different to the given value

If you want the filtering to be case sensitive, choose the a<>A option. After all parameters are set, click on the button. To undo the filtering, click on the button. This will reset the data to the last saved version. If you want your changes to be saved, click the button before you reset the filtering. If you close the window all changes so far will be saved automatically. So if you do not want to save your changes, click on the button before closing the window.

Export

To export the data as a tab separated text file, click on the button. The file will be automatically saved in the client-folder.  

To export the data in a SQLite database click on the button. The data will be exported into the SQLite database DiversityAgentTables.sqlite in the folder Export in your application directory. If you want to save previous exports, please rename the SQLite database or copy it to a different directory.  

Log data

To see the log data of the table, you can click on the button. The content of the log table can not be changed, but is read only.  

Jul 30, 2024

Diversity Agents

Contact

Every agent can have several contacts resp. addresses. These are listed in the contact section (see image below).

The address that is used by other modules is a cumulation of the addess data of the agent and all its superior agents (see below).

By default the contacts are not available for publication, indicated by the sign and a pink background (see below). To enable the publication of a contact, click on the button and remove the data withholding reason. The sign will change to and the contact will be available for publication.

To see the public available contact information, click on the button. The window that will open shows the public available contact information including those of parent data (see image below). The cumulative address will collect data of every first contact information of the superior agents in the main hierarchy provided these are public and valid. Video starten

The data of the agent contacts are stored in the table AgentContactInformation.

Jan 14, 2025

Diversity Agents

Descriptors

To add a new descriptor click on the button. To delete a selected descriptor click on the  button. To administrate the descriptor types, click on the button or select Administration - Descriptor types... from the menu. A window as shown below will open.

 

To add a new descriptor type click on the button. To delete a selected descriptor type click on the  button. Deleting is only possible as long as the type has not been used. Otherwise this option is blocked as shown below. You may link a type to a module of the DiversityWorkbench. If the data contain either a link to a module or a link to a resource, the setting of the module will be blocked as shown below.

The data of the agent descriptors are stored in the table AgentDescriptor.

Jan 14, 2025

Diversity Agents

External data

The list at the button of the form showns the original datasources of the dataset (see image above).

To edit the sources where data are linked to choose Administration - External sources... from the menu. A window as shown below will open where you can add, edit and remove external sources for datasets.

The data concerning external information are stored in the tables AgentExternalDatabase.

Jan 21, 2025

Diversity Agents

Hierarchy

Main hierarchy

The relation to other agents is shown in the hierarchy. For an introduction see a short video Video starten.

Every agent can have one main superior agent. To set this superior agent click on the button. To remove the superior agent click on the button. To change to another agent in the hierarchy, select it and click on the button.

The address of an agent e.g. used by other modules will be replenished with the addresses of all superior agents (for further details see topic Contact). If an entry in the main hierarchy is changed or removed you will be asked of this information should be transferred into to other hierarchies, so the information about e.g. previous employments is not lost.

If the hierarchy contains a loop, a corresponding message will be shown and the tree will contain the current dataset twice (see below). To remove the loop, click on the button in the dataset where the relation to the upper dataset should be removed.

 

Other hierarchies

For other hierarchies, e.g. previous employments, you can add entries in the Other hierarchy part as shown below.

Use the and buttons to add resp. delete other hierarchies. The  button will open a window where you can search within the database for the parent agent you want to select. After you selected the agent where the current agent should be included into the depending data, click OK to close the window. Select the new parent in the list to see the current agent within the main hierarchy of the parent agent. The items shown in the tree are restricted to the main hierarchy of the parent agent and the current agent and do not include other items of other hierarchies. A parent for the other hierarchies may be included several times, e.g. to document several employments but in will be shown in the tree only once for every parent (see image above).

The other hierarchies are NOT visible outside the current agent. So in the example above, the parent defined in the other hierarchy will NOT show this entry in the hierarchy of the parent (see image below).

Use the button to set a selected entry in the other hierarchies as the main hierarchical entry. If a parent for main hierarchy is defined, it will be transferred into the other hierarchies. The selected entry from the other hierarchies will be removed unless there are entries in the details, e.g. Notes.

Use the button to change to an agent selected in the tree. The hierachies will display entries from projects where you have no access as well. If you want to change to a dataset using the button where you have no access you will get the message You have not the proper rights to access this dataset.  

All hierarchies

A summary of all hierarchies is shown in the "All" section where the items shown in the tree are restricted to the current agent and superior data as shown below. Other hierarchies defined outside the current agent will NOT be shown here.

After changes in the main hierarchy or the other hierachies click on the button for an update of the tree. Use the button to change to an agent selected in the tree. If you want to change to a dataset using the button where you have no access you will get the message You have not the proper rights to access this dataset.

The data of the agent hierarchy are stored in the tables Agent

Jan 14, 2025

Diversity Agents

Identifier

The agent may be linked to several identifiers as shown below. Use the and buttons to add resp. remove identifiers for an agent.

To administrate the types of the identifier, choose Administration - Identifier types … from the menu. A window as shown below will open, where you can add, edit and remove types for the identifier.

The data of the agent identifier are stored in the table AgentIdentifier.

Jan 14, 2025

Diversity Agents

Images

Each agent may be documented with several images.

To enter a new image, click on the  button. A window will open where you can enter the path and file name of the image. The selected image will be shown in the preview.

To delete an image, select it from the list and click on the  button. To see the image in a separate form, click on the button. The path of the image is shown under the image list. Click on it to open a browser with the image. you may as well click on the link below the image. By default a new image gets the entry "Withhold by default" as data withholding reason and is therefore blocked from publication. To change this, click on the button and either enter your own reason or remove the entry to enable the publication of the image. If an image should be published (with an empty datawithholding reason) the button will change to . To return to the unpublished state just click on the button and enter any text in the window that will open. The button will change to to indicate that the image will not be published. You may select a Type and specify a sequence e.g. to enable a selective publication of images. In the interface the images will be sorted accoring to their sequence.

Data are stored in the table AgentImage.

Jan 14, 2025

Diversity Agents

Keywords

To add a new keyword to the list click on the  Button. To delete an selected keyword from the list click on the  Button.

The data of the agent keywords are stored in the table AgentKeyword.

Jan 14, 2025

Diversity Agents

Module connections

The DiversityWorkbench is a set of components for building and managing biodiversity information, each of which focuses on a particular domain. DiversityAgents is referred by several modules. To scan for references from these modules on data in DiversityAgents choose Data - Scan modules - from the menu (see image below).

With these options the program will scan all sources of the selected module as listed in the connections for references to the current agent. After selecting an agent in the tree, the sources of the selected modules together with the linked data will be listed as shown below.

Select a link to see a summary of the linked data (see below).

To get further information about an item click on the button. If so far the path to the respective application has not been set, you will get a corresponding message (see below).

Click on the button to set the path to the application (see below).

By default the path to the application is C:\Program Files (x86)\DiversityWorkbench\Diversity...\Diversity.…exe as shown.

Jan 14, 2025

Subsections of Modules

Diversity Agents

Module Related Entry

The DiversityWorkbench is a set of components for building and managing biodiversity information. Each of which focuses on a particular domain and provides services for the other modules. For an introduction see a short tutorial Video starten.

To use the service of an external module you need access to the database of this module and optionally the module application placed in your application directory. Entries related to an external module have a standard interface in the main form.

Linking to a datasource or module

There are 4 options to link the content to a datasource (or module).

  • Local database
  • Remote database
  • Cache database
  • Webservice

There are two differnt approaches for providing content for the textbox. Either as a autocomplete list (, , ) or by searching values on base of the entered text in combination with a combobox ().

For the autocomplete lists just start to type and the corresponding entries will be listed where you can choose the entry you are looking for. To set the link including additional information provided by the original source (, ), you just have to leave the textbox. The program will then contact the database to which the entry corresponds and insert the additional information including the link to the source database.

The next paragaphs show how to uses this linking. The colours of the pins are automatically set when a datasource is set. The colour indicates if the current set datasource ist set to the local, remote or cache databse or to a webservice. To select one of the datasources, click on the  button and choose among the sources.

Local database

The values shown in the autocomplete list are taken from the entries in the local database.

This is the default. To refresh the content or slect the local databse as source, click on the pin button, choose the first empty entry of the list and click OK.

Remote database

To set the datasource on a remote database, choose a database from the list.

Either a database available via a linked server (e.g. [TNT.DIVERSITYWORKBENCH.DE,5432].DiversityTaxonNames_TaxaVaria see below) or a database on your local server, starting with e.g. DiversityTaxonNames for taxa in the identification

Next you will be asked to choose a project within the selected source. In case there are additional options you may be asked e.g. for taxa to restrict the content to a checklist provided by the datasource. The pin button and the textbox will change their color to orange to indicate the current source type. The autocomplete list is then generated based on the content in the remote database. When you leave the textbox the software will automatically add additional information from the selected source and set the link as shown below.

 

Cache database

To provide data via the cache database these data must be first imported as source as described in the link to cacheDB chapter.

This option provides faster access to remote data e.g. on linked servers . To choose a source from the cache database, click on the pin button and select the entry CacheDB from the list (see below) and click OK.

Next you will be asked to choose among the sources provided by the cache database. Choose your preferred source and click OK. The button and the textbox will change their color to to indicate the current source type. Now the values for the autocomplete list will be based on this datasource. Just start to type and the corresponding entries will be listed where you can choose the entry you are looking for. To set the link including additional information provided by the original source, you have to leave the textbox. The program will contact the database to which the entries in the cache database correspond and insert the additional information.

Webservice 

To set the datasource on a webservice, choose a webservice from the list as shown below. The pin button and the textbox will change their color to blue to indicate the current source type.

To get data from the webservice, you have to enter a search text in the textbox and click on the combobox button to search the webservice for matching entries. Choose among the provided results to fill the textfield and the set the link to the webservice.   

States and functions of the interface

There are several states and functions of this interface:

  • 1: the value is only set in the local database with no connection to the remote module. In this state you may either type the value or select it from the values which are already available in the database (see above).

  • 2: the value is related to the remote module.

If you wish to set a relation to the remote module you have 2 options:

Option 1

Click on the pin button to select a source as described above.

An overview for all settings can be found under Administration - Customize display - Settings.

Charts

After the source is set to a database of the DiversityWorkbench certain datasources provide also charts for the selection of taxa or terms. Click on the chart button to open a table where you can select one of the provided taxa resp. terms. Video starten

 

Option 2 Detailed linking with query option

Click on the amonite button. A window will open where you may select an entry from the foreign database. If the option for loading the connections is not set the connection to a database may not be established indicated by a button. Either requery all connections as described in chapter Connections or click on the button to open the database connections for the linked module. With this option you have the full range of query options as shown in the image below as well as access to additional webservices.

For DiversityScientificTerms you can use a hierarchy for the selection of the lists as shown below.

 

If the value has a relation to the remote module, the interface will appear as shown below with the content of textbox set to read only and a yellow background.

To release the connection to the remote module click on the button. If you require further information on the value, click on the button. This will open a form showing an overview of the related value.

If the client application of the module is available, you may inspect the details of the entry. To start the client application of the remote module click on the button. 

If the provided link does not correspond to a dataset in the source, you will get a message as shown below. Click Yes to remove the wrong link and replace it with a valid link. Video starten

 

Relation to a webservice

Some modules provide the possibility to link your data to an external webservice. For example, DiversityTaxonNames gives you access to the taxonomic names of IndexFungorum. To establish a connection to an external webservice click on the button. As with the link to modules within the DiversityWorkbench, a window will open where you are able to choose from either DiversityWorkbench modules or external Webservices. See chapter Webservice for further details

Jul 30, 2024

Diversity Agents

Projects

Every agent can be assigned to any number of projects. To assign a agents to a project click on the  button. To remove it from a project, select the project from the list and click on the  button.

There are 4 states of accessibility for projects Video starten

  •     Full access: The user can edit the data
  •      Read only access: The user can only read the data
  •      Locked: The project is locked. Nobody can change the data
  •     No access: The user has no access via a project

If there are projects, to which you have no full access to, these will be listed in a separate lists at the top as shown below.

Below is an example where the user has access via a project with access and a project with read only access. In addition the data are contained in a project where the user has no access.

 

Below is an example where the user has access via one read only project.

 

Below is an example where the dataset is contained in a project that is locked.

 

Data are stored in the table AgentProject.

Details upon the projects within the Diversity Workbench are stored in the database DiversityProjects. To open a project to see further information upon a project click on the   button. 

 

 

 

Jan 14, 2025

Subsections of Projects

Diversity Agents

Display types

The type in which an agents name will be displayed can be set within a project.

To edit the display types, choose Administration - Agent display types ... from the menu. A window as shown below will open, where you can set the type for every project.

 

Every user has a default project within DiversityAgents. As an administrator, you can set the default projects for every user. The display type for a user is set according to these projects. To edit the default projects, choose Administration - Default projects ... from the menu. A window as shown below will open, where you can set the default project for every user. If the projects are not specified here, the first project the user has access to will be used.

 

Every user can set his default project by choosing Administration - Default project ... from the menu. A window as shown below will open, where the user can set the default project.

 

The tables used for the storage of these parameters are shown below.

Description of the tables

Table ProjectProxy

The projects - refers to database DiversityProjects

Column Data type Description Nullable Relation
ProjectID int The ID of the project, Primary key NO -
Project nvarchar (50) The name of the project as stored in the module DiversityProjects NO -
ProjectURI varchar (255) The URI of the project, e.g. as provided by the module DiversityProjects. YES -
AgentNameDisplayType nvarchar (50) The display type of the name of the agent YES Refers to table AgentNameDisplayType_Enum
CreateArchive bit If an archive e.g. by a task schedule should be created YES -
ArchiveProtocol nvarchar (MAX) The protocol created during the last archive YES -
RowGUID uniqueidentifier -Default value: newsequentialid() NO -
LastChanges datetime The recent date when data within the project had been changed YES -
IsLocked bit If the data within the project should not be changeed and the access for all users is restricted to read only YES -

Depending on:

  • AgentNameDisplayType_Enum

Table ProjectUser

The projects to which users have access to

Column Data type Description Nullable Relation
LoginName nvarchar (50) The login name of the user NO Refers to table UserProxy
ProjectID int The ID of the default project of the user as stored in table ProjectProxy NO Refers to table ProjectProxy
ReadOnly bit If the user has only read access to data of this projectDefault value: (0) YES -

Depending on:

  • ProjectProxy
  • UserProxy

Table UserProxy

The user logins - refers to database DiversityUsers

Column Data type Description Nullable Relation
LoginName nvarchar (50) The login name of the user, Primary key NO -
CombinedNameCache nvarchar (50) A combined name of the user, created on the base of an entry in the module DiversityUsers YES -
UserURI varchar (255) Refers to UserInfo.UserID in database DiversityUsers YES -
ProjectID int The ID of the default project of the user as stored in table ProjectProxy YES Refers to table ProjectProxy
Queries xml (MAX) Queries created by the user YES -
AgentURI varchar (255) A link to a DiversityAgents module where further informations about the user is available. YES -
ID int ID of the user NO -
PrivacyConsent bit If the user consents the storage of his user name in the database YES -
PrivacyConsentDate datetime The time and date when the user consented or refused the storage of his user name in the database YES -

Depending on:

  • ProjectProxy
Jul 30, 2024

Diversity Agents

References

References containing informations about the agent are listed in the References tab. The enter a new reference click on the button, To remove a reference use the button. A link to the module DiversityReferences can be established with the button.

The data of the agent references are stored in the table AgentReference.

Jan 14, 2025

Diversity Agents

Relations

The relations to other agents are shown in the Relations tab. To enter a new relation, click on the button, to remove a relation use the button. If the relations of an agent should not be published e.g. on the web, enter a reason in the Withholding section. Any text will prevent a publication. To change to an related agent, select it and click on the button.

The data of the agent relations are stored in the table AgentRelation.

Jan 14, 2025

Diversity Agents

Resources

The resources directory is set via the menu (Administration - Resources).

There are 3 possibilities for the resources directory:

  • Select any directory you have read/write access (User defined)
  • Select the "Home" directory of the user
  • Select the "My Documents" directory of the user

The default is set to Home. This directory will contain all files the user need access to (see image below).

Certain directories are hidden (Query) and are handled by the software i.e. the content should not be changed by the user. The other folders are generated by the software if missing, e.g. Export for any exports (see below).

 

Jul 30, 2024

Diversity Agents

Synonymy

The synonymy to other agents is shown in the Synonymy tab. Every agent can be a synonym to another agent. To make an agent to a synonym click on the button. For agents that are declared a synonym, you can specify the type of the synonymisation. If the type is "replaced by" than this agent will no longer be visible for external modules but will be replaced by the agent it is a synonym of. To change to a synonym of the agent just click on the button.

If the hierarchy for the synomyms contains a loop, a corresponding message will be shown and the tree will contain the current dataset twice (see below). To remove the loop, click on the button in the header for the dataset where the relation to the upper dataset should be removed.

 

Jul 30, 2024

Diversity Agents

Data withholding

If an agent should not be published e.g. on the web, enter a data withholding reason. Click on the   button to open a window where you can enter the reason why the data should not be published. Any entry will prevent the data from being published. For datasets with a data withholding reason the image will change to . To remove the restriction just click on the button and delete the reason. Besides whole datasets, the relations, adresses and images can be blocked from publication. See e.g. Relations for more details.