Hi community ,
I find it a little difficult to figure out how to implement the freedom ui component configuration in my page, even if Creatio documentation lists it all:
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/mobile-development/customization/freedom-ui/customize-page/references/common-components
The "UsrMobileUsrLeaveRequestRecordPageSettingsWorkplace2" client module is attached to this mobile page for a custom section that I designed called "UsrLeaveRequest."
How do I proceed about adding a custom button to this edit page now?
[
{
"operation": "insert",
"name": "settings",
"values": {
"entitySchemaName": "UsrLeaveRequest",
"details": [],
"columnSets": [],
"localizableStrings": {
"SocialMessageDetailCaptionUsrLeaveRequest_caption": "Feed",
"AttachmentsDetailCaptionUsrLeaveRequest_caption": "Attachments",
"primaryColumnSetUsrLeaveRequest_caption": "General information",
"UsrEmployeV2_DetailStandardDetailUsrLeaveRequest_caption": "Employees detail"
},
"settingsType": "RecordPage",
"operation": "insert",
}
},
{
"operation": "insert",
"name": "SocialMessageDetailV2StandardDetail",
"values": {
"caption": "SocialMessageDetailCaptionUsrLeaveRequest_caption",
"entitySchemaName": "SocialMessage",
"showForVisibleModule": true,
"filter": {
"detailColumn": "EntityId",
"masterColumn": "Id"
},
"operation": "insert"
},
"parentName": "settings",
"propertyName": "details",
"index": 0
},
{
"operation": "insert",
"name": "AttachmentsFlutterDetailStandardDetail",
"values": {
"caption": "AttachmentsDetailCaptionUsrLeaveRequest_caption",
"entitySchemaName": "SysFile",
"filter": {
"detailColumn": "RecordId",
"masterColumn": "Id"
},
"operation": "insert"
},
"parentName": "settings",
"propertyName": "details",
"index": 1
},
{
"operation": "insert",
"name": "UsrEmployeV2_DetailStandardDetail",
"values": {
"caption": "UsrEmployeV2_DetailStandardDetailUsrLeaveRequest_caption",
"entitySchemaName": "Employee",
"filter": {
"detailColumn": "Manager",
"masterColumn": "UsrApplicant"
},
"detailSchemaName": "UsrEmployeV2_Detail",
"operation": "insert"
},
"parentName": "settings",
"propertyName": "details",
"index": 2
},
{
"operation": "insert",
"name": "primaryColumnSet",
"values": {
"items": [],
"rows": 1,
"entitySchemaName": "UsrLeaveRequest",
"caption": "primaryColumnSetUsrLeaveRequest_caption",
"position": 0,
"operation": "insert"
},
"parentName": "settings",
"propertyName": "columnSets",
"index": 0
},
{
"operation": "insert",
"name": "42d4b33c-f361-44d4-92cd-07e8db664fca",
"values": {
"row": 0,
"content": "Leave Request No.",
"columnName": "UsrLeaveReaquestNo",
"dataValueType": 1,
"operation": "insert"
},
"parentName": "primaryColumnSet",
"propertyName": "items",
"index": 0
},
{
"operation": "insert",
"name": "0d5ca981-1558-4e4d-b1a2-2b2b9dbd422c",
"values": {
"row": 1,
"content": "End Date",
"columnName": "UsrEndDate",
"dataValueType": 8,
"operation": "insert"
},
"parentName": "primaryColumnSet",
"propertyName": "items",
"index": 1
},
{
"operation": "insert",
"name": "2013f978-c87f-4896-96be-5383cfd044e3",
"values": {
"row": 2,
"content": "Start Date",
"columnName": "UsrStartDate",
"dataValueType": 8,
"operation": "insert"
},
"parentName": "primaryColumnSet",
"propertyName": "items",
"index": 2
},
{
"operation": "insert",
"name": "266417d3-f847-4386-af45-2674e9e779bb",
"values": {
"row": 3,
"content": "Applicant",
"columnName": "UsrApplicant",
"dataValueType": 10,
"operation": "insert"
},
"parentName": "primaryColumnSet",
"propertyName": "items",
"index": 3
},
{
"operation": "insert",
"name": "1655829d-ce75-476c-9350-ce2696ecbf6d",
"values": {
"row": 5,
"content": "Reason",
"columnName": "UsrReason",
"dataValueType": 1,
"operation": "insert"
},
"parentName": "primaryColumnSet",
"propertyName": "items",
"index": 4
},
{
"operation": "insert",
"name": "9f677f71-3322-4e75-9938-69ca4e1c650f",
"values": {
"row": 6,
"content": "Status",
"columnName": "UsrStatus",
"dataValueType": 10,
"operation": "insert"
},
"parentName": "primaryColumnSet",
"propertyName": "items",
"index": 5
},
{
"operation": "insert",
"name": "3d874029-b467-4d7b-9eb0-d2ebfbe20403",
"values": {
"row": 7,
"content": "Working Days Count",
"columnName": "UsrWorkingDaysCount",
"dataValueType": 4,
"operation": "insert"
},
"parentName": "primaryColumnSet",
"propertyName": "items",
"index": 6
},
{
"operation": "insert",
"name": "bc0d7d7e-ffdf-44a5-98b3-0a10094341e2",
"values": {
"row": 4,
"content": "Applicant.Manager",
"columnName": "UsrApplicant.Manager",
"dataValueType": 10,
"operation": "insert"
},
"parentName": "primaryColumnSet",
"propertyName": "items",
"index": 7
}
]