Hi. 

 

Im trying to save a script task in the open process of a lookup but when I try to save it the next message appear: An item with the same key has already been added

 

And i can´t save the process. I already  generate all schemas and compile. But i still have the same problem 

 

 

Do you have any idea why is this happening? 

 

Thank you 

 

 

 

Like 0

Like

1 comments

Hello!
I recommend checking the application logs for error details. Based on them, we can decide on the next steps.

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

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

Hi Team,

 

I am seeing some compilation error in the configuration tab after working on oData. Below is the screenshot for your reference:

Below are the error message descriptions for your reference:

 

Could not copy "obj\Release\Terrasoft.Configuration.ODataEntities.dll" to "bin\Terrasoft.Configuration.ODataEntities.dll". Exceeded retry count of 10. Failed. The file is locked by: "IIS Worker Process (24568)"

 

Unable to copy file "obj\Release\Terrasoft.Configuration.ODataEntities.dll" to "bin\Terrasoft.Configuration.ODataEntities.dll". The process cannot access the file 'C:\Academy\Builds\D1_Dev\Terrasoft.WebApp\Terrasoft.Configuration\bin\Terrasoft.Configuration.ODataEntities.dll' because it is being used by another process.

 

Can anyhow let me know how to fix these issue?

Thanks!

Like 0

Like

1 comments

Hello,

 

To fix this, you need to generate code for all schemas and then compile the site.

The main reason for this behavior is that the file system mode (fileDesignMode) is enabled.

Show all comments

Hi Creatio Community,

 

I'm integrating an iFrame into a Creatio tab for our Custom App. The integration works, but the iFrame does not expand to full screen inside the tab.

My Current Setup

I’m inserting the usr.FrameComponent inside a TabContainer, but it doesn’t fill the entire available space.

viewConfigDiff: /**SCHEMA_VIEW_CONFIG_DIFF*/[
...,
           {
				"operation": "insert",
				"name": "GridContainer_Sales",
				"values": {
					"type": "crt.GridContainer",
					"items": [],
					"rows": "minmax(32px, max-content)",
					"columns": [
						"minmax(32px, 1fr)"
					],
					"gap": {
						"columnGap": "large",
						"rowGap": "none"
					},
					"visible": true,
					"color": "transparent",
					"borderRadius": "none",
					"padding": {
						"top": "none",
						"right": "none",
						"bottom": "none",
						"left": "none"
					},
					"alignItems": "stretch"
				},
				"parentName": "TabContainer_Sales",
				"propertyName": "items",
				"index": 0
			},
            {
				"operation": "insert",
				"name": "Label_mmxxxre",
				"values": {
					"layoutConfig": {
						"column": 1,
						"row": 1,
						"colSpan": 1,
						"rowSpan": 18
					},
					"type": "usr.FrameComponent",
		         "src": "https://www.smarten.com"
				},
				"parentName": "GridContainer_Sales",
				"propertyName": "items",
				"index": 0
			},
			...
]/**SCHEMA_VIEW_MODEL_CONFIG_DIFF*/,

Issue

Even when I try using fitContent: true or modifying layoutConfig, the iFrame remains small and doesn’t adjust to the full tab size.

What I Tried

  • Setting fitContent: true for the TabContainer and GridContainer.
  • Adjusting layoutConfig with rowSpan: 18.
  • Setting explicit height: 100% and width: 100%.

Has anyone encountered this issue? How can I make the iFrame take up the entire available space in the tab?

Thanks in advance for any help!

Like 0

Like

2 comments
Best reply

Hi Tushar,

If you are currently utilizing the Customer FX guide, you may be experiencing an iFrame display anomaly similar to one I recently encountered.

To address this issue and ensure the iFrame renders in full screen, I implemented an update to the iFrame module.

Specifically, the following code modification resolves the problem:

 

this._frameConfig.style = (this._frameConfig.style || "") + "height:" + this.frameConfig.height + ";width:" + this.frameConfig.width + ";";

 

This adjustment guarantees the style property is properly initialized before the height and width values are appended, thereby rectifying the display discrepancy.

Please let me know if you require further clarification or assistance.

Hi Tushar,

If you are currently utilizing the Customer FX guide, you may be experiencing an iFrame display anomaly similar to one I recently encountered.

To address this issue and ensure the iFrame renders in full screen, I implemented an update to the iFrame module.

Specifically, the following code modification resolves the problem:

 

this._frameConfig.style = (this._frameConfig.style || "") + "height:" + this.frameConfig.height + ";width:" + this.frameConfig.width + ";";

 

This adjustment guarantees the style property is properly initialized before the height and width values are appended, thereby rectifying the display discrepancy.

Please let me know if you require further clarification or assistance.

PS: 8.2.2 has new iFrame component : Iframe. You can now embed external content using the new crt.IFrame component.

Show all comments

I have try to override the save functionality. But, it is not working. Even the 1st console is not working. I have added bindTo in click event in ViewConfigDiff. Pls help with that.

Like 0

Like

4 comments
Best reply

Hello, 

You seem to be mixing things between classic pages and Freedom UI pages. The page you're customizing appears to be a Freedom UI page, which does not support adding methods. The code you've added would work for classic pages, but not on Freedom UI pages. 

