Necesito integrar el formulario de nuestro e-commerce con Creatio para que cada envío se registre como lead/prospecto. ¿Alguien puede indicarme el procedimiento o los pasos recomendados?

Campos del formulario → campos en Creatio (Lead)

  • Nombre
  • Apellidos
  • Correo electrónico
  • Teléfono
  • Mensaje 

 

 

 

 

Like 0

Like

1 comments

Hello,

 

For effective communication, could you please attach your question in English? 

 

Additionally, please find attached relative articles:

https://academy.creatio.com/docs/8.x/no-code-customization/category/webhook-service-integration

 

https://academy.creatio.com/docs/8.x/creatio-apps/products/marketing-to…

 

Thank you.

Show all comments
#FreedomUI
Sales_Creatio
8.0

Hello,

In freedomUI, i'm trying to override the EmailFormPage, i would like to filter the recipents list with the current account.

For now i have this non working filter :
           
 {
                request: "crt.HandleViewModelAttributeChangeRequest",
                handler: async (request, next) => {
                    if(request.attributeName == "EmailComposer_RecipientsMailboxes") 
                        {
                            const account = await request.$context.ActivityDS_Account_2vy71yu;
                            
                            const filter = new sdk.FilterGroup();
                            await filter.addSchemaColumnFilterWithParameter(sdk.ComparisonType.Equal, "Account", account.value);

                            request.parameters.push({
                                type: "filter",
                                value: filter
                            });
                            
                        }
                    
                    return await next?.handle(request);
                }
            }

How should i fix this ?

Best regards
Patrice

Like 0

Like

5 comments

Hi Patrice,

The crt.HandleViewModelAttributeChangeRequest is not designed to have request parameters.

How it works:

1. The first time you open the recipient's dropdown or when you write text in the input, crt.RefreshEmailRecipientsRequest is triggered, which sends a request to the DB to get data (Email) from the VwRecepientEmail schema. Then crt.HandleViewModelAttributeChangeRequest is triggered for the EmailComposer_RecipientsMailboxes attribute with response data from crt.RefreshEmailRecipientsRequest in request.value.

2. crt.RefreshEmailRecipientsRequest has the following parameter: event: { query: null, recipientsLength: 0 }. The query is a text from the recipient's input. It is used to filter records from the VwRecepientEmail schema, checking whether the Email or ContactName columns contain the text specified in the query.

3. The VwRecipientEmail schema has a ContactId column, so in theory, if you have an account ID, you can get all the contacts associated with that account and extract the relevant data.

4. The problem is that crt.RefreshEmailRecipientsRequest is not designed to filter data by columns other than Email and ContactName. There are no parameters where you can specify a filter, like you tried using sdk.FilterGroup, and then request.parameters.push, etc.

So, there is no simple solution for what you are trying to achieve. I suggest using the sdk.Model class to retrieve and filter the data you need, and then replace the data coming from standard requests with the data you have.

Also, check out these articles, they may be useful:
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/front-end-development/freedom-ui/data-sources/crud-operations/references/model-class-js
https://customerfx.com/article/querying-data-using-filter-conditions-via-the-model-class-equivalent-to-enityschemaquery-in-a-creatio-freedom-ui-page/

Hello Eduard,
thanks for the detailled answer !
i will try to find my way with the Model class.

Best regards
Patrice

I managed to load the needed filtered collection. 
Now i have a hard time setting the list in the page, the request.$context.EmailComposer_RecipientsMailboxes does not want to be updated.

Anybody know if this filtering may be available in future versions ?

Hello,

any help is very welcome !

i finally could fix my code for setting the sender email with the current user email, for anyone looking for the solution : 

