Dear,

In the timelines, base64 images are not display correctly :

Timeline image

Has anyone ever had this problem?

Thank you !
Nicolas

 

Like 0

Like

3 comments
Best reply

Hello,

This is a known issue related to base64-encoded images. 

They aren't supported in most web email clients (including Gmail) and are completely blocked in Outlook. Apple Mail is one of the few clients that does support them. Such emails also influence the site's performance, as the email size becomes larger if it contains base64 images. 

We have a few recommendations for you on how to avoid this behavior: 

1. Increase the system setting (create it if it doesn't exist) for LargeSizeEmailValue and LargeSizeEmailValueInFreedomUI. 

2. Enable LargeEmailsInTimeline.DisableEmailPreviewLoader feature. 

Please, consider replacing base64-encoded images with others, to improve the overall performance value of your emails. 

Best regards,
Ivan

Hello,

This is a known issue related to base64-encoded images. 

They aren't supported in most web email clients (including Gmail) and are completely blocked in Outlook. Apple Mail is one of the few clients that does support them. Such emails also influence the site's performance, as the email size becomes larger if it contains base64 images. 

We have a few recommendations for you on how to avoid this behavior: 

1. Increase the system setting (create it if it doesn't exist) for LargeSizeEmailValue and LargeSizeEmailValueInFreedomUI. 

2. Enable LargeEmailsInTimeline.DisableEmailPreviewLoader feature. 

Please, consider replacing base64-encoded images with others, to improve the overall performance value of your emails. 

Best regards,
Ivan

Hello Ivan,

We will follow your recommendation and host our images on external servers, this will also improve our deliverability.

I added the LargeSizeEmailValueInFreedomUI parameter to the system settings but now when I click on "see more" I have an error in the console (image attached) and the system does not show me more of the email.

See more

Otherwise, could you please tell me how to enable the LargeEmailsInTimeline.DisableEmailPreviewLoader setting? I can't find it.

Thank you Yvan !

 

Hello,

To add a feature that is missing, navigate to https://SITENAME.creatio.com/0/Flags, then just click "New" button and add feature by code.

Article regarding features on our Academy:
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/platform-customization/interface-control-tools/existing-feature/overview#title-3459-1

Best regards,
Ivan

Show all comments

Hi everyone,

I’m currently facing a technical issue with a webhook handler I’ve implemented in Creatio.

Background:

  • I have a webhook endpoint that gets called by an external system at a rate of approximately 150 hits per second.
  • The Creatio database has a maximum connection limit of 400 connections.

The Problem:

During high load, I observed that the number of open database connections increases rapidly, and some queries are left idle (idle in transaction) even after the handler completes its process.

This leads to:

  • Exhaustion of available database connections
  • Timeout errors on other operations
  • Overall system unresponsiveness

What I’ve Tried So Far:

  1. I modified the data access code by changing queries from ESQ (EntitySchemaQuery) to direct Entity usage.
  2. I manually handled database connections by using:
    • using (DBConnection dbConnection = new DBConnection(...)) { ... }
    • Explicit calls to .Close() and .Dispose() on connections to ensure cleanup.

Despite these adjustments, I'm still seeing idle queries accumulating under high load.

My Questions:

  1. What could be the possible reasons why queries remain idle even after the handler has completed?
  2. Are there any known best practices in Creatio for managing database connections under high request volumes like this?
  3. Is there a proper way to ensure UserConnection or underlying connections are completely released, especially in high-frequency webhook scenarios?

I would really appreciate any insights, suggestions, or shared experiences that could help resolve this issue.

Thank you in advance!

Like 1

Like

1 comments

Hello.

1. There are many potential reasons for this behavior:
- Blocking at the DB level (when a large number of requests block each other), such requests may be displayed as "idle in transaction".
- Incorrect operation in the code that executes requests, but "a lot" of code is executed between the start of the transaction and the commit.
- There is not enough capacity of the DB server to process requests (including releasing the connection after the request is completed).

There is also a probability that the issue lies in the handler itself, and it doesn't close the database connection once the query is executed, but the issue may also be in the server configuration. 

2. The options that you use are suitable for such purposes (but of course it all depends on what code and what requests are being generated).

3. At the code level, they must be completely released. At the DB level, the DBMS itself is engaged in the release, with sufficient capacity it usually copes well.
Without knowing what code is executed, what requests, what capacities with such activity it is difficult to accurately name the cause and how it can be fixed.

Best regards,
Antonii.

Show all comments

I need to download a file attached to an object and then upload it to an API that will process it.
I've already tried using Odata, but I always get a 204 error. I also tried creating a web service, but I couldn't. Now I'm trying to convert the file to Base64 using a script task, but I'm still unsuccessful. It's a production environment.

Like 0

Like

2 comments

Hello,

You can find the instructions on working with files via API in the article below:

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platfor…

Mira Dmitruk,

Hello Mira, thanks, finally i can do it, i make an internal web service with API File Management, and with some parameters i can get the document in Base64 and send to AI Bot.

Show all comments

i want download an attached file on Creatio, using this endpoint:
https://miinstance.com/0/odata/ContactFile(f7946070-164d-48d3-8516-c31aff3f1588)/Data
But, don't work, If I consult directly without data, I receive the data, but to add /Data i receive the 204 status, y try with demo instance and works!, but in my production enviroment i always get the 204 status

 

{
    "@odata.context": "https://astec.creatio.com/0/odata/$metadata#ContactFile/$entity",
    "Id": "cd7641f2-8e9f-00c5-6662-c68f0f2dd298",
    "CreatedOn": "2025-05-16T22:46:30.610332Z",
    "CreatedById": "410006e1-ca4e-4502-a9ec-e54d922d2c00",
    "ModifiedOn": "2025-05-16T22:46:31.525903Z",
    "ModifiedById": "410006e1-ca4e-4502-a9ec-e54d922d2c00",
    "Name": "Abril 2025.pdf",
    "Notes": "",
    "LockedById": "00000000-0000-0000-0000-000000000000",
    "LockedOn": "0001-01-01T00:00:00Z",
    "TypeId": "529bc2f8-0ee0-df11-971b-001d60e938c6",
    "Version": 1,
    "Size": 135896,
    "ProcessListeners": 0,
    "ContactId": "35e409d2-c8fd-4790-9adf-43ff73abfc3e",
    "SysFileStorageId": "65e42805-0e6d-43c9-8784-32b555f08421",
    "FileGroupId": "efbf3a0d-d780-465a-8e4b-8c0765197cfb",
    "Tag": "",
    "TotalSize": 135896,
    "Data@odata.mediaEditLink": "ContactFile(cd7641f2-8e9f-00c5-6662-c68f0f2dd298)/Data",
    "Data@odata.mediaReadLink": "ContactFile(cd7641f2-8e9f-00c5-6662-c68f0f2dd298)/Data",
    "Data@odata.mediaContentType": "application/octet-stream"
}
Like 0

Like

4 comments

Hello,

Here are a few possible reasons for this behavior and some directions on where to start the investigation:

1. A 204 response usually means the endpoint was found, but the file content is zero bytes. This can happen if the file wasn’t uploaded correctly or if there’s an issue with the file storage. You can confirm this by checking the file size directly in the database, for example:
SELECT DATALENGTH([Data]) AS Bytes
FROM   ContactFile
WHERE  Id = 'f7946070-164d-48d3-8516-c31aff3f1588'
If this returns 0, the problem is likely at the storage level, not the API.

2. In production, the file may be stored in an external location like AWS S3, Azure Blob, or a network share. In this case check the ActiveFileContentStorage system setting is correctly configured.

If your website is using an S3 storage and since it's an external storage there is no possibility to use OData to get files from it. 
In this case we recommend to use a FileApiService in case you need to work with files on your website.

Nick Ovchynnik,

 

Nick Ovchynnik,

Hi Nick, I noticed that the storage is on S3, but I tried to create a web service with FileApiService to retrieve these documents attached to an object, but I wasn't successful. Not to mention creating a ScriptTask didn't work either.
Do you have a working example of how to do this?

Hi,

This article describes the operations with the files. Specifically, under the "Retrieve the file content" expandable tab.

If you face a specific issue with some part of the code, please submit a ticket to support@creatio.com so our team can address the error you got and suggest a solution.

Nick Ovchynnik,

Nick, finally i can make a webservice that, download a base64 of the selected document, let the code here, for help others with the same need.
Thank you very much.

namespace Terrasoft.Configuration.UsrFileRetrievalServiceNamespace {
    using System;
    using System.IO;
    using System.ServiceModel;
    using System.ServiceModel.Web;
    using System.ServiceModel.Activation;
    using Terrasoft.Web.Common;
    using Terrasoft.Core;
    using Terrasoft.Core.Factories;
    using Terrasoft.File;
    using Terrasoft.File.Abstractions;
 
    [ServiceContract]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
    public class UsrFileRetrievalService : BaseService {
 
        [OperationContract]
        [WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json,
                   BodyStyle = WebMessageBodyStyle.Wrapped,
                   ResponseFormat = WebMessageFormat.Json)]
        public string GetFileBase64(string fileId, string schemaName) {
            try {
                // Validaciones básicas
                if (string.IsNullOrEmpty(fileId) || string.IsNullOrEmpty(schemaName)) {
                    return "Parámetros inválidos.";
                }
 
                Guid recordId = new Guid(fileId);
 
                // Creamos el localizador del archivo
                var fileLocator = new EntityFileLocator(schemaName, recordId);
 
                // Obtenemos la fábrica de archivos
                IFileFactory fileFactory = UserConnection.GetFileFactory();
 
                // Cargamos el archivo desde la base de datos
                IFile file = fileFactory.Get(fileLocator);
 
                // Leemos el contenido del archivo
                byte[] content;
                using (Stream stream = file.Read()) {
                    using (var ms = new MemoryStream()) {
                        stream.CopyTo(ms);
                        content = ms.ToArray();
                    }
                }
 
                // Convertimos a Base64 para retorno JSON seguro
                return Convert.ToBase64String(content);
            } catch (Exception ex) {
                return $"Error: {ex.Message}";
            }
        }
    }
}
Show all comments

Hi Community,

I'm currently using the RichText element in a Creatio Freedom UI page to load a static HTML page inside a Tab container. The HTML content is stored in a System Setting, and I retrieve this code at runtime to display it using the RichText editor.

For example, I read the HTML code from a System Setting and then attempt to render the full HTML (including inline styles) in the RichText element.

However, I'm facing an issue where inline styles or custom CSS seem to be stripped out.

Figure 1: Original Design Layout

Figure 2: Current UI Output

Has anyone else encountered this?

Any suggestions would be appreciated.

Thanks in advance!

Like 2

Like

0 comments
Show all comments

I am kind of new to this platform and currently working on a Demo environment. Already created an Application from the AI Generation tool, but would like to do some changes to it that are far from my knowledge.

Is there a way to ask AI to create or edit something? So I can after check what AI did and learn from it.

Thank you

Like 0

Like

1 comments

Hello,

Creatio AI doesn't directly edit form pages, but it can assist with various tasks related to content creation and management. You can explore all the capabilities of Creatio AI currently available by following this link: https://academy.creatio.com/docs/8.x/no-code-customization/customization-tools/ai-tools/copilot/ai-skill-list

In addition, we've registered your idea in our R&D team backlog for consideration and implementation in future application releases.

Thank you for helping us to improve our product!

Show all comments

We are currently facing an issue with how incoming calls are handled within Creatio. When an incoming call is received, it is correctly routed to multiple available operator extensions simultaneously, which is expected behavior. However, the problem arises because Creatio is creating multiple call records — one for each operator to whom the call was redirected — even though only one of them actually answers the call.

We have a business process configured that is triggered upon the creation or modification of a record in the "Call" object. This process opens the customer profile page for the operator to assist in providing relevant information during the call.

The issue is that, due to multiple call records being created for the same incoming call, the business process is being triggered for all operators, not just the one who answers the call. As a result, the customer profile page is opening for all operators who received the call notification, which leads to confusion and unnecessary disruption.

Expected Behavior:
Only one call record should be created — specifically for the operator who actually answers the call. Consequently, the customer profile page should open only for that operator, not for everyone whose extension the call was redirected to.

Request:
We would appreciate your guidance or support in resolving this issue, either by adjusting the way call records are created or by providing a method to identify and limit the process execution to only the operator who answers the call.

Like 0

Like

3 comments

Hello,

Here’s how the basic logic works:

If a call appears on the CTI panel, it is automatically saved in the Calls section.
So, if a call is received by a group of 5 users, it will appear on the CTI panel for all 5 users. However, only one of them will actually answer the call.
As a result, 5 call records will be created in the Calls section, but only one will show that a conversation took place.

To avoid this, we recommend changing the call routing so that calls are directed to operators one at a time (sequentially).

This would require custom development, and unfortunately, we don’t have a ready-made example of this kind of implementation.



Best regards,
Malika

Hello, 

please take a look at this post: https://community.creatio.com/questions/cti-panel-answercall-method-ove… . Maybe it will help you in implementing similar logic in your process to what we did (trigger when user answers the call, instead when call record is created in database).

Best Regards,

Jelenko.

Jelenko Mršić,

Hello, 
Thank you for your response, I've tried using "Time to Connect" field as you have shown in your solution, but still the problem is not solved and when I checked incoming call is going to 4 different extension and only one operator is picking up the call but still the backend process is running for other operators too.

In the below screenshot the last column represent - "Time to Connect" value. 

 

Do you have any idea what could be the problem now?

Thanks.

Show all comments

Dear All,

Could you please advise on how to filter the timeline using Advanced Filters?

My use case is to filter messages posted on the Account timeline via a folder on the Account list page. Additionally, I would like to know if it's possible to create a section that displays all Feed messages.

I’ve already tried searching for relevant keywords (such as social, message, channel) in the Advanced Filters on the Account section, but haven’t found anything related.

I would greatly appreciate your support!

Best regards,
Jacek 

Like 0

Like

5 comments

Hello,

Could you please describe your business idea in more detail, what logic exactly do you need to achieve?

Hi Mira,

I'd like to filter feed messages entered on Account timeline using advanced filters/ folders in the Account section. 

So, in advanced filters I'd like to select object (e.g. Feed?), quantity, and then filter message text using 'contains' logical value.

Could you let me know if this is possible and how best to set it up?

Best regards,
Jacek

Hello,

Thank you, could you please also describe your business idea behind, what are you trying to achieve by such a setup?

Hi Mira, 

Firstly, maybe I will clarify that this is about a FUI configuration. What I am looking to do is just to filter the data entered as Feed messages. We will treat Feed similarly as Notes, but with an additional ability to upload attachments, so I'd like to be able to filter the data there on a higher (Account list page view) level. 

Thanks!
Jacek

Assuming what you're after is to see accounts with feed/timeline activity, for example, see which accounts have new activity this week. However, a filter like this will show accounts with activity/messages, not the activity/messages itself. 

Feed messages are object SocialMessage (title: Message/comment), however, they don't have a direct lookup to accounts since they are generic for any entity (the record stores the account Id in a generic EntityId column, not a lookup to the account). This is why they don't show in the list of objects related to accounts. To use this object in this way, I typically create a view to directly relate account feed records to the account so it can be used in filters. Not sure if it's possible to use in an account filter without that. 

Note, this would only account for Feed messages, however. If you want all timeline entries, that would come from several different sources (Case, Order, Opportunity, Activity, SysFile, etc) 

Show all comments

Hello, i am now trying to add in a button called re-appraisal

you know that when you add in a record you use the open new record and it has a pre-configured setup using a modal page to input data and inserting it

now i am trying to do the same with re-appraisal but this time by autotaking a pre-existing data from an item inside the list that was filled out previously

now when i lead it to that page, it goes to this page

like so... now when i press the Re-Appraise button in the modal page, why does it still stay on screen and not auto-refresh the entire list?

this is the business process that is running, do i need to add it in here or do i need to change it from the front?

 

Like 0

Like

3 comments

I'm not 100% sure I follow, but if you're updating a record in a process and expecting to see if refresh that on the UI, make sure that the object has it's "Enable live data update" property checked. 

Ryan Farley,

i've tried this just now, but it still failed to close the popup and refresh the listpage

i've searched a few related cases and found that you need to access LiveEditingForCurrentUser , however i cannot seem to find it in creatio can you help me through this process?

Hello.

LiveEditingForCurrentUser is a feature that can be enabled via the Feature Toggling section.

To access this section, open the following URL, replacing my_site_name with your actual site name:
https://my_site_name.creatio.com/0/flags

On the page that opens, locate the LiveEditingForCurrentUser feature and enable it using the toggle.


For more detailed information, you can refer to the following Academy article:
https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/platform-customization/interface-control-tools/existing-feature/overview

Best regards:
Antonii.

Show all comments

hello i am trying to upload a file using the attachment component

there are 2 upload fields however when i try to upload in 1 field then close the page, then when i open it both fields are filled with the same uploaded file, this works whenever i use either of the fields

Close then opoen again gives me this
does anyone know how to resolve this issue?

Like 0

Like

2 comments

What is the expected behavior you are wanting? If what you're wanting is basically two different/separate buckets of files attached to the same record, you can use file tags to separate them. Enter a different File Tag value for each of the Attachment components - just type a different value in that property of each component such as "KTP" in one and "NPWP" in the other. As a file gets uploaded it will get that tag added to it and the components will filter to only show files with that tag. https://academy.creatio.com/docs/8.x/no-code-customization/customization-tools/ui-and-business-logic-customization/element-setup-examples/components/set-up-an-attachments-component

Ryan

Ryan Farley,

That worked like a charm, tthank you very much :D

Show all comments