Hi Marco,
Anzeigekonfiguration
als erstes ein Beispiel für die Anzeige in der Detailansicht (hier die Felder MobileProcessingChecklist010 und MobileProcessingChecklist020):
{
"id": "ticket-details-object-information-config",
"name": "Ticket Info",
"type": "ObjectInformation",
"objectType": "Ticket",
"properties": [
"OrganisationID",
"ContactID",
"Created",
"CreateBy",
"Changed",
"ChangeBy",
"Age",
"LockID",
"TypeID",
"QueueID",
"DynamicFields.AffectedAsset",
"PriorityID",
"ResponsibleID",
"OwnerID",
"StateID",
"PendingTime",
"AccountedTime", # requires KIXPro
"DynamicFields.AnonymiseTicket",
"DynamicFields.MobileProcessingChecklist010",
"DynamicFields.MobileProcessingChecklist020",
"DynamicFields.CloseCode"
],
"displayFlatList": false,
"routingConfigurations": [
[
"OrganisationID",
{
"contextId": "organisation-details",
"objectType": "Organisation",
"contextMode": "DETAILS",
"objectIdProperty": "ID",
"history": false,
"resetContext": true,
"contextType": "MAIN"
}
],
[
"ContactID",
{
"contextId": "contact-details",
"objectType": "Contact",
"contextMode": "DETAILS",
"objectIdProperty": "ID",
"history": false,
"resetContext": true,
"contextType": "MAIN"
}
]
]
}
Das schaut dann aus wie in Anhang TicketView_WithChecklists.png
Eingabekonfiguration
Die Konfiguration für die "Edit"-Maske in SysConfig "ticket-edit-form-group-data" schaut so aus (Kommentare gehen natürlich nicht in JSON, aber hier zur Hervorhebung ergänzt - so don't copy-paste :-) ):
{
"id": "ticket-edit-form-group-data",
"name": "Translatable#Ticket Data",
"fieldConfigurationIds": [
"ticket-edit-form-field-title",
"ticket-edit-form-field-contact",
"ticket-edit-form-field-organisation",
"ticket-edit-form-field-affectedasset",
"ticket-edit-form-field-type",
"ticket-edit-form-field-queue",
"ticket-edit-form-field-sla", # requires KIXPro
"ticket-edit-form-field-channel",
"ticket-edit-form-field-timeunit",
"ticket-edit-form-field-related-tickets",
"ticket-edit-form-field-owner",
"ticket-edit-form-field-responsible",
"ticket-edit-form-field-priority",
"ticket-edit-form-field-state"
],
"separatorString": null,
"formFields": [
# ++++++++++++++++++ following is inserted for showing checklist-DF ++++++++++++++++++
{
"id": "ticket-edit-form-field-MobileProcessingChecklist010",
"label": null,
"property": "DynamicFields",
"inputComponent": null,
"required": false,
"hint": null,
"options": [
{
"option": "FIELD_NAME",
"value": "MobileProcessingChecklist010"
}
]
},
{
"id": "ticket-edit-form-field-MobileProcessingChecklist020",
"label": null,
"property": "DynamicFields",
"inputComponent": null,
"required": false,
"hint": null,
"options": [
{
"option": "FIELD_NAME",
"value": "MobileProcessingChecklist020"
}
]
},
# +++++++++++++++++++ EO inserted for showing checklist-DF ++++++++++++++++++
# ...other stuff follows here...
Dann schaut das so aus wie in Anhang TicketEdit_WithChecklists.png.
viele Grüße, Torsten