I am looking for assistance with a challenge I am facing in the Freedom UI of Creatio regarding the display of decimal field values in a label.

The issue I am encountering is that when I try to display a decimal value in a label on the Freedom UI page, the value is not being comma-separated as expected. For example, if the decimal value is 23,586.06, the label only shows 23586.06 without the comma. Similarly, for the value 1,000.00, the label displays only 1000 instead of 1,000.00.

What I am aiming for is to have the decimal values displayed with commas for better readability. For instance, the value 23,586.06 should be displayed as 23.586.06, and 1,000.00 should appear as 1,000.00 in the label on the Freedom UI page.

I have tried several approaches to address this issue within the Freedom UI but have not been successful in achieving the desired result.

Like 0

Like

4 comments

Hello Satyam,

 

Could you please clarify how exactly you implemented the 'decimal number' in the label?

When you set the number in the attribute bound to the label you can use toLocaleString:

request.$context.MyAttribute = num.toLocaleString();

Ryan

.

Hello ,

 

Thanks for the response.
 

The below given code is how we are currently setting the value of the UsrAmount decimal field to be shown as a label caption.

{
                "operation": "insert",
                "name": "Label_td5mlo3",
                "values": {
                    "layoutConfig": {
                        "column": 1,
                        "row": 2,
                        "colSpan": 1,
                        "rowSpan": 1
                    },
                    "type": "crt.Label",
                    "caption": "$PDS_UsrAmount_7hu2ut1",
                    "labelType": "headline-1",
                    "labelThickness": "bold",
                    "labelEllipsis": false,
                    "labelColor": "#181818",
                    "labelBackgroundColor": "transparent",
                    "labelTextAlign": "center",
                    "visible": true
                },
                "parentName": "GridContainer_rpq3gxq",
                "propertyName": "items",
                "index": 1
            }

 

As a result, it picks the value from the decimal field and shows in the label as shown in the screenshot below:

 

I want to show the Label caption in the same format as that of the amount field. Also another thing that we have noticed is that when the amount is 1,000.00 , the caption shows 1000 instead of 1000.00. 

kindly help

Show all comments

Does anyone have a solution on how to create Excel reports with Time type columns? I tried to use "Excel reports builder" but it gave me an error "Unable to cast object of type 'System.TimeSpan' to type 'System.IConvertible'.Couldn't store <00:39:00> in ___ Column. Expected type is DateTime." I want to make a pivot table and graph, so the usual unloading of the registry is not enough for me. 

 

Like 0

Like

2 comments

Hello,

For this, you can use the solution from marketplace: https://marketplace.creatio.com/app/excel-reports-builder-creatio

 

 

Best regards,
Malika

Malika,

Unfortunately, it doesn't work with Duration. A report with Time-format columns (00:00:00) is not creating. So I thought maybe there was another solution

Show all comments

Hi Community!

Our customer is generating documents in their old CRM system in an interactive way.
This means they can merge the data from the CRM with the report template into a Word document, then edit that document in Word and save the final result to CRM as PDF.
 

As far as I know, this is not possible in Creatio 8, but is very important for the customer!

Is there any way to achieve this goal? I searched the marketplace but haven't found a proper solution.

 

Thanks,

Robert

Like 1

Like

0 comments
Show all comments

Hi Community,

 

We have this business requirement where we need to add duplicated communication options. For example, we can have two records for the same phone number.

 

When we try to add the same number, we receive the following error:

 

How can we turn off this validation/constraint? 

 

Thank you in advance.

Best Regards,

Pedro Pinheiro

Like 0

Like

1 comments

Hello Pedro,

You can add a few equal phone numbers as the communication options. All you need is to choose the different types for them:

Show all comments

Hi Community,

 

We are localizing in Italian our application. We are using the OOTB Email Page for sending email and replying to email.

 

In the reply email window we are not able to localize the highlighted label (see attached file) while we do not have problem in localizing send email window.  

 

May we ask some suggesting for addressing our aim?

 

