Время создания
Filters

Currently, Creatio AI does not support working with files using custom methods out of the box. However, it is possible to achieve this functionality by utilizing development techniques to convert files into a text format and a business process.

Below is an example of a C# script that extracts data from a file stored in a Creatio entity and converts it into a text format:

 

This script retrieves a file stored in the ActivityFile entity, extracts its binary data, and converts it to a UTF-8 string.

 

// Define the ID of the file (ActivityFile record)
Guid activityFileId = new Guid("3653b1f0-aa8d-52f6-065b-01642df9c33b");


This specifies the unique identifier (GUID) of the file to be retrieved. In a real scenario, this could be dynamically obtained from a process parameter or another source.

 

// Get the EntitySchemaManager to interact with Creatio entities
var entitySchemaManager = UserConnection.EntitySchemaManager;
var activityFileSchema = entitySchemaManager.GetInstanceByName("ActivityFile");
var activityFileEntity = activityFileSchema.CreateEntity(UserConnection);


These lines fetch the ActivityFile entity schema, which stores uploaded files related to activities (such as email attachments or documents).

 

// Retrieve the file record from the database
activityFileEntity.FetchFromDB(activityFileId);


This loads the file record from the Creatio database using the given activityFileId.

 

// Get the binary data of the file
var blobData = activityFileEntity.GetColumnValue("Data");

// Get the file name
var name = activityFileEntity.GetTypedColumnValue("Name");


*blobData stores the actual file content in binary format (if available).
*name stores the file name as a string.

 


if (blobData != null)
{
    // Convert the binary data to a UTF-8 string
    string decodedString = System.Text.Encoding.UTF8.GetString(blobData as byte[]);

    // Store the decoded text in a process parameter
    Set("DecodedDataParameter", decodedString);
}
else
{
    // If no binary data exists, return the file name instead
    Set("DecodedDataParameter", name);
}

return true;

Like 2

Like

Share

0 comments
Show all comments

Many Creatio developers working in Freedom UI face a common, frustrating issue:
Changes made to schemas don’t save in the intended package—even when the CurrentPackageId is set. Instead, Creatio generates random packages like App_u3es9v, introduces unwanted dependencies, and bloats your workspace.

This hidden system feature overrides your CurrentPackageId setting. Disabling it restores control and ensures changes go into the package you’ve selected.

Please follow the link for more details and step by step instruction
Fixing Creatio's Auto-Generated Packages: A Precise, Step-by-Step Guide | AavishkarIT

 

Like 5

Like

Share

3 comments

Wow, that's great! Thank you

Thanks, crazy how this can quickly become a mess !!

Very useful. 

Another approach is to add the lookup "installed package in application" where you can link applications with packages.

Show all comments

Get ready to meet the Creatio 8.3 and its AI Twins! 

On June 25, we’ll officially unveil Creatio 8.3 “Twin” Release – our most intelligent update yet that includes: 
- AI at the Core embedded into all Creatio objects, data, and workflows 
- Natural language as the default UI 
- Role-based AI agents for sales, marketing, and service 
- AI-driven no-code development at speed and scale 

Register: https://www.creatio.com/page/twin-release

Like 21

Like

Share

0 comments
Show all comments

We launched two major platform upgrades: the all-new Creatio Marketplace and Creatio Academy

Learn more about the new tools and UX updates here: https://www.creatio.com/company/news/23912 

Like 23

Like

Share

3 comments

Great redesign!

One exception: Please add the "what's new" in documentation page to the academy (as it was before) asap,

so that one can easily be informed and updated of relevant changes to the documentation

really missing that one!

https://community.creatio.com/questions/creatio-news-page-academy

Cheers,

Luis

Luis Tinoco Azevedo,

Thank you for the feedback Luis, we'll make sure to improve it!

Luis Tinoco Azevedo,

We’re also planning to extend the news section in future releases. At the moment, there’s a small block displaying the three most recent news items at the bottom of the page.


 

Show all comments

We’re excited to welcome Bits In Glass as Creatio’s new Premier Partner! 

As a global consulting leader, Bits In Glass brings unmatched expertise to help industrial manufacturers and distributors across North America scale faster, work smarter, and stay ahead of shifting market demands. 

As a Premier Partner, Bits In Glass truly shares our dedication to transforming how businesses scale, innovate, and serve their customers 

Learn more about how we’re transforming industries together → https://www.creatio.com/company/news/23842  

Like 12

Like

Share

0 comments
Show all comments