Instead, this is done via request handlers on Freedom UI pages. See this link for overriding the save request on a Freedom UI page: https://customerfx.com/article/adding-code-to-the-save-event-of-a-creatio-freedom-ui-page/

Ryan

Hello, 

You seem to be mixing things between classic pages and Freedom UI pages. The page you're customizing appears to be a Freedom UI page, which does not support adding methods. The code you've added would work for classic pages, but not on Freedom UI pages. 

Instead, this is done via request handlers on Freedom UI pages. See this link for overriding the save request on a Freedom UI page: https://customerfx.com/article/adding-code-to-the-save-event-of-a-creatio-freedom-ui-page/

Ryan

Also, as a side note, the code you have in the getActiveCount won't work since ESQ is asynchronous (so the return will happen before the query returns any results), additionally, the results of the query of an ESQ are passed in via a callback function passed as a parameter to getEntityCollection, not returned as a result of calling getEntityCollection.

For a Freedom UI page, I'd use a model load instead of the ESQ since you can await the result, rather than use a callback function. See https://customerfx.com/article/querying-data-using-filter-conditions-via-the-model-class-equivalent-to-enityschemaquery-in-a-creatio-freedom-ui-page/

Ryan

Hi Ryan,

I have added this code in handler, still it's not works for me. Please address, what i missed here.

Revathi,

Can you provide more details by what isn't working?

Show all comments

Hi Team,

 

I have added the Commission percent, from 0 to 100 to the Realty offer type Lookup and added values to the Sales and Rental field. Later, I bind the data and got a pop up like data bound successfull. Below is the screenshot for your reference:

Also, in the Column Setting of UsrRelatyOfferType_Values, I cannot see the name is getitng tagged for Commission Percent, from 0 to 100 field. Below is the screenshot for your reference:

I have tried to check the Bound data in the UsrRealtyOfferType_Values tab but I am unable to see any records in it. Below is the screenshot for your reference:

I tried to click on Add button but the add button is not working and I tried to Actualize data even that is not working.

 

I have checked the UsrRealtyOfferType table in the database and I am able to see the records in the table. Below is the screenshot for your reference:

Can anyone let me know why I am unable to see the data in the UsrRealtyOfferType_Values Bounda Data tab?

 

Thanks!

Like 0

Like

1 comments

Hello.

We recommend consulting our GitHub community, where you can find discussions, troubleshooting tips, and potential solutions from other users and developers.
Creatio Marketplace GitHub

Best regards,
Antonii.

Show all comments

Hi Team,

 

I am facing an issue after clicking the setup filter button for Realty Business rule. The page keeps on loading and the data is not getting displayed to add the conditions. Below are the screenshots for your reference:

After clicking the Setup filter button, the page redirects to next page and that page keeps on loading. Below is the screenshot for your reference:

I have inspected the page and I am seeing an error message in the console as shown in the below screenshots:

Can anyone let me know why this issue is occurring and how can I fix this issue and proceed further?

 

Thanks!

Like 0

Like

1 comments

Hello,

As I can see from the screenshot there is a debug mode turned on. This might be stopping the execution of the logic and preventing from loading the required data. Turn the debug mode off and try to reproduce the issue. 

Show all comments

Hey Community,
I'm trying to save a business process and on saving i'm facing the below error.How do i resolve this?Attaching the picture below.

Like 0

Like

3 comments

I understand that it has to do something with language and dates,but i don't have anything else except a timer in the bp

Hello!

 

Unfortunately, this is a bug of Creatio platform.

This error is occuring when you try to read column "Caption" in the collection of records.
For now, please use this temporary solution.
Inside the "Read Data" element for the collections:
1) Select What record data should the process read? -> Read data from selected columns only
2) Click "Add Column"
3) Select all the needed columns except "Caption"

 

Have a nice day!

Arsenii Ostapyk,

Hey , thank you for the prompt reply ,yes i am using the collection of records in read element , but i don't have a Caption column .This is a base lookup Is there something else that i can do ?

Show all comments

Hi Team,

I am getting "Package validation failed" error while installing Data Binding Tool from Marketplace.

Below is the screenshot for your reference:

 

I have also added the error logs for your reference:

2025-02-28 21:25:48,525 Packages validation started
2025-02-28 21:25:48,543 System.IO.FileNotFoundException: Could not find file 'GlbDataBinding%20%281%29.zip'.
File name: 'GlbDataBinding%20%281%29.zip'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding)
   at Terrasoft.Core.Applications.Packages.DefaultPackageExtractor.GetIsSinglePackage(String archiveFilePath)
   at Terrasoft.Core.Applications.Packages.DefaultPackageExtractor.Extract(String archiveFilePath, String extractPath)
   at Terrasoft.Core.ServiceModelContract.PackageInstaller.PackageInstallerServiceInternal.<>c__DisplayClass34_0.b__0()

Please let me know how to proceed further with this issue

Thanks!

Like 0

Like

3 comments

Hello,
It appears that the app installs differently when downloaded directly from the Creatio Marketplace compared to when it's installed from the package archive. This inconsistency is rare but can happen under certain circumstances. We recommend reinstalling the app or installing it directly from the package archive as a workaround. Either method should resolve the issue and ensure a successful installation.

Same issue

I am receiving the same issue. I tried to reinstall the application but the error popped up again

Show all comments