Hi all,
 

i have an issue, I have two fields: "Start Date" and "Duration". When I input the "Start Date", I want the "Duration" field to automatically calculate the years and months of how long the person has worked until today. How can I solve this? And can I use a business rule to solve this problem? 

i am using version 8.2.0
 

thanks 

Like 0

Like

0 comments
Show all comments

Hi All, 

I would like to sum the values of two fields, for example: Field A + Field B = Field C.
How do I configure Field C to perform this calculation?
 

Thanks

Like 0

Like

5 comments

It depends on what exactly you need. If you want to take a value from one field, perform an arithmetic operation with field B, and store the result in field C when the value in the first field is specified, you should follow the approach described in this article: https://customerfx.com/article/responding-to-an-event-when-a-field-is-changed-on-a-creatio-freedom-ui-page/, assigning the value as explained in this article: https://customerfx.com/article/programmatically-determining-the-bound-attribute-for-an-object-property-in-a-creatio-freedom-ui-page/.

Oleksandr Tyra,

Hi, 
thanks for your answer, sorry but i still confused, For example, I input field a is 1000 and field b is 2000, for field c will be filled automatically by adding field a and b to 3000, is that possible? And what is the step?
 

thanks

muhammad rizky,

Hello,

as of version 8.2.2, you can use the new business rule formula feature of the "set field value" action.

Before that, you would either create a business process that does the calculation (if live updates are enabled on the entity, the result will immediately show up on the form after saving), or programmatically, as Oleksandr has described it.

muhammad rizky,

{
    request: "crt.HandleViewModelAttributeChangeRequest",
    handler: async (request, next) => {
        // listen for changes to the EmployeesNumber field
        if ((request.attributeName === "UsrStringField_A" || request.attributeName === "UsrStringField_B") && !request.silent) {
            //var fieldA = request.$context.getAttributeNameByViewItemName("UsrStringField_A"); -- or like this
            //var fieldB = request.$context.getAttributeNameByViewItemName("UsrStringField_B"); -- or like this
            const fieldA = await request.$context.UsrStringField_A;
            const fieldB = await request.$context.UsrStringField_B;
            request.$context.UsrStringField = fieldA + fieldB;
        }
        return next?.handle(request);
    }
}

Oleksandr Tyra, Robert Pordes, 
 

Thanks for your advices, i will try it first 

Show all comments

Hi Team,

We are currently working on adding a filter to a custom section within our mobile application. The object has a lookup column named "Community," and our goal is to filter the records such that the "Community" value matches the current user's associated community. The relevant field on the "Contact" object is the "Primary Community."

 

We are familiar with the process of applying filters to mobile app sections by leveraging the out-of-the-box (OOTB) features of Creatio to configure the web page and then merging the generated code into the mobile app page. However, the specific condition involving the current user’s community seems to present a more complex challenge.

We would greatly appreciate any guidance or suggestions you may have for implementing this filter condition efficiently.

Like 0

Like

2 comments

Hello,


Could you tell me if your question is about the Freedom UI or Classic UI section?

Serhii Parfentiev,
Hi Serhii,

Thank you for your response! 

My question is related to the Freedom UI section.

Show all comments

Is there a way to add custom functionality to message composer send button(in case of email) in case section(freedom UI).

 

Like 0

Like

1 comments

Hello,
 

At the moment, the Message Composer element is not customizable in the system. We recognize that this limitation may affect your workflow and the flexibility you need to tailor the system to your specific business requirements.
 

That being said, we want to assure you that we are actively working toward enhancing this functionality. Based on the feedback we've received from you and other users, we've increased the priority of this task.

Your experience and satisfaction with the product are very important to us. We constantly strive to make Creatio more adaptable and user-friendly, and your feedback plays a key role in guiding these improvements

Thank you for your patience and understanding.
 

Show all comments

Hi, all mentors,

 

   I use Clio in visuall c#, and the connection seems okay. 

But I failed to see the SQL output console when I use the SQL

 

   Select * from "Contact", it's seems the sql output console disappear. 

 

How to activate it, please kindly help. 

 

Like 1

Like

2 comments

Have you installed clio api (cliogate) in the instance? That is a requirement to execute SQL using clio. 

