Manage object types

Docs

This page explains what object types are and how you can manage them within KLEKSI.


What are object types?
An object type determines which data you can register for an object.

Examples of object types are:

  • Painting
  • Sculpture
  • Publication
  • Photo
  • Object
  • Audio file
  • Video file

Because each type of object has different properties, you can determine for yourself which information must be recorded for each object type.

For example, a painting requires fields for artist, technique, and dimensions, whereas a publication requires fields for author, publisher, and ISBN.

KLEKSI offers complete flexibility to configure the desired structure per object type.


The structure of an object type
KLEKSI works with a flexible structure consisting of three layers:

  1. Groups
  2. Elements
  3. Fields


Example


Group : Identification
Element : Manufacturer
Fields :

  • Manufacturer's name
  • Role manufacturer

When an object has multiple makers, the Maker element can be easily duplicated so that multiple makers with different roles can be registered.

This structure makes it possible to keep complex registration structures clear and organized.


Create an object type
Go to Object types via Management.

  • Click on the + button.
  • Enter a name for the new object type.
  • Click Save.

The object type is added to the overview and is immediately available for further configuration.


Manage the structure of an object type
Click Edit Structure next to an object type.

You are now on the structure management page.

Here you see:

  • Left: the current structure of the object type.
  • Right: all available elements.

From this page, you can create groups, add elements, determine the order, and manage existing components.


Creating and managing elements
Elements form the building blocks of an object type and contain one or more fields.

Create new element

  1. Click on the gear icon.
  2. Open the overview of all elements.
  3. Click on the + button.
  4. Give the element a name.
  5. Add the desired fields.
  6. Set read and write permissions if necessary.
  7. Click Save.

The new element then appears in the list of available elements.


Setting up the structure
First, create a group. Click on 'Add new group' to create a new group.

Examples of groups are:

  • Identification
  • Description
  • Manufacture
  • Provenance
  • Documentation
  • Media


Adding elements to a group

  1. Enable the Edit option.
  2. Drag an element from Available elements to a group within the Current structure.
  3. Release the element at the desired position.

With drag & drop, you can also adjust the order of groups and elements.


Reuse elements
An important advantage of KLEKSI is that elements can be reused across multiple object types.

When the same element is used across different object types:

  • the element only needs to be maintained once;
  • users can search for the same data across multiple object types;
  • data structures remain consistent.

Examples of reusable elements are:

  • Manufacturer
  • Dating
  • Material
  • Dimensions
  • Location

Elements that are used exclusively for a single object type can be searched separately.


Rights and access management
KLEKSI supports extensive permission structures for both dashboard users and frontend visitors.

For each role, you can determine:

  • Which collections are visible.
  • Which elements are visible.
  • Which elements may be edited.
  • Which elements are read-only.

When certain information should not be accessible to everyone, it is best to place it in a separate element. You can then protect this element with permissions.

This allows you to maintain full control over which information is visible to which user group.


Remove elements
Deleting an element requires additional confirmation because previously entered data may also be lost.


Remove an element from an object type

  1. Enable Edit.
  2. Drag the element from the Current structure back to Available elements.
  3. Confirm the deletion action.

You will then receive a warning such as:

Are you sure you want to remove 'Documents' from the current structure? Data that has already been entered for objects using this element will be deleted with this action.

To prevent accidental deletion, you must first enter the specified word before the final delete button becomes available.


Remove fields
Be careful when removing fields.

When an element is used by multiple object types, deleted fields, including all entered data, are deleted from all object types that use this element.

Therefore, always check first:

  1. Which object types make use of the element in question.
  2. Whether the data is needed elsewhere.

You can find this overview via the gear icon in the element manager.


Important
An object type cannot be changed. Once an object has been registered, the selected object type can no longer be changed.

This is a deliberate choice within KLEKSI, because each object type has its own structure with specific fields.

If an object type were to be modified retrospectively, there is a risk that data will be lost because certain fields do not exist in the new object type.

Did you accidentally select the wrong object type? Then the object must be re-registered with the correct object type.

Therefore, always carefully check that you select the correct object type before creating a new object.