Hornet Folder - Common Properties
-
primaryKey
-
The name of the SQL Tables primary key (Hornet currently only supports single field keys)
Example: employeeId
-
titleFieldName
-
The name of the SQL Table field to use as the Zope/Plone 'Title'. Currently can only match a single
field, however string expressions will be supported in future.
-
searchableTextFieldName
-
The name of the SQL Table field to use as the CMF/Plone 'SearchableText' field- this will be
used by portal_catalog for full text indexing, allowing the normal plone site search to find
hornet records.
Currently can only match a single field, however string expressions will be supported in future.
-
tableName
-
The name of the SQL Table to use.
-
cb_schema
-
Callback Schema- The name of a method (usually a python script in your skin) to call that generates
and returns the schema to use for objects in this folder.
-
customQuery
-
A Custom SQL Query to use instead of 'SELECT * from %(table)s'.
Usually used for optimization (i.e. Joining to commonly used related tables), or to return different
values for Title and Searchable text fields if you need to join multiple fields togethor
(i.e. concat_ws(' ', first_name, last_name) as full_name)