Regards

 

Stefano

File attachments
Like 0

Like

0 comments
Show all comments

Hello,

 

Is anyone aware of a direct integration to Azure AD for OU and User setup? Or is it on the product roadmap?

 

The current LDAP solution will not work.

Like 0

Like

1 comments

Hello,

As for now, there is no such functionality. We have already registered the idea for our R&D team to implement this functionality in further releases.
We will assign your case to this project to increase its priority.

Thank you for choosing Creatio!

Show all comments

Hello community,

I'm interested in utilizing the Script element within Creatio. Where can I find reference materials or code samples for C#?

 

Additionally, is there a platform available to compile C# code snippets before directly uploading them to the Creatio Platform (in the Script Task Element)?

Like 0

Like

7 comments

Hello,

 

All available examples of using the code in the script task element can be found here. As for checking the C# code - there is no such platform for business processes script tasks. You can create a code in Visual Studio and check if it works. Then, using the provided article, implement the same functionality in the business process script task.

Is it also possible to create your Standard source code and call those from a script task?  Similar to Process to calculate actual working time in projects on schedule?  

Oleg Drobina,

Thanks for your response. Is it feasible to import Terrasoft packages into Visual Studio? If yes, could you provide the steps to do so ?

keith schmitt,

 

as in OOP you can create an instance of a class and use its methods in the logic of a business process. Use Terrasoft.Configuration in the business process (add it to the process usings in the process settings) and create an instance of your class as SomeClass nameOfTheInstance = new SomeClass().

Ajay,

 

You can enable development in the file system as described here and there won't be a need to manually import packages in the Visual Studio. You will be able to review the code and apply changes to it.

Oleg Drobina,

Is there any video reference available?

Ajay,

 

I'm afraid we don't have it, but I will ask our Academy team if they can create such a video tutorial. Thank you for this suggestion!

Show all comments

Hi community,

I designed a process like following Images in dev site. In Send Email element, I checked "Ignore errors on sending". But Creatio threw error end terminate this process. What is wrong with this? 

Thanks

Like 0

Like

2 comments

Error

 

 

 

 

 

 

 

 

Hello,

 

Please delete all those mailboxes from the program and synchronize them again on behalf of the supervisor user to address this issue. To avoid such a situation in the future, we recommend synchronizing the mailbox once and allowing shared access to it for other system users, as described in the academic article here.

Show all comments

As the title says, we sometimes need to disable buttons while still showing them - something which was easy to do in Classic UI. Is there any way of doing so in Freedom UI? I can't see any examples in OOTB Freedom UI areas, anywhere that does have disabled buttons OOTB are in Classic UI sections (e.g. the "Finish session" button on the System User page on the Access Rules tab when no record is selected).

Like 0

Like

4 comments
Best reply

Classic UI buttons have a property 'enabled'
Freedom UI buttons have a property 'disabled'

Hi Harvey, 

Does it not work to bind an attribute to the enabled property of a button and set as true/false? I've not tried that, but I assume it would work? Have you already tried that?

Ryan

Classic UI buttons have a property 'enabled'
Freedom UI buttons have a property 'disabled'

Huh, not sure how I missed that, could've sworn I tried doing that! Thanks both.

As a note, the only way I could find to put some kind of hint/tooltip on the button when it's disabled is by using the "title" property, which gives you a standard browser tooltip display when hovering the mouse over the button. And binding that to an attribute that you change to be blank when the button is enabled.

Show all comments

How do you set a prefix for all schemas? How do you add a new section called "Requests"  with some fields?

Like 0

Like

1 comments

Hello!

 

In system settings search for:

Prefix for schemas and package name

SchemaNamePrefix

 

More detailed information about new section creation can be found in this article: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/getting-started/first-app/develop-application/create-a-new-section

Another article, that can be useful for you is how to create the custom package:

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/development-tools/packages/create-a-package

 

Thank you for being an active part of the Creatio community!

Show all comments