Hi Community,

 

I want to show a popup confirmation message when I click on the cancel button in any section records. What is the method that I can use to override the cancel action?

 

Thank you

Geeviniy

Like 0

Like

2 comments
Best reply

You need to handle the "crt.CancelRecordChangesRequest" request.

Ryan

Any update on this?

You need to handle the "crt.CancelRecordChangesRequest" request.

Ryan

Show all comments

Hi Community,

 

I am trying to add a field validation via javascript code using the below article.

https://academy.creatio.com/docs/developer/getting_started/develop_appl…

 

While I am trying the validation, I am getting an error in the console as in the screenshot below. It says "Cannot read properties of undefined (reading 'invalidMessage')." I am initiating a null value in the method as described in the above article. What am I missing here? I cannot add validation to any fields because of this error. I have also added my code snippet below.

 

onEntityInitialized: function() {
				this.callParent(arguments);
				this.onBooleanChange();
				this.changeColor();
				this.setYearEnd();
				this.setNumberOfDaysInApplicationCreationStage();
				this.accountHolderValidator();
			},
 
			setValidationConfig: function() {
				this.callParent(arguments);
				//this.addColumnValidator("BEALMDateofBirth", this.dateOfBirthValidator);
				this.addColumnValidator("BEALMAccountHolderType", this.accountHolderValidator);
			},
 
			accountHolderValidator: function() {
				var invalidMessage = "";
				var lead = this.get("BEALMLead").value;
				var scope = this;
				var esq = Ext.create("Terrasoft.EntitySchemaQuery", {
					rootSchemaName: "Lead"
				});
				esq.addColumn("Id");
				esq.addColumn("BEALMIsPAHExist");
 
				var esqFilter = esq.createColumnFilterWithParameter(Terrasoft.ComparisonType.EQUAL, "Id", lead);
				esq.filters.add("esqFilter", esqFilter);
 
				esq.getEntityCollection(function (result) {
					if (result.success) {
						var isPAHExist = result.collection.collection.items[0].values.BEALMIsPAHExist;
						if (isPAHExist == true) {
							invalidMessage = this.get("Resources.Strings.BEALMInvalidAccountHolderMessage");
						}
						else {
							invalidMessage = "";
						}
						return {
							invalidMessage: invalidMessage
						};
					}
				});
			},

 

Please help to resolve this issue.

 

Thank you

Cheers!

Like 0

Like

2 comments
Best reply

There are two issues:

1) You're not including the scope in your ESQ so in the callback it no longer knows what "this" is. Change to this: 

esq.getEntityCollection(function (result) {
    // stuff here
}, this);  // <- notice passing this scope 

2) Regardless of the missing "this" scope, this will not work since the ESQ is asynchronous. You'll need to use asyncValidate instead. I have an article on how to do that here: https://customerfx.com/article/asynchonous-validation-on-pages-in-creat…

Ryan

 

There are two issues:

1) You're not including the scope in your ESQ so in the callback it no longer knows what "this" is. Change to this: 

esq.getEntityCollection(function (result) {
    // stuff here
}, this);  // <- notice passing this scope 

2) Regardless of the missing "this" scope, this will not work since the ESQ is asynchronous. You'll need to use asyncValidate instead. I have an article on how to do that here: https://customerfx.com/article/asynchonous-validation-on-pages-in-creat…

Ryan

 

Hi Ryan,

 

Thank you very much for the support. That worked like a charm.

Show all comments

Hi all,

 

I wanted to make a column in a detail list view as a link. So that when I click on that link, it will open that detail record. How can I achieve this?

Please note that this detail is non-editable and created based on a custom object which is not a section also. (Purely a detail created based on a new custom object.)

 

I tried the below articles already, and no luck so far.

https://community.creatio.com/questions/open-section-record-clicking-de…

https://community.creatio.com/articles/how-make-url-string-field-clicka…

 

Kindly help me resolve this issue.

 

Thank you.

Geeviniy

Like 0

Like

1 comments

Hello!

 

Your business task could be achieved only by development. 



The possible ways of accomplishing the task are described here: https://community.creatio.com/questions/convert-text-field-hyperlink#co…. Check it out!

Show all comments

Hi,

Using ODATA4 API I am able to read contact, account records but not able to read FinApplication(OOTB) & Contract its giving me 500 Internal Server error.

I am not able to understand this issue cause FinApplication and Contract are also OOTB objects like Account and Contact in Creatio but I am getting 500 Internal Server error. Is there any setting I need to make inside creatio.

Please help Urgently!

Like 0

Like

2 comments

Hello,

 

Try using Odata 3.

Odata 3 will display a detailed error.

 

Also, note that special characters in object column names can break Odata.

Cherednichenko Nikita,

 

Thank you , yes it's the special characters in the column names causing this problem.

Show all comments

Hello Community!

 

I have a detail made with this

implementation. https://academy.creatio.com/docs/developer/front-end_development/creati…;

