Skip to main content

Details Widget

The Details Widget displays custom fields from any module in the system, providing detailed information about specific items.

Alt text

JSON Configuration

Common Widget Properties

PropertyTypeRequiredDefault ValueOptionsDescription
allowInlineEditbooleanNofalsetrue, falseToggle field editing through an added edit icon.
disableInlineEditLogicarrayNoN/AN/ALogic to deactivate field editing when certain custom field values are set.
clickablestringNoN/AN/AArray of customfields that should be clickable.
moduleidintegerYesCurrent ModuleN/AThe ID of the module to display data from.
queryarrayYes[["id", "=", "[itemid]"]]N/AJSON Query
relationsobjectNoN/AN/AJSON Relations

Examples

Example 1: Set inline editing to true and disable editing when the custom field value is "Closed" or "Done".

{
"allowInlineEdit": true,
"disableInlineEditLogic": [
{
"field": "[cf94]",
"value": "Closed"
},
{
"field": "[cf94]",
"value": "Done"
}
]
}

Example 2: Show details about a parent relation.

In this example, we are on module 2, and we want to show details about the parent relation on module 1. We need to use the relation id between module 1 and module 2 which is 123.

{
"moduleid": 1,
"query": [
[
"id",
"=",
"[relation123]"
]
]
}