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
    }
]

 

Like 0

Like

0 comments
Show all comments

Hi Community,

 

I have three objects: Contact, Accounts details, AccountContact. Contacts has contact details unique on email address. Contact and Accounts details have many to many mapping with AccountContact being the mapping table. We have created lookups in accountcontact table on contact and accounts to get the mapping. Now we want to show all the accounts in Accounts details for a contact in an expanded list on the contact form page. How do we reach from contact object to accounts via accountcontact object? Screenshot of the properties of expanded list attached

Like 0

Like

1 comments

Hi,

Unfortunately, I didn't fully understand your task. Could you please provide a schematic representation of the table relationships and the data you want to display on which page?

Show all comments

Hi Community,

Can you provide a snippet on how we can achieve the following?

For example in the 'Contacts' editable list

We want the field 'Full Job title' to be editable and the field 'Email' to be NOT editable (its values are populated via Business processes) so we dont want manual insertion from the user. How can this be achieved?

Sasor

Like 3

Like

3 comments

You could add a business rule at the object level to disable editing of the email, but then it would also be disabled at the page level (unless that is also what you want). Other than that, the only option is to turn off the editable list property (since, currently, you can't make certain fields editable and others not)

@sasori Great idea !

Try add a readonly flag to your column in crt.DataGrid for Contacts
After that try to restore default settings on the page for this detail if you added more columns to this grid. This functionality is kinda buggy.

Show all comments

Hi!

 

Maybe someone has already implemented highlighting of rows in a list according to conditions at Freedom UI?

Like 0

Like

2 comments

I don't believe it's possible with the Freedom UI list. It doesn't fire the necessary requests for each row. Only option for now, as far as I am aware, is to add color to a lookup value as in https://customerfx.com/article/adding-color-to-column-values-in-creatio…

Hello Grygorii,
Thank you for your question.

Unfortunately, in current version of Creatio there is no built-in option to highlight a record in list page in Freedom UI.
 

Show all comments

Hello everybody!

 

I couldn't find anywhere description of checkboxes in page parameters configuration windows in client schema code designer. Working on Freedom UI on 8.1.2 and 8.1.3.

I understand several of them because checbox title pretty much reflects it's purpose.
1. For example, "Required" checkbox makes parameter required for filling on client page. But if it is required it doesn't block saving. So, what's the meaning of this checkbox?
2. Another example is "Copy value" checkbox. It must mean that if I copy record then the parameter value is copied. But right now I see those parameters as virtual columns from Classic UI and don't understand how they possibly be copied if you copy from section list, for example.

3. Another example is "Lazy load". I understand concept of lazy loading (https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading), but I don't understand how it would affect parameter and all related logic in Creatio.

 

Would really appreciate any information on what each of them do exactly in Creatio system (when are provoked, how affects logic of parameter and etc.).

 

Checkboxes I'm talking about:

1. Required

2. Resulting

3. Contains performer Id

4. Lazy load

5. Serializable

6. Copy value
 

Screenshot of window with checkboxes:

Like 2

Like

1 comments
Best reply

Hello Khassan,
Thank you for your question!

[ Required ] Determines whether the value of the parameter must be specified when designing a process diagram or a diagram element.

[ Resulting ] Specifies that the value of this parameter is the result after the execution of the process element.

[ Contains performer Id ] Indicates that the responsible contact ID can be stored in the value of this process element parameter. The property becomes available if you select "Lookup" in the [ Type ] property.

[ Lazy load ] Specifies the load process. If you select the checkbox, Creatio loads the parameter immediately before using it.

[ Serializable ] Determines whether the value of the parameter should be stored in the database. Not supported for interpreted process diagrams. Mapping will not work if the value is false. 

[ Copy value ] Determines how to initialize the value of the parameter when the process element is executed. If the value is true, then when the element is re-executed, the value of the parameter will be determined from the previous iteration of this process element. 

You can read about page parameters here.


Hope this helps.

Hello Khassan,
Thank you for your question!

[ Required ] Determines whether the value of the parameter must be specified when designing a process diagram or a diagram element.

[ Resulting ] Specifies that the value of this parameter is the result after the execution of the process element.

[ Contains performer Id ] Indicates that the responsible contact ID can be stored in the value of this process element parameter. The property becomes available if you select "Lookup" in the [ Type ] property.

[ Lazy load ] Specifies the load process. If you select the checkbox, Creatio loads the parameter immediately before using it.

[ Serializable ] Determines whether the value of the parameter should be stored in the database. Not supported for interpreted process diagrams. Mapping will not work if the value is false. 

[ Copy value ] Determines how to initialize the value of the parameter when the process element is executed. If the value is true, then when the element is re-executed, the value of the parameter will be determined from the previous iteration of this process element. 

You can read about page parameters here.


Hope this helps.

Show all comments