Hi Community,

I’m trying to set up global search using Docker, following the documentation. However, when I attempt to run the containers for the global search service components (see image below)

 

I encounter the following error:

 

Does anyone know what might be causing this error and how to resolve it?

Thank you!

Like 0

Like

0 comments
Show all comments

Hello Community,

 

I have created a custom page as shown below and added a button to the top bar.

 

When adding a new record, I want to hide the 'Add to Timesheet' button.

 

I want to learn, how to define the method and Method Calling in UsrTasks_FormPage in schema Designer.

UsrTasks_FormPage  Schema:

 

define("UsrTasks_FormPage", /**SCHEMA_DEPS*/[]/**SCHEMA_DEPS*/, function/**SCHEMA_ARGS*/()/**SCHEMA_ARGS*/ {
 
    var IsVisible = function() {
        //Logic is to Hide the Button on New Reacord Creation
    };
    return {
     viewConfigDiff: /**SCHEMA_VIEW_CONFIG_DIFF*/[
                   {
                "operation": "insert",
                "name": "AddToTimesheet",
                "values": {
                    "type": "crt.Button",
                    "caption": "#ResourceString(AddToTimesheet_caption)#",
                    "color": "primary",
                    "disabled": false,
                    "size": "large",
                    "iconPosition": "only-text",
                    "visible": { bindTo:  "IsVisible" },
                    "clicked": {
                        "request": "crt.CreateRecordRequest",
                        "params": {
                            "entityName": "UsrTimesheet",
                            "defaultValues": [
                                {
                                    "attributeName": "UsrProject",
                                    "value": "$PDS_UsrProject_yuj01i4"
                                },
                                {
                                    "attributeName": "UsrTask",
                                    "value": "$Id"
                                }
                            ]
                        }
                    },
                    "clickMode": "default"
                },
                "parentName": "ActionButtonsContainer",
                "propertyName": "items",
                "index": 0
            }
     ]/**SCHEMA_VIEW_CONFIG_DIFF*/,
        viewModelConfigDiff: /**SCHEMA_VIEW_MODEL_CONFIG_DIFF*/[]/**SCHEMA_VIEW_MODEL_CONFIG_DIFF*/,
        modelConfigDiff: /**SCHEMA_MODEL_CONFIG_DIFF*/[]/**SCHEMA_MODEL_CONFIG_DIFF*/,
        handlers: /**SCHEMA_HANDLERS*/[]/**SCHEMA_HANDLERS*/,
        converters: /**SCHEMA_CONVERTERS*/{}/**SCHEMA_CONVERTERS*/,
        validators: /**SCHEMA_VALIDATORS*/{}/**SCHEMA_VALIDATORS*/
    };
});

 

 

Regards,

Ajay K

Like 0

Like

4 comments
Best reply

If you're wanting to wire up code to run when the button in clicked, see this article: https://customerfx.com/article/adding-a-button-to-execute-custom-code-on-a-creatio-freedom-ui-page/

As for the visible property, using {bindTo: "something"} doesn't work for Freedom UI pages (that is for classic). Instead you'd add an attribute and bind it using "$AttributeName", then set that attribute elsewhere like in the model init request. 

Using attributes: https://customerfx.com/article/using-custom-attributes-on-a-creatio-freedom-ui-page/

Using the model init handler: https://customerfx.com/article/waiting-for-model-to-be-ready-and-loaded-in-the-crt-handleviewmodelinitrequest-on-creatio-freedom-ui-pages/

This article shows how to make something visible or not based on if the user is a member of a role: https://customerfx.com/article/showing-or-hiding-a-field-if-the-current…

Ryan

You can choose the visibility to "visible": { bindTo:  "IsVisible" } and add the conditions if needed:

isVisible: function() {
             if ( ---- )  
                     return true;
             return false;
}
 
OR
 
showButton: function() {
			this.callParent();
			this.set("isVisible", false);
			},

Best regards, Anhelina!

Anhelina,

Could you please clarify how to define the function in the schema?  

Is there any reference how to define the Functions in "ClientUnitSchemaDesigner". 

If you're wanting to wire up code to run when the button in clicked, see this article: https://customerfx.com/article/adding-a-button-to-execute-custom-code-on-a-creatio-freedom-ui-page/

As for the visible property, using {bindTo: "something"} doesn't work for Freedom UI pages (that is for classic). Instead you'd add an attribute and bind it using "$AttributeName", then set that attribute elsewhere like in the model init request. 

