EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
{
"fields": {
"name": {
"type": "varchar",
"required": true,
"pattern": "$noBadCharacters"
},
"status": {
"type": "enum",
"options": [
"Draft",
"In Review",
"Published",
"Archived"
],
"style": {
"Published": "primary",
"Archived": "info"
},
"displayAsLabel": true,
"labelType": "state",
"view": "crm:views/knowledge-base-article/fields/status",
"default": "Draft",
"fieldManagerAdditionalParamList": [
{
"name": "activeOptions",
"view": "views/admin/field-manager/fields/not-actual-options"
}
],
"activeOptions": ["Published"],
"customizationOptionsReferenceDisabled": true,
"audited": true
},
"language": {
"type": "enum",
"view": "crm:views/knowledge-base-article/fields/language",
"customizationOptionsDisabled": true,
"customizationOptionsReferenceDisabled": true,
"audited": true
},
"type": {
"type": "enum",
"options": ["Article"],
"default": "Article"
},
"portals": {
"type": "linkMultiple",
"tooltip": true,
"audited": true
},
"publishDate": {
"type": "date",
"audited": true
},
"expirationDate": {
"type": "date",
"after": "publishDate",
"audited": true
},
"order": {
"type": "int",
"disableFormatting": true,
"textFilterDisabled": true
},
"description": {
"type": "text"
},
"createdAt": {
"type": "datetime",
"readOnly": true,
"fieldManagerParamList": [
"useNumericFormat"
]
},
"modifiedAt": {
"type": "datetime",
"readOnly": true,
"fieldManagerParamList": [
"useNumericFormat"
]
},
"createdBy": {
"type": "link",
"readOnly": true,
"fieldManagerParamList": [],
"view": "views/fields/user"
},
"modifiedBy": {
"type": "link",
"readOnly": true,
"fieldManagerParamList": [],
"view": "views/fields/user"
},
"assignedUser": {
"type": "link",
"view": "views/fields/assigned-user",
"audited": true
},
"teams": {
"type": "linkMultiple",
"view": "views/fields/teams"
},
"categories": {
"type": "linkMultiple",
"view": "views/fields/link-multiple-category-tree"
},
"attachments": {
"type": "attachmentMultiple"
},
"body": {
"type": "wysiwyg",
"view": "modules/crm/views/knowledge-base-article/fields/body",
"attachmentField": "attachments",
"audited": true,
"fieldManagerParamList": [
"required",
"audited",
"height",
"minHeight",
"useIframe",
"maxLength",
"readOnly",
"tooltipText"
],
"useIframe": true
},
"bodyPlain": {
"type": "text",
"readOnly": true,
"directUpdateDisabled": true,
"dynamicLogicDisabled": true,
"fieldManagerParamList": []
},
"isHtml": {
"type": "bool",
"default": false,
"audited": true,
"fieldManagerParamList": [
"default",
"tooltipText"
],
"inlineEditDisabled": true,
"layoutDefaultSidePanelDisabled": true,
"massUpdateDisabled": true
}
},
"links": {
"cases": {
"type": "hasMany",
"entity": "Case",
"foreign": "articles"
},
"portals": {
"type": "hasMany",
"entity": "Portal",
"foreign": "articles"
},
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
},
"assignedUser": {
"type": "belongsTo",
"entity": "User"
},
"teams": {
"type": "hasMany",
"entity": "Team",
"relationName": "entityTeam",
"layoutRelationshipsDisabled": true
},
"categories": {
"type": "hasMany",
"foreign": "articles",
"entity": "KnowledgeBaseCategory"
}
},
"collection": {
"orderBy": "order",
"order": "asc",
"textFilterFields": [
"name",
"bodyPlain"
],
"fullTextSearch": true
},
"optimisticConcurrencyControl": true
}