ComboBox
MultiChoiceMixin
Sales_Creatio_enterprise_edition
7.18

Hi community,

 

I installed the multichoice package from the marketplace and I created a combobox but for some reason I'm not able to save the data once I filled the created combobox.

 

Here is my schema :

define("MTF_Candidat1Page", ["MultiChoiceMixin"], function() {
	return {
		entitySchemaName: "MTF_Candidat",
		attributes: {
			"UsrComboBox": {
				"dataValueType": Terrasoft.DataValueType.LOOKUP
			},
		},
		mixins: {
			MultiChoiceMixin: "Terrasoft.MultiChoiceMixin"
		},
		methods: {
			init: function() {
				this.callParent(arguments);
				this.mixins.MultiChoiceMixin.init.call(this, arguments);
			},
			getMultiChoiceEntitiesConfig: function() {
				items = {
					UsrComboBox: {
						mainEntitySchemaName: "MTF_Candidat",
						mainColumnName: "Lkp_Francais",
						relatedEntitySchemaName: "MTFcompetenceslinguistiques",
						relatedColumnName: "Name"
					}
				};
				return items;
			}
		},
		...
		diff: /**SCHEMA_DIFF*/[
		...
		{
				"operation": "insert",
				"parentName": "TabMTFInfosCandidatTabLabelGridLayoutd7450211",
				"propertyName": "items",
				"name": "UsrComboBox",
				"values": {
					"className": "Terrasoft.MultiChoiceCombobox",
					"layout": {
						"colSpan": 12,
						"rowSpan": 2,
						"column": 0,
						"row": 0,
						"layoutName": "TabMTFInfosCandidatTabLabelGridLayoutd7450211"
					},
					"bindTo": "UsrComboBox",
					"dataValueType": Terrasoft.DataValueType.ENUM,
					"labelConfig": {
						"caption": "Test ComboBox"
					}
				},
				
			},
		...
		]/**SCHEMA_DIFF*/
	};
});

"UsrComboBox" is an attribute I created in the attributes of this schema.

"MTF_Candidat" is an object that I created in the page wizard.

"Lkp_Francais" is the field ID for a lookup already defined in the page wizard. By default when I created Lkp_Francais, the connected lookup is "MTFcompetenceslinguistiques".

"MTFcompetenceslinguistiques" is a basic lookup with only the inherited fields

 

It produces this combobox :

The UI part it works fine :

But if I save my object, close it and reopen it, the data previously filled in the combobox are no longer there:

 

I tried to generate the source code for all the modified schemas in the advanced settings, then I recompiled everything and it still doesn't work.



Do you have any idea what is going on and what I can do to solve this problem?

 

EDIT : in my getMultiChoiceEntitiesConfig method I tried to change

mainColumnName: "Lkp_Francais"

to

mainColumnName: "Id"

as recommanded in https://marketplace.creatio.com/app/multiple-choice-field-setup-creatio under the installation part and this time when I save my object it just load indefinitely. I tried to change it to "MTFContactCandidat" which is a lookup connected to a Contact object and the result was the same,when I click on save it loads indefinitely.

 

Best regards,

 

Julien G.

Like 0

Like

2 comments
Best reply

Hi Julien,

This add on should work with a detail which linked with your main entity (MTF_Candidat) and the lookup (MTFcompetenceslinguistiques).

 

According to the information you mentioned, you only have a field in the MTF_Candidat which linked to MTFcompetenceslinguistiques.



Therefore, you need change your design by creating a detail which allows you to store multiple records from the lookup and link to the main object.

 

After that your item configuration should be something like this:

 

items = {
 UsrComboBox: {
		mainEntitySchemaName: "DetailObject", //Detail Object code
		mainColumnName: "ColumnConnectedToMainObject", //The column in the created detail which link to MTF_Candidat.
		relatedEntitySchemaName: "MTFcompetenceslinguistiques", //Lookup object,Your configuration is Correct.
		relatedColumnName: "ColumnConnectedToLookup" //The column in the created detail which link to MTFcompetenceslinguistiques
	}
};

regards,

 

Cheng Gong

Hi Julien,

This add on should work with a detail which linked with your main entity (MTF_Candidat) and the lookup (MTFcompetenceslinguistiques).

 

According to the information you mentioned, you only have a field in the MTF_Candidat which linked to MTFcompetenceslinguistiques.



Therefore, you need change your design by creating a detail which allows you to store multiple records from the lookup and link to the main object.

 

After that your item configuration should be something like this:

 

items = {
 UsrComboBox: {
		mainEntitySchemaName: "DetailObject", //Detail Object code
		mainColumnName: "ColumnConnectedToMainObject", //The column in the created detail which link to MTF_Candidat.
		relatedEntitySchemaName: "MTFcompetenceslinguistiques", //Lookup object,Your configuration is Correct.
		relatedColumnName: "ColumnConnectedToLookup" //The column in the created detail which link to MTFcompetenceslinguistiques
	}
};