Using attributes: https://customerfx.com/article/using-custom-attributes-on-a-creatio-freedom-ui-page/

Using the model init handler: https://customerfx.com/article/waiting-for-model-to-be-ready-and-loaded-in-the-crt-handleviewmodelinitrequest-on-creatio-freedom-ui-pages/

This article shows how to make something visible or not based on if the user is a member of a role: https://customerfx.com/article/showing-or-hiding-a-field-if-the-current…

Ryan

Ajay,

Ryan is right. Suggested method works for ClassicUI but doesn't work with Freedom UI. The way to use visible property has changed. You can check the instructions from the Academy "Hide the feature on a page behind access permissions"

Show all comments

Hi All, I have setup a web service in Creatio that is working fine when I send parameters with data.

 

Sometimes I gonna call thie web service without all the parameters on the query, just one or more, it will depends on othe step before.

 

Is there a way to have a web service set up in Creatio with all parameters, but only make the call using the parameters that are not null?

Like 1

Like

2 comments

Hello!

 

It depends on whether the parameters with NULL values are required or not.

 

You can try leaving out the NULL parameters and see how the service responds. If the call fails with an error, then you'll need to include those parameters.

 

Let us know if you need further assistance!

If the API you're calling is picky about the parameters being included without values, you can add the same service method twice, once with the params, and one without. Then just call one or the other based on the needs.

Show all comments

Hi community,

 

I developped package A and package B.

The package B depends on package A.

In the package A I configured a translation for the field TableA.column1.

In the package B I replaced the translation for the field TableA.column1.

Is it possible to restore the default translation set up in package A?

 

 

Like 0

Like

1 comments

Hello,

 

If you have these translations in package A, yes, you can delete the replaced data from package B and the translations from package A will be displayed.

Show all comments

Hi I have faced with issue, that I want to add a gif of a loader to the left side of the caption to inform  user that this field is calculating and change it depending on its content For example if it is empty there should be loader gif if it is not it should be like a green tick.

 

Let's say I have already added MyIcon.png and I have field with this data:

 

{
				"operation": "insert",
				"name": "AgbRegisterFormMessage",
				"values": {
					"layout": {
						"colSpan": 23,
						"rowSpan": 1,
						"column": 1,
						"row": 1,
						"layoutName": "AgbIssuanceTabGridLayout"
					},
					"bindTo": "AgbRegisterFormMessage",
					"enabled": false
				},
				"parentName": "AgbIssuanceTabGridLayout",
				"propertyName": "items",
				"index": 3
			},

 

Like 0

Like

0 comments
Show all comments

I'm receiving item names from a third party via web services in JSON format. I want to trigger that web service when I click on a dropdown field, and the response from the web service should populate in the clicked dropdown. Can you please help me with this?

Like 0

Like

1 comments

Please use another approach in your business task. It seems impossible to set the response from a third-party service in the dropdown.

Show all comments

Hello, community,

I am running a business process, but after 100 iterations, the process stops, and I get this error: 'Operation interrupted to prevent recursive execution. The maximum allowed background recursion depth of 100 has been exceeded while performing these operations.'
I researched the issue and adjusted the 'Maximum Number of Repetitions' in the business process configuration, as well as a system setting called 'MaxProcessLoopCount.' However, I am still encountering the same error.

Like 0

Like

0 comments
Show all comments

Can I combine the Result from business process and the data from object in the same report?

Like 0

Like

1 comments

Hello,
 

It is not possible to insert data from the process directly into the report, as the report uses information obtained from columns/related objects.
 

However, you can add an additional column at the object level (or create an object that has a connection to the record, depending on the task) and include it in the report template. 

Before generating the report element, you can fill this field(s) with values generated during the process.
 

After generating the report, you can clear this column if needed. This way, during the execution of the business process, you will fill the column with the results of the business process, generate the report, and thus the process data will be reflected in the report. Afterwards, you can clear the column if necessary.
 

I hope this helps! Thank you for reaching out!

Best regards,
Pavlo!

Show all comments

Hi  creatio Community 

can formula Calculate the sum for fields ?

Like 1

Like

1 comments

Hello!

Could you please share a bit more information with us?

 

  • Where are you using the formula?
  •  
  • Which fields are you trying to calculate?
  •  

If you can let us know your goal, we’ll be happy to assist you further and provide the best solution.

 

 

 

Show all comments

can i add any aggregation function in report to return the sum for any fields ?

Like 1

Like

1 comments
Show all comments