handlers: /**SCHEMA_HANDLERS*/[
	{
		request: "crt.HandleViewModelAttributeChangeRequest",
		handler: async (request, next) => {
			const attributeName = request.attributeName;
			if(attributeName === 'EmailComposer_SendersMailboxes') {
					//Recupère le contact du User courant pour l'email expediteur:
					const sysValuesService = new devkit.SysValuesService();
					const sysValues = await sysValuesService.loadSysValues();
					const currentUser = sysValues.userContact;
 
					const contactModel = await devkit.Model.create("Contact");
					let contact = await contactModel.load({
						attributes: ["Id", "Email"],
						parameters: [{
							type: devkit.ModelParameterType.PrimaryColumnValue,
							value: currentUser
						}]
					});
					contact = contact.pop();
 
					const currentFrom = await request.$context.EmailComposer_From;
 
					setTimeout(() => {
						if(currentFrom != contact.Email) {
							request.$context.EmailComposer_From = contact.Email;
						}
					}, 500);
				}
 
				return next?.handle(request);
			}
		},
]/**SCHEMA_HANDLERS*/,
Show all comments
dashboards
FreedomUI
Sales_Creatio
8.0

Hello

In Freedom UI Dashboard component now it's possible only adding chart widgets, text label and quick filter:

In Freedom UI pages there are several components, like buttons, Lists, etc.

Users coming from classic ui section dashboard view are used to see not only charts but also lists.

How can we add a List component to a Freedom UI Dashboard?

Thanks

Regards

Like 3

Like

3 comments
Best reply

Available iņ Creatio 8.3.1 :)

I don't understand why this is missing currently. Would have thought the most basic component in dashboards would be available, considering all the other chart types are there.

Available iņ Creatio 8.3.1 :)

Damien Collot,

I created a demo environment from Creatio homepage that is version 8.3.1.4437 and I confirm the "List widget" is now available:

Dashboard widgets

 

Thanks !

Show all comments
attachments
FreedomUI
Sales_Creatio
8.0

I want to display the attachments of the contacts associated with an account, in the Account detail's page. Tried with the attachments control, but the condition is not customizable. 

Tried with the list, but I couldn't undertand how to create the condition. 

Is there a code customization that can be done? Or another approach?

Thanks community! 

Like 0

Like

1 comments

Hello Ignacio,

 

To display the attachments of all contacts that belong to the same account within the Account details section, you’ll need to add a new List component and configure it as follows:

image

 

The Contact attachment object stores all files associated with individual contacts.

 

The list only shows the attachments whose Contact is part of the Contacts linked to the current Account

 

In other words, the List retrieves all records from Contact attachments where the Contact belongs to the current Account.

Show all comments
OrderProduct
Sales_Creatio
8.0

Dear,

On the Order page (Classic UI) with a Freedom UI environment, an user has the following message when he add a product to the order :

error productinOrder

I can not find where the problem can come from, it happened on different computer. i tryed to remove the Creatio Cookie but the error message stil appears. When the user go back to the previous page in his navigator, the product has been add to the orderProduct.

Does anybody has allready had this problem ?

Thank you,
Nicolas

Like 0

Like

1 comments

Good day, Nicolas,

Thank you for reaching out to us. Our initial analysis suggests that this issue may have a number of different causes, including problems within packages and missing columns within objects.

In order for us to analyze the issue in greater detail, please email us at support@creatio.com
We will then proceed with further investigation.

Thank you in advance!

Show all comments
Sales_Creatio
8.0

Dear,
On the timeline of the account page, when I add a manager to the timeline filters, no results appear even though calls for that manager appear if no filters are applied.

For example:

without filter

With the filter no result are found:

with owner filter

How can i solve this issue please ?

On the email timeline, the owner filter is working.

Thank you,
Nicolas

Like 0

Like

1 comments

Ok i ve got it, i have to change the owner :
 "OwnerColumn": "Contact"

in the metadataentities:

= MetaData.Schema.AD4.TimelineEntityValues [{"TypeColumnValue":"00000000-0000-0000-0000-000000000000","IsDefault":true,"ComparisonType":null,"TileName":null,"SortColumn":"CreatedOn","OwnerColumn":"CreatedBy","IconId":null,"ColumnLayouts":[{"ColumnName":"Duration","ColumnLayout":"{\"column\": 1,\"row\": 1,\"colSpan\": 4,\"rowSpan\": 1}"},{"ColumnName":"StartDate","ColumnLayout":"{\"column\": 5,\"row\": 1,\"colSpan\": 4,\"rowSpan\": 1}"},{"ColumnName":"Result","ColumnLayout":"{\"column\": 9,\"row\": 1,\"colSpan\": 4,\"rowSpan\": 1}"},{"ColumnName":"Comment","ColumnLayout":"{\"column\": 13,\"row\": 1,\"colSpan\": 4,\"rowSpan\": 1}"}]}]