regards,

 

Cheng Gong

Cheng Gong,

 

Thanks for your answer!

 

 

Show all comments
ExcelReportBuilder
Sales_Creatio_enterprise_edition
7.17

Hi, community. We have the excel report builder add-on installed. It works fine for all sections except Leads. This is the error message we get:

 

 

When I save changes to the section in the section wizard, it saves them fine. The object compiles correctly. How can I dind out which column is the problem?

 

Thanks!

Like 1

Like

0 comments
Show all comments
account
health
score
Sales_Creatio_enterprise_edition
7.17

How does you calculate the health score of an account?

Like 0

Like

1 comments

Hello Andrew,

 

Thank you for your question!

 

Please, check this article on our Academy on predictive scoring:

https://academy.creatio.com/docs/user/no_code_customization/ai_tools/pr…

 

Hopefully, this will help but please let us know if you have any other questions.

 

Kind regards,

Anastasiia

Show all comments
Process_file;
fastreport
Sales_Creatio_enterprise_edition
7.17

Hello community,

 

I use the [Process file] business process element to generate custom FastReports to print my opportunities.

I succeeded in generating PDF as Attachments, but I would like to download the PDF instead.

 

Do you think this is possible? If so, how to proceed?

 

Thanks

Like 4

Like

4 comments

Hi Vincent, 



Unfortunatelly there are currently no option to automatically download the attachment using the business process. 

As a workaround you can set up an autogenerated page that would show the link to the file, so you'd need to make one more click to download the file rather then going to the section and downloading it from there. 

In order to build the link please refer to this community post: https://community.creatio.com/questions/link-attachment-file



I'll also register an idea for our developers to implement such functionality in future releases of the app. 



Best regards,

Yurii

Yurii Sokil,

 

 

I'd love to see a download trigger in Business Process as well.

This would be a useful addition, it looks like we may have to build this ourselves.

Would be nice to see this in a future update

Show all comments
clio
package
Sales_Creatio_enterprise_edition

Hello Team,

 

Facing some issues while registering DotNet Core Package on version 7.18. Currently all our development activities were performed in Windows OS and later we would have to package it and deploy in Client OS which is Linux.

 

So the blocker right now is we are getting error while registering our local instance and  it gives 404 error. I understand that the Clio tool is compatible with DotNet Framework so would like to know if there is any other methodology for generating package in DotNet Core. 

 

Appreciate your immediate response. Thank you!

File attachments
Like 0

Like

4 comments

Hello Anupama,

 

I tried replicating the same error message on my side, tried several configurations (including deleting Terrasoft.WebApp reference in IIS, different URLs with the / at the end and port numbers, localhost and actual domain name). I wasn't able to receive the same error:

Are you using the latest clio binary files (they can be found here)? Also can you login to the application from the browser directly? And have I understood you right that you are trying to login to the .NET Core app (localhost:5020)?

Oscar Dylan,

Thanks Oscar for your response. 

 

Yes I am using Dotnet core package and as it is not hosted on IIS and on Kestrel, I am wondering if that is the reason why I am getting 404. To check how the clio command works, I tried hosting dotnet framework package on IIS and the clio command responded successfully.

 

 

Is there any settings that I am missing for the clio to respond for Dotnet Core package.

 

Thanks

Anupama

Anupama,

 

I've also successfully logged into the .NET Core app (but it's hosted on Linux) using clio:

There shouldn't be any specific setting. Can you try re-deploying your local app using .Net Core and hosted on Linux? Also don't you receive any errors in the application logs at the moment of the connect? Logs of the .Net Core app are located in the Logs folder of the root application directory:

Oscar Dylan,

 

It seems to be the Url format which is different for Creatio Dotnet Core and Dotnet Framework package. 

I tried by removing the forward slash from the Url and it did worked and I am able to generate the package. 

Thanks for the suggestion shared earlier in of your messages. 

 

Now we are experiencing another issue. We are running the SonarQube in our project file to do a code quality analysis. So the package includes an Object Code along with the source Code and which is hindering the successful installation of the package. 

Is there any way to ignore that file as I didn't find any ignore command in the github .

 

Show all comments
Business Process
bug
Sales_Creatio_enterprise_edition
7.17

Hey community,

 

I've created a business process that puts the email in a contact object in lowercase. There are 2 signals, one when a contact is created and one when an email is updated.

 

When any user creates a contact, the business process runs and puts the email in lowercase.

 

If someone other than me updates an email, for unknown reasons, the business process don't run. If I am the one updating the email, the business process runs.

 