If not, in VSCode click the clio explorer main menu button (see https://share.customerfx.com/v1uGwpWw) and select "Install clio api" to install the clio API package into the system. 

 

Also, make sure you've installed .NET 8 - Also, install the clio command line as well from that same menu. 

You can follow the complete setup steps here: https://customerfx.com/article/how-to-install-clio-explorer-for-creatio/

Ryan

Show all comments

Hello everyone,

I'm using crt.OpenLookupPageRequest to open a lookup page in my Creatio application. However, the records in the list appear as hyperlinks, and I would like to display them as plain text instead.

Here is my current code:

request.$context.executeRequest({
	type: "crt.OpenLookupPageRequest",
	$context: request.$context,
	entitySchemaName: "BnzConversationScript",
	caption: rls.BnzSelectConversationScript,
	filtersConfig: {
		filterAttributes: [
			{
				name: 'ConversationScriptsFilter',
				loadOnChange: false
			}
		],
		attributesConfig: {
			ConversationScriptsFilter: { value: filterConfig }
		}
	},
	features: {
		select: {
			multiple: false,
			selectAll: false,
			resultType: 'lookupValues'
		},
		create: {
			enabled: false
		}
	},
	afterClosed: async function(selectedItem) {
		scope.getFinalDataForConversationScript(request, recordId, response.GetConversationScriptsListResult, selectedItem?.value);
	}
});

Does anyone know how to disable hyperlinks for the records in this lookup page? Any help or guidance would be greatly appreciated!

Thanks in advance!

Like 1

Like

2 comments

I solved the issue in a trivial way – record links are not created when using a database table view. So, I simply created a view based on the table and used it as the source.

Oleksandr Tyra,

It would be great to find out how to remove the links. I wish the lookup dialog didn't have links by default, it's far too confusing for users - they think they need to click the link to select the record, but that just navigates them away from the dialog and to the record. There's no reason why links should be in that dialog since it's purpose is to select a record.

Show all comments

In the classic version we can communicate between modules, for example from page to detail or vice versa using messages.

I have case in my form page there is a modal page, when the modal page is closed it will send data to the form page to do something.
How to implementation in freedom?

Thank you

Like 2

Like

1 comments

It would likely work to use requests with the correct scopes set for message exchange like how sandbox worked, but I've not really tried to implement that across different pages. It might also work to just use Javascript's built-in Broadcast Channel API for that as well. It exists for purposes like this, messaging between different contexts. See details here: https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API

Ryan

Show all comments

Dear Community, 

 

if I have two date filedes (start date, end date) , I have to  disable any previous date in the end date that its refer to start date , such as the start date is 15/2/2025 , I want to disable in the end date any date before 15/2/2025 ,

 

how can I implement this in the client module ? 

Like 0

Like

0 comments
Show all comments

Dear Creatio Community,

I am writing to request guidance regarding the utilization of the @creatio/mobile-common library for extending the Creatio mobile application within the Freedom UI framework. Specifically, I am working with Creatio version 8.2.7 (APK).

While the index.d.ts file for @creatio/mobile-common is available on the official npm repository, I am encountering significant challenges due to the absence of comprehensive documentation and practical, live examples demonstrating its use in the context of Creatio mobile app customization.

My objectives involve leveraging this library to achieve advanced customizations and integrations within the mobile platform.

I would greatly appreciate any assistance in the form of:

  • Comprehensive code examples demonstrating the use of @creatio/mobile-common in real-world scenarios.
  • Detailed explanations of the library's architecture and functionality.
  • Guidance on best practices for integrating custom components with the Creatio mobile platform.
  • Information on how to debug and test code that utilizes the @creatio/mobile-common library.

 

Like 0

Like

1 comments

Hello Pranshu,

Our Academy team is currently working on creating articles that present the full information regarding all the questions mentioned.

Please follow for updates on the Academy site to receive all the answers.

Show all comments

Dear Creatio Community,

I am writing to seek assistance with mobile app development within the Freedom UI environment. I am encountering significant challenges extending the mobile app's functionality, particularly due to the current lack of comprehensive documentation and practical examples.

Specifically, I am facing the following issues:

1. Auto-Numbering Issue on Record Page:

  • I have observed that the auto-numbering functionality within the Creatio mobile app behaves inconsistently.
  • When an auto-numbering field is displayed on a record page, the automatic number generation fails.
  • However, if the auto-numbering field is removed from the record page layout, it functions correctly within the list page.
  • I require guidance on how to resolve this conflict and ensure auto-numbering works consistently across both list and record pages within the Freedom UI mobile app. Ideally, a code example demonstrating the correct implementation would be invaluable.

2. Implementing a Resizable Image Component:

  • I need to add a custom image component to the mobile app that allows users to upload images from their native phone's API, similar to an attachment.
  • This component should be resizable to accommodate various image dimensions and screen sizes.
  • I am struggling to find any documentation or examples on how to implement such a component within the Freedom UI mobile framework.
  • I would be very grateful for a working example of how to implement a resizable image component, that interacts with the native phones OS to retrive images.

The current documentation lacks detailed explanations and practical examples for mobile app development in Freedom UI. This makes it challenging to extend the mobile app's functionality effectively.

Any assistance, code examples, or pointers to relevant resources would be greatly appreciated.

Like 0

Like

1 comments

Hello Pranshu,

1. Autonumbering is supported, and there were no registered issues with it before. Please create a case for Creatio Support to review the specific issue that you've faced.

2. Unfortunately, there is currently no mobile component that can display images in a given size, as on the web. At the moment, only attachments are suitable for downloading/uploading images. 
 

Show all comments