By any chance someone knows how to use dependency o onchange method on the fields. The idea is to do a logic when the field change.

 

Regards,

 

Like 0

Like

3 comments

Hi Federico,

 

you must add an attribute in JS code of the detail page, specify which columns change that attribute would be listening to, and a method which would trigger when its changed:

 

"City": {  
  "dependencies": [
    {
      columns: ["City"],
      methodName: "onCityChanged"
    }
  ]
}

 

Hello Federico,

 

Hope you're doing well.

 

If I understood your request correctly, the next articles would help you to perform the required business task:

Best regards,

Roman

Thanks formar the answer. 

I'd tried with attributes and dependeces but looks like is not working on the BaseFieldsDetailV2, like this is a special detail may be there is another way to handle the change event. 

 

Show all comments

Dear mates,

In the case designer, i ve a process which launch a process which open a mail with a proposal for a contact.

Process:

Sub Process:

The case designer:

when the email is send, i would like to go to the next stage (Proposition Envoyée).

The Problem is that when the user select a model in the email panel, it saves the email and the process goto "Proposition envoyée" which change the section stage.

 

i would like to go to the next stage onlyt when the mail is send.

how could i do that ?

 

Thank you,

Nicolas

 

Like 0

Like

2 comments

Hello Nicolas,

 

There are several ways to achieve your task and the easiest way to do that is to do the following: in the "Open edit page" element of your sub-process modify the "When is the element considered complete?" parameter value to the "If the record matches conditions" and specify that the activity status (status) should be completed:

The problem in your case is that the "Open edit page" element is considered to be completed once you specify any changes and save the record, but not when the activity itself is completed (the email is sent) because the value for the "When is the element considered complete?" parameter by default is "Immediately after saving the record" and as a result each time you specify any changes to the activity it is being saved and the edit page considered to be completed and the process continues its execution.

 

Best regards,

Oscar

 

 

Oscar Dylan,

Thank you Oscar, it solved my problem !

 

Show all comments

Dear mates,

 

Any one please suggest best tool for performance monitoring and supported list of third party backup of software.

 

Thanks.

Like 0

Like

1 comments

Hello!

 

We recommend using the following tools to monitor the performance:

  • Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines (VMs) and cloud services. Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption.  
  • Grafana is the open-source analytics and monitoring solution for every database. It provides charts, graphs, and alerts for the web when connected to supported data sources. 

Please, let us know in case any additional information is required. 

 

Best regards, 

Olga Avis.  

Show all comments

Hi,



We have a default portal in Creatio. But, I want to know is it possible to build a portal using the Laravel Framework. If possible, please guide me on this.

Like 0

Like

3 comments

Hello,

 

Such integration is possible in theory, but we did not face such integration before. Try to check Laravel Framework documentation, maybe they have some examples of integration with CRM.

 

Best regards,

Angela

Angela Reyes,

Thank you for your information.

Can you please provide more information with the respective examples?

Nagamani Dangeti,

We do not have any, unfortunately

Show all comments

Hi, Hope could someone me



I want to implement a Portal in Creatio using the Laravel Framework. Please provide your assistance to do this.

Like 3

Like

1 comments

Hi!

 

You can use Laravel Framework documentation to start the developing: (https://laravel.com/docs/7.x).

Show all comments

Hi, hope someone will help

 

I have installed Creatio bank sales locally. In that, I am trying to register in a creatio portal. I have opened the portal registration form and have filled all the details. But, I am getting an error after clicking the Register button. Here, I am attaching the error message screenshot below. Please have a look and provide your valuable suggestions. 

I have used the below URL to open the portal page:

http://localhost:82/Login/SSPLogin.aspx

Thanks in advance!

Like 0

Like

7 comments

Hello Nagamani,

 

Seems that you haven't performed self-registration setup properly for your application. Please double-check everything using this Creatio Academy article https://academy.creatio.com/documents/portal/7-15/user-self-registration-portal, especially the system setting with "SSPRegistrationMailbox" code.

 

Best regards,

Oscar

Oscar Dylan,

Okay, I will read the provided article. Can you please tell me the below thing? 

    <add key="SspUserRegistrationLicPackage" value ="LicPackageName" />

In the above line, what I have to give as a value in place of " LicPackageName"?

 

Nagamani Dangeti,

 

it should be the name of the portal license assigned to the user who is self-registered on the portal. Like "creatio customer portal on-site"

Oscar Dylan,

I didn't get you. Can you please explain a little bit clearer?

Oscar Dylan,

 

I am modifying the code in Web.config file and added the below line to that file. 

    <add key="SspUserRegistrationLicPackage" value =".............." />

But, I didn't understand what value I need to put in the value field?

Oscar Dylan,

I didn't get any licenses for the SysPortalConnection user in my instance. I am attaching the screenshot below here. Please have a look and provide your suggestions.

Oscar Dylan,

Please provide a  solution as soon as possible. It is a high priority task for us.

Show all comments