I've created many business processes and this is the only one that does that.

 

This is not a problem in the business process itself, as it works fine when I update an email.

 

The launch rights are the same as for all my other business processes.

 

I have admin rights on Creatio (I don't use the supervisor account, I have my own account with admin rights). Even if another admin updates the email address of a contact, the business process don't run.

 

Do you have any clues as to what is happening, why it is happening and how I can solve this problem?

 

Please feel free to ask for more details or screenshots if necessary.

 

EDIT :

I'm trying to update the email by editing the ContactPageV2 and the ContactMiniPageV2 directly. Here is my code but I can'tt find a way to make it work..

 

define("ContactPageV2", ["MultiChoiceMixin", "css!ClientUnit_MTF_ContactCustomCSS"], function() {
	return {
		entitySchemaName: "Contact",
		attributes: {
			"UsrInterests": {
				"dataValueType": Terrasoft.DataValueType.LOOKUP
			},
			"Email": {
				dependencies: [{
					columns: [],
					methodName: "emailToLower"
				}]
			}
		},
		/** ... */
		methods: {
			init: function() {
				this.callParent(arguments);
				this.mixins.MultiChoiceMixin.init.call(this, arguments);
				},
			emailToLower: function () {
				this.set("Email", this.get("Email").ToLowerCase());
			},
                        /** ... */

 

define("ContactMiniPage", [], function() {
	return {
		entitySchemaName: "Contact",
		attributes: {
			"Email": {
				dependencies: [{
					columns: [],
					methodName: "emailToLower"
				}]
		},
		/** ... **/
		methods: {
			emailToLower: function (){
				this.set("Email", this.get("Email").ToLowerCase());
			}
		},
                /** ... **/

 

Best regards,

 

Julien Gunther

Like 0

Like

1 comments

Hello Julien,

 

Hope you're doing well.

It would be great if you could provide the screenshots of the business process you use and the process elements settings as well.

Thank you in advance.

 

Best regards,

Roman

Show all comments
SSO
authentication
basicauthentication
Sales_Creatio
7.17

From the /ServiceModel/AuthService.svc/Login authorization API respond with 4 Set-Cookie headers in the response. But according to the spec [https://datatracker.ietf.org/doc/html/rfc6265#section-4.1] , "Servers SHOULD NOT include more than one Set-Cookie header field in the same response with the same cookie-name."  From the client application, it can't get the all 4 header values, only first one retrievable. Could you please give a fix or suitable workaround for this.

Like 0

Like

2 comments
Best reply

Hi Anusha, 

 

it's now allowed in HTTP/2 (https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2.5), which specifies: 

 

8.1.2.5.  Compressing the Cookie Header Field

   The Cookie header field [COOKIE] uses a semi-colon (";") to delimit
   cookie-pairs (or "crumbs").  This header field doesn't follow the
   list construction rules in HTTP (see [RFC7230], Section 3.2.2), which
   prevents cookie-pairs from being separated into different name-value
   pairs.  This can significantly reduce compression efficiency as
   individual cookie-pairs are updated.

   To allow for better compression efficiency, the Cookie header field
   MAY be split into separate header fields, each with one or more
   cookie-pairs.  If there are multiple Cookie header fields after
   decompression, these MUST be concatenated into a single octet string
   using the two-octet delimiter of 0x3B, 0x20 (the ASCII string "; ")
   before being passed into a non-HTTP/2 context, such as an HTTP/1.1
   connection, or a generic HTTP server application.

   Therefore, the following two lists of Cookie header fields are
   semantically equivalent.

     cookie: a=b; c=d; e=f

     cookie: a=b
     cookie: c=d
     cookie: e=f

Please also check out this article:

 

https://datatracker.ietf.org/doc/html/rfc6265#page-7

 

Best Regards, 

 

Bogdan L.

 

Hi Anusha, 

 

it's now allowed in HTTP/2 (https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2.5), which specifies: 

 

8.1.2.5.  Compressing the Cookie Header Field

   The Cookie header field [COOKIE] uses a semi-colon (";") to delimit
   cookie-pairs (or "crumbs").  This header field doesn't follow the
   list construction rules in HTTP (see [RFC7230], Section 3.2.2), which
   prevents cookie-pairs from being separated into different name-value
   pairs.  This can significantly reduce compression efficiency as
   individual cookie-pairs are updated.

   To allow for better compression efficiency, the Cookie header field
   MAY be split into separate header fields, each with one or more
   cookie-pairs.  If there are multiple Cookie header fields after
   decompression, these MUST be concatenated into a single octet string
   using the two-octet delimiter of 0x3B, 0x20 (the ASCII string "; ")
   before being passed into a non-HTTP/2 context, such as an HTTP/1.1
   connection, or a generic HTTP server application.

   Therefore, the following two lists of Cookie header fields are
   semantically equivalent.

     cookie: a=b; c=d; e=f

     cookie: a=b
     cookie: c=d
     cookie: e=f

Please also check out this article:

 

https://datatracker.ietf.org/doc/html/rfc6265#page-7

 

Best Regards, 

 

Bogdan L.

 

Bogdan Lesyk,

Thanks Bogdan. It was really helpfull, will check alternative way to process from the client API side.

Show all comments

As in the embedded screenshot, the Achieved Rate column (using the "Average" method to calculate totals) does not reflect the correct value of Opportunity amount column / Budget column. In this case, the row of month 8 contains 2 records of opportunities, but its Achieved Rate column value 0.83 is not 249,600/306,798; instead, 0.83 is the average of the 2 ratios of Opportunity amount/Budget of those 2 opportunities.

How can I do to display the value of 249,600/306,798 ?

Like 0

Like

7 comments

Hello Andrew,

 

Hope you're doing well.

 

Could you please provide us with the setup of the "Month" column and "Achieved Rate" column as well (with a description from which object you add it)?

 

Thank you in advance.

 

Best regards,

Roman

Hello Andrew,

 

Thank you for your reply.

At first, you can try to change the type of calculation from the "Average" to others for the 'Achieved Rate' column (for example set "Amount" to see how the calculations will be changed). Also you can compare the accuracy of the formula you use if you check the report of the needed records in excel. For that you will need to find the needed section (Opportunity), open the needed records/details for the 8th month, and export those records to excel. After that you will be able to re-check the value you received in the pivot table with the value you got in the excel report for the same period.

 

Also in the article below you can find more information about the formulas that are being used in the system:

Best regards,

Roman

Roman Rak,

Hi Roman,

 

Thank you for your reply. But it didn't answer my question.

As the screenshot below, you can see there is obviously no appropriate item to calculate what I need, and of course I had tried every item and no result was right. 

 

On the other hand, I found that in the Forecast section, the (pivot) table shown there is correct! I added a new forecast "FORECAST BY OPPORTUNITY" as shown below, and you can see the three Achieved Rates of the last 3 rows are correct respectively under the 3rd quarter of 2021.

So, what do you think?

 

Hello Andrew,

 

Could you please specify where is located the needed pivot table ('Quarter Achievement)?

 

Thank you in advance.

Hello.  I'm facing a similar issue.  Did you manage to solve it?

Show all comments
Charts
Contact
Sales_Creatio_enterprise_edition
7.17

On the Creatio user contacts page, I would like to display statistics according to the selected contact.
Number of calls made, number of opportunities, etc...
Here is my question:
How to link the graphs to the selected contact ?

If i select "Current contact", it is the logged in user who is selected.

As I am on a contact page, I would like the graphics to be linked to the selected contact.

Like 0

Like

3 comments
Best reply

Hello Nicolas,

 

In order to see information for a particular contact in the dashboards you will need to associate the dashboard with section data like this:

It will only work for the records currently displayed in the list. So to see the data for one record only you will have to filter the records so that only one Contact is in the list.

 

Best regards,

Max.

Hello Nicolas,

 

In order to see information for a particular contact in the dashboards you will need to associate the dashboard with section data like this:

It will only work for the records currently displayed in the list. So to see the data for one record only you will have to filter the records so that only one Contact is in the list.

 

Best regards,

Max.

Hello Max,
On Freedom this feature is not available ?
I'm trying to put a classic graph on freedom but I can't find the "access section data" block ?
 

i find it sorry ! the parameter is on the series

Show all comments
Sales_Creatio_enterprise_edition
7.17

Hello,

 

I downloaded the business card scanner from the marketplace.  The mobile app allows me to scan the business cards, but it will now allow me to save the lead.  Any suggestions?

 

It populates the fields correctly.  I am hoping there is an easy fix to this. 

Like 0

Like

4 comments

Hi Adam,

 

Please check the following and get back to us:

 

1. Can you create contacts successfully after scanning a business card?

2. Did you add additional required fields to the Leads section? If yes, this setting is blocking the lead creation.

 

Moreover, please specify your Creatio product and its version to help us to reproduce this issue.

Ivan Leontiev,

Hi Ivan,

 

we also have a problem with creating contacts with the business card scanner and it is related to required fields.

 

How can we add them to the Scan Results page?

 

Thanks and best regards,

Robert

Hello Robert,

 

Thank you for your question!

 

You can add new fields to the Scan Results page only by development. An alternative way is to create the required fields on the page level (not on the database one).

 

Kind regards,

Anastasiia

Anastasiia Lazurenko,

Thanks for the info! Is there a guide or at least some hints for adding the needed fields?

 

Thanks,

Robert

Show all comments