This is an old revision of the document!


Proto

A Proto defines some type of Card in your Application. A Proto can be seen as a template for Cards. Every proto has a name and a plural name for the Overview Proto. The Proto defines the fields and widgets on the card. In addition, one can specify access rights for all Cards based on this Proto and which Server-ScriptLibrary belongs to this Proto.

Comparison with relational databases

In relational databases, the data model is represented by the table schema. A table for “books” may define the attributes “ID”, “name”, “author”, such that each data entry has to define a value for each of these attributes. In Protogrid, a Proto takes the role of the table in such a way that it defines the data schema for all cards which are based on this Proto.

Find the Proto Key

To get the Protokey of a Card, first open the relative Proto by clicking onto “This Card → Open Proto” in the bottom left corner:

On the Proto Card you choose “This Card → Show Properties”:

In the opening Box, you find the Protokey labeled as “Card Key” (since it is also the key of the Card defining the Proto Definition):

Overview Proto

An Overview Proto is automatically created on the creation of a new Proto. The Overview Proto only contains a Tableview, containing all the Cards of the created Proto.

Data Proto

Every Proto containing more than a TableView is called a Data Proto, since it also contains some information stored in the Card and not only an overview of all the Cards.

Print/export