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

The case gets created when a mail is send to the setup mail of the system, now that mail is added to the conversation tab (freedom ui) as the follow up for that particular case. Now i want to edit/masked the body content of that mail before saving or displaying in any section or tab, I can mask data using regex in script task, but can't find where to perform this operation, I even checked out the incoming email registration process but couldn't undersatnd the code even i try to take the body and then applied regex but some body not defined/missing error pops.
I also tried activity added trigger and then mask the content it is doing the thing, but not getting reflected on conversation or other places, even I try to put a timer in case creation process, if it could help but nothing work out
How to do that now?

Like 0

Like

1 comments

You should put this logic into the IncidentRegistrationFromEmaillHelper class into the GetRegisterIncidentId method. Why: it's called in the business process you mentioned (see the chain RegisterIncidentFromEmail method called from the script-task -> GetRegisterIncidentId method is called from the process methods) and this is the final step that creates the ticket. After the ticket is created you can manipulate with the email subject and body (but also note that subject and body will be used in the Subject and Description of the registered ticket). The GetRegisterIncidentId method is public and virtual so you can override its logic if needed and it contains the activityId as an argument using which you can get the activity needed to process.

 

If you need to put a mask before the incident is registered - you need to put the logic into the RegisterIncidentFromEmail method in the business process. You also have activityId there as an argument so you can manipulate with the activity subject and body and only then call the GetRegisterIncidentId method.

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.<Validate>b__0()
   at Terrasoft.Core.ServiceModelContract.PackageInstaller.BaseInstallerServiceInternal.InvokeWithLogging[TResult](Func`1 action)

 

Please let me know how to proceed further with this issue

 

Thanks!

Like 0

Like

6 comments
Best reply

Gona Manoj,


Hello,

Please switch to the Packages tab and download the package,
 
then open the Application Hub on your Creatio instance and install the package using the install from file option.

Hello.

We recommend changing the name of the zip file.
For example, when we download it, it is called GlbDataBinding.zip, 

and you have GlbDataBinding%20%281%29.zip


Best regards,
Antonii.

I have the same issue when installing directly from Marketplace. Something's off. Had to download the app then install, rather than direct link installation.

Damien Collot,

Hi Damien, can you please let me know how did you download the app and then installed it?

 

Antonii Viazovskyi,

 

Hi Antonii, can you please let me know where can find the GlbDataBinding%20%281%29.zip file and rename it to GlbDataBinding.zip. Thanks!

Gona Manoj,


Hello,

Please switch to the Packages tab and download the package,
 
then open the Application Hub on your Creatio instance and install the package using the install from file option.

Antonii Viazovskyi,

Hey Antonii, it worked. Thank you!

Show all comments

Hello Creatio friends,

 

I've set up an email box to generate cases, but it is not assigning category/sub-category. 

 

I'm working on a business process to re-assign email generated cases to the proper Cat/sub-cat. I want to pull the first word after [EXTERNAL] from the email to use as a match to proper Category. Sub-category can be a static lookup value for this use-case. 

 

For example with a subject line of "[EXTERNAL]Chicago - Assistance needed" I want to just extract Chicago, then use a BP to do a Modify Values:  Category = extracted text.

 

Any great way to go about this?

Thanks,

--Israel

Like 0

Like

1 comments

Hello!

Regarding case categorization, please ensure that the rules are set according to the instructions' configuration:https://academy.creatio.com/docs/8.x/creatio-apps/8.1/products/service-…
 

If you need to select the topic and subtopic based on context, I recommend using ML models. These models can either determine an exact match based on the email content or provide an approximate selection based on client-provided data.

Detailed configuration settings:
https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

Show all comments

Hello. We wanted to send two trigger emails to our audience. See below.

 

The flow logic is that when the "Version 1 - 1st Send" email is sent, those who open it exit the campaign. The filter logic for this condition is as follows:

 

If the response is "Not Opened" then they are moved to a timer of 03/12 to recieve a second send. The logic for this process is here:


The question here is regarding the "result" section of the filtering process. 

Does this play a factor in my logic displayed above, and what's the best way to adjust this (if any)? Thanks in advance, everyone. :)
 

Like 0

Like

1 comments

Good day, Lucas,

"What is the result" section may further refine the results, but, if you are already filtering your audience using "Which conditions must the contacts meet to transition to the next step", this itself should be sufficient.

Seeing your filter presets, I would additionally advise to make sure that participants responses that are != Open are reviewed. If you leave it as is - this may include Delivered emails that have not been opened yet.

You may check out this article for additional information on delivery status and double-check the contents of "Response of participant in Bulk email" (BulkEmailResponse) to make sure you narrow down the responses according to your need.

Show all comments