Show all comments
HandleViewModelResumeRequest
Sales_Creatio
8.0

Hi everybody, I have a simple code:

{
	request: "crt.HandleViewModelResumeRequest",
	handler: async (request, next) => {
		await next?.handle(request);
		const cardState = await request.$context.CardState;
		if (cardState === 'add' || cardState === 'copy') {
			// prepare fields
			request.$context.UsrLanguage_d00q91z = {value: "6ebc31fa-ee6c-48e9-81bf-8003ac03b019", displayValue: "English (United States)"};
		}
	}
},

the thing is, that it correctly enters the code everytime, but fills UsrLanguage_d00q91z with the desired value only once - after the local cache was deleted (or page was refreshed). The next time code works, but on the opened page UsrLanguage_d00q91z is empty. Why?!

PS. Unfortunately I can't use for some reasons default values set for object fields.

Like 0

Like

1 comments

Hi Dmitry,

Currently, the only option is to wrap the value setting in setTimeout:

{
	request: "crt.HandleViewModelResumeRequest",
	handler: async (request, next) => {
		await next?.handle(request);
		const cardState = await request.$context.CardState;
		if (cardState === 'add' || cardState === 'copy') {
			// prepare fields
			setTimeout(() => {
				request.$context.UsrLanguage_d00q91z = {
					value: "6ebc31fa-ee6c-48e9-81bf-8003ac03b019",
					displayValue: "English (United States)"
				};
			}, 300);
		}
	}
},

The problem is already registered on the R&D team, and we hope to see the fix in future releases.

Show all comments
Sales_Creatio
8.0

I need a salesperson to be able to see only their own records and not all other Opportunity records created.
This is currently my permissions tree

Organizational roles:

Functional roles:

Object permission configuration:

I'm running a test with a user who belongs to KAM CDMX and Comercial, and in the opportunities list, he sees all the opportunities, not just those he created.

The opportunities were uploaded in bulk, and he owns approximately 500, but he sees them all.

Like 0

Like

1 comments

Hi

As we see from the screenshots - the record permission is already granted for the functional role Comercial. This means that access to specific records is obtained by:

- The record author and their management role.
- The record owner and their management role.
- System administrators who have the “Add any data,” “View any data,” “Edit any data,” and “Delete any data” system operations.

Learn more about record permission in this Creatio Academy article.

If the user is still able to see all Opportunity records, it usually means that access is being inherited from another source. Please check the following points:

- Verify the Owner and Created by field in the Opportunity object - ownership can affect visibility.
- Confirm whether the user is not assigned to any other roles (functional or organizational) that provide "can read all" access or inherit broader rights from higher roles.
- Check if the user is not a manager of the role, since managers automatically inherit the permissions of users in their role, which can include visibility of all records.

You can find more details about roles in this Creatio Academy article.

Show all comments
Feed
Freedom
notFollow
Sales_Creatio
8.0

Hello,
On classic UI you could unsubscribe from feeds by clicking on the "Unfollow feed" menu in the page action menu:

Unfollow feed

How can I unsubscribe from a feed using the Freedom interface ?

Thank you,
Nicolas

Like 0

Like

1 comments

Hello,

The ability to unsubscribe from feed in the Freedom UI will become available starting from versions 8.3.1–8.3.2

As a temporary workaround, you can unsubscribe from feed using the Classic UI.

Best regards,
Ivan

Show all comments
auto-response
case
Sales_Creatio
8.0

I’m facing an issue where, upon ticket creation, I receive an autoresponder with the template "Case assigned to group."

After checking the database, I noticed that both the current assignee and the assignee group fields are populated.

Has anyone come across a similar issue or could help me with this?

Thanks,
Mahalaxmi.G

Like 0

Like

1 comments

Hello,

There are several processes responsible for notifying the assignee and assignee group about the case: "Send email to case group", "Send email to case assignee" are the ones that are usually triggered at the case registration by "Run process: Send email to case group". 

If you would like to avoid sending these notifications, you can disable the processes.

Show all comments