wiki:S3/TableConfigurationSettings

Version 14 (modified by MattS, 10 years ago) ( diff )

--

Table Configuration Settings

  • TO BE COMPLETED

CRUD

General

These options affect all interactive CRUD functions:

Option Short Description Value See Also
insertablewhether new records can be inserted into the tableboolean
editablewhether records in the table can be editedboolean
deletablewhether records in the table can be deletedboolean

Forms

These options are relevant for CRUD forms:

Option Short Description Value See Also
subheadingsSubheadings to insert into CRUD formsstructure
mark_requiredEnforce fields to be marked as required in formslist of field names
onvalidationHook to validate recordsfunction
create_onvalidationHook to validate new records (overrides onvalidation for create)function
update_onvalidationHook to validate record updates (overrides onvalidation for update)function
onacceptHook to perform post-commit actionsfunction
create_onacceptHook to perform post-commit actions for new records (overrides onaccept for create)function
update_onacceptHook to perform post-commit actions for record updates (overrides onaccept for update)function
create_nexttarget for redirection after successful createURL
update_nexttarget for redirection after successful updateURL
post_processpost-process hook for old EmbeddedComponentWidget (no longer used)function

Data Tables / Data Lists

Option Short Description Value See Also
list_fieldsfields to show in data tables / listslist of field names
linktoURL to link the ID column in data tables to (usually overridden by s3.actions)URL
linkto_updateURL to link the ID column in data tables to (overrides linkto if the user is permitted to update)URL
extra_fieldsfields to be loaded regardless whether they are in list_fields or not (e.g. because they are needed for virtual fields)list of field names
listaddwhether to provide an embedded create-form in data table viewsboolean
addbtn
list_layoutcard renderer for data listsfunction or class
orderbydefault orderby for data tables/listsexpression
list_orderbydefault orderby for data lists (overrides orderby for data lists)expression

Delete

Option Short Description Value See Also
delete_nexttarget for redirection after deleteURL
ondelete_cascadeHook to perform cascade actions before deletefunction
ondeleteHook to perform post-delete actionsfunction

Super-Entities

Option Short Description Value See Also
super_entitySet tablename of Super-Entity tableStringSuper-Entities
%s_fieldsDefine field mapping for Super-EntityDictDefining a Super-Entity Instance

Auth

Option Short Description Value See Also
realm_components
realm_entity
owner_group
update_realm

Filter

Option Short Description Value See Also
context
filter_advanced
filter_widgets
filter_widgets
filter_clear
filter_formstyle
filter_submit

Timeplot

Option Short Description Value See Also
timeplot_options

PDF/XLS Exports

Option Short Description Value See Also
report_hide_comments
report_filename
report_formname
report_groupby

Pivot Table Reports

Option Short Description Value See Also
report_fields
report_options
report_advanced
report_submit
report_formstyle

Saved Filters / Notifications

Option Short Description Value See Also
notify_fields
notify_renderer
notify_subject
notify_template
filter_actions

Mapping

Option Short Description Value See Also
map_advanced
map_submit
marker_fn
popup_edit_url
popup_url

Hierarchy

Option Short Description Value See Also
hierarchy

Record Merger

Option Short Description Value See Also
referenced_by

Messaging

Option Short Description Value See Also
msg_recipient_type
msg_contact_method

Profile Pages

Option Short Description Value See Also
profile_widgets
profile_layers
profile_cols
profile_title
profile_header

Record Approval

Option Short Description Value See Also
requires_approval
onapprove
onreject

XML/JSON Exports

Option Short Description Value See Also
xml_post_render

Imports

Option Short Description Value See Also
oncommit_import_item
onconflict
xml_post_parse
deduplicate
Note: See TracWiki for help on using the wiki.