GR:Gravity/Definitions/Base Types

From Remain Software
Jump to navigation Jump to search

Base Types

Base Types are used to define fields and dependencies that are common to all Types of that Base Type. Currently there are three Base Types. You cannot add more Base Types.

Base Type Dependency

Let's create a Contributor connection from the Base Type to the User Type.

First we open the context menu on the Base Item type and then we select Connect. This will open a Dialog in which you can create a connection.

The details of the Dependency Types are discussed in this chapter.

Gr adddependencytype.png


Then we can define the connection.

Gr dependencytypewizard.png


The Base Item Dependencies will show up when creating an Item Type.


Gr dependencybasewizard.png


Base Type Extended Fields

The Gravity Extended Entity Admin view enables you to create fields for all Gravity entities that are Extendable. This means that you can add your own user fields to these entities.

As an example we are going to add an "External Link" to the Item type. This means that every Item you create, regardless of the Type, will inherit this Link field.


Gr extendedtypebase.png

More information about Extended Fields can be found here