Hi Community,

 

              When I am trying to compile the local iis hosted creatio instance, I get an unknown error.

When I tried to check the logs file, unfortunately, I didn’t find any errors. I am attaching log files also. I also followed the community post https://community.creatio.com/questions/problem-while-compiling-packages.

Can you please help me to find the solution?

 

Thank you in advance.

 

Regards,

Manideep Korni

File attachments
Like 6

Like

9 comments
Best reply

This error still appears on new environments on Windows 10 and Windows 11. It turns out that creating the folder c:\windows\system32\inetsrv\NuGet\Migrations is enough to fix it even without providing access for IIS_IUSRS role.

Hello,

 

This issue occurs when the required components are not installed on the application server.



Please make sure you have installed all the components from the article:

https://academy.creatio.com/docs/8-0/user/on_site_deployment/net_framew…

 

 

Hi,

 

i have all the components mentioned in the article. All the instances running in my local are not working from 2 days. Before those was working fine. Is there any other way to fix this issue.

 

thank you

Try uninstalling all components and installing them again.

Korni Manideep Reddy,

 

Tyr to perform the below actions in sequence.

1. Update DB

2. Generate for all schemas

3. Compile ALL

Hii all,

After uninstalling all the sdks in my computer and reinstalled sdks , problem is solved.

 

Regards,

Manideep

 

I would like to add an important detail. Thanks Manideep Korni for provided log files. Compilation error details can be found in Build.log file. Here we can find this line:

System.UnauthorizedAccessException: Access to the path 'c:\windows\system32\inetsrv\NuGet\Migrations' is denied.

One of possible solutions is to create  'c:\windows\system32\inetsrv\NuGet\Migrations' folder and provide file system modification permissions on it to IIS_IUSRS role:



 

Dmitriy Gamora,

 

Thanks a lot for your perfect answer Dmitriy. 

 

However, I do think that this is a workaround and we should not normally have to manually create these folders.

 

Why do we have this specific issue only for one of our customers on a specific server ? (i.e. Dev & Test no problem, Production --> Access to path denied).

 

The SDKs are installed and are on the same version for all of the servers.

 

Many thanks for the answer provided.

 

Best regards,

Jonathan

 

 

Saved again today by this thread, should be added to the official FAQ ;)

This error still appears on new environments on Windows 10 and Windows 11. It turns out that creating the folder c:\windows\system32\inetsrv\NuGet\Migrations is enough to fix it even without providing access for IIS_IUSRS role.

Show all comments

Even the new version of mobile app dont fix the horrible annoying bug. 

The “back” arrow and menu button  appears periodically where they can not be obtained in any way - in the place of the clock.  Please see screenshot.

Like 2

Like

2 comments

Hello!

 

Thank you for your post. This problem is in process of being fixed. Since we are moving to a new framework - "Freedom UI", it does not recreate in 8.0.6 Contacts and Accounts (they are already transferred). Other sections are in process of being transferred to Freedom UI.

 

Best Regards,

Dan

thank you!

Show all comments

Hello, 

 

I wanted to filter a lookup the contains multiple OR conditions.

I tried it as given in the below link

https://community.creatio.com/questions/freedom-ui-filtration

 

It works fine for a single condition. 

I also tried using by making Right Expression as an array, It didn't worked.

 

Thank

Gargeyi.G

 

Like 0

Like

1 comments

Hello,

 

The idea here is to use the Terrasoft.LogicalOperatorType.OR and specify the filtration inside as in the following example:

"DataGrid_6477jgb_PredefinedFilter": {
					"value": {
						"items": {
							"9a10762b-e098-4df1-9f2f-808b0f2a1e1d": {
								"filterType": 1,
								"comparisonType": 8,
								"isEnabled": true,
								"trimDateTimeParameterToDate": true,
								"leftExpression": {
									"expressionType": 0,
									"columnPath": "CreatedOn"
								},
								"isAggregative": false,
								"dataValueType": 7,
								"rightExpression": {
									"expressionType": 2,
									"parameter": {
										"dataValueType": 7,
										"dateValue": "2022-10-02T14:00:52.067Z",
										"value": "\"2022-10-02T17:00:52.067\""
									}
								}
							},
							"3027b84f-c411-4bd4-adea-064011d278fa": {
								"filterType": 1,
								"comparisonType": 7,
								"isEnabled": true,
								"trimDateTimeParameterToDate": false,
								"leftExpression": {
									"expressionType": 0,
									"columnPath": "Age"
								},
								"isAggregative": false,
								"dataValueType": 4,
								"rightExpression": {
									"expressionType": 2,
									"parameter": {
										"dataValueType": 4,
										"value": 18
									}
								}
							},
							"97395925-0187-4dda-8c82-777172c5e74c": {
								"filterType": 4,
								"comparisonType": 3,
								"isEnabled": true,
								"trimDateTimeParameterToDate": false,
								"leftExpression": {
									"expressionType": 0,
									"columnPath": "Country"
								},
								"isAggregative": false,
								"dataValueType": 10,
								"referenceSchemaName": "Country",
								"rightExpressions": [
									{
										"expressionType": 2,
										"parameter": {
											"dataValueType": 10,
											"value": {
												"Name": "Argentina",
												"Id": "7347f03f-d4d0-4553-9231-855f23623b94",
												"value": "7347f03f-d4d0-4553-9231-855f23623b94",
												"displayValue": "Argentina"
											}
										}
									}
								]
							}
						},
						"logicalOperation": 1,
						"isEnabled": true,
						"filterType": 6,
						"rootSchemaName": "Contact"
					}
				}
			}

In this case the contact where CreatedOn >= 2022-10-02 or Age > 18 or Country is Argentina will be returned. This should be inserted into the lookup attribute as in the example from the provided community thread and will work for the lookup column.

Show all comments

Hello Community, 

 

I wanted to read list of tabs and the current active tab in a form page on click of save button in active tab and then make next tab active.

Any suggestions is really helpful. 

Thanks

Gargeyi.G

Like 0

Like

4 comments

Hello,



Could you please elaborate on your business task?

Bogdan, GargeyiGnanasekhar,



Below is the method for tab change and found in BasePAgeV2,

activeTabChange: function(activeTab) {
	this.callParent(arguments);
	console.log("Tabs in Creatio");
},

var tabName = this.get("ActiveTabName");

Bogdan,

I have 4 tabs in a form page each Tab has a button named "Continuation". On Click of the button, the current tab fields should be saved and then move to 2nd tab.

 

Thanks

Gargeyi.G

Hello, 

 

How can we use this in Freedom UI. I wanted to read this from base page v2?

I am not able to find a way reading this.get("ActiveTabName") from base page, also i wanted to call  activeTabChange method in my form page

 

Any suggestions is really helpful

 

Thanks in advance

 

 

Show all comments

Since our instance has been updated to version 8.0.6, the configuration (fields and filters) of all our reports has disappeared, any ideas on how to get them back ?

 

Like 1

Like

3 comments

Hello Damien,



Please contact our support team (suuport@creatio.com) and describe the issue.

Bogdan,

 



Hi I did already, they told me to ask the question on the community..





Damien

Damien Collot,

 

Please create a new case and write that it was recommended to create case on the community, 

Show all comments

We're setting up access rights in our system and the contacts under "Our Company" are being assigned the access right of "all employees". How can we prevent all of our users from seeing the "Our company" account and contacts under that account? We are using record permissions for each organizational role to only see accounts and contacts within that role, but we want users to see all accounts under the organizational role of "all employees" with the exception of "our company".

Like 1

Like

1 comments

Hello Teresa,

If there is a need to restrict access to one specific record you can delete the access rights for this record directly on this record page with a help of "Set up access rights" option. Still the record will be available for the system administrators.

If you need to change the access rights for the contact records connected to this account, it can be done with a hep of custom business process that will read all the contact records where the Account = the_needed_account_record and with a help of "Change access rights" business element will delete or grant needed access permissions.

I'd also suggest to test the solution first on test- or dev- site before applying it in the production site.

Best regards,

Anastasiia

Show all comments

Dear mates,

Here is two weeks i m looking for building a dynamic homepage for a custom section.

Context:

I created a marketing section which has a child object (a detail) for the emailing channel.

I would like to display on my homepage, a select from the emailing detail which, once selected, displays the list of opportunities and orders linked to the detail. On order and opportunity objects, a lookup has been added containing the id of the emailing detail.

Structure:

Desired Form:

 

is it possible to achieve this with the no code tools of Creatio ?

if yes, which home page should I select to be able to build this type of report ?

 

Thank you in advance !

Nicolas

 

 

Like 0

Like

1 comments

Hello Nicolas!

 

Please try setting up a business rule to show or hide page elements under specific conditions.

You can find more information on how to set up business rules in the Freedom UI pages in this article on the Creatio Academy:

https://academy.creatio.com/docs/user/nocode_platform/freedom_business_…

 

Best regards,

Kate

Show all comments

I have tried to compile the cloud environment but i am facing an error can some help me out on how to resolve this error: 

 

File attachments
Like 0

Like

3 comments

Hi!

 

Please try to run the actions 'generate all' and compile the site again.

 

Let us know the result, please!

Alla Blinova,

we are still getting the same error

Hi!

 

The issue is caused by the missing sources of the custom package object. To resolve this issue, we recommend regenerating the sources for the relevant schemas (please see the attached file) ​​​​​​​ and then performing compilation.



To investigate this behavior, we ask you to submit a request to our team via support@creatio.com or the Success Portal. 



We'll need to access the instance remotely in order to help.



Thank you for your cooperation!

Show all comments

Hello team,

 

I have written a script using SEQUENCE & TRIGGERS for PostGres to auto increment the record number. This was a decision taken to avoid writing multiple codes through JS and Server side because we get inputs from a lot of sources - 3rd party integration, manual entry & business process.

 

While our trigger works well, we noticed that using odata, the response returned does not have the auto numbered value, whereas the auto numbering is indeed getting stored in the data base.

 

The question is, does Odata response for POST requests get triggered after all DB triggers are completed or does it happen just before a record is inserted into the DB?



PS: I tried triggers using BEFORE update and it did not work

Like 0

Like

1 comments

Hello,

This question needs to be analyzed mo deeply, but, based on your information, the POST request isn't affected by all the DB triggers and therefore happens before the insert.

Also, a small note, if you have autonumbering both on the JS and Server side than a new number will be generated no matter what is the source of the object (data, business process, etc).

Show all comments

Is there any way to restrict number of file to be attached in the attachment detail tab.

I need a situation like user have to attach only one file in the section wizard and not more than that

Like 0

Like

2 comments

Hello,

 

Your business task requires additional development, as of now it cannot be achieved with basic tools only. 

 

We've registered a query for our responsible R&D team to implement the described functionality in the upcoming versions of a system.



Best regards,

Anastasiia

Kavya,

 

To achieve your business task follow the below approach,

Create a replacing module for "FileDetailV2" and add the below code,

define("FileDetailV2", [], function() {
	return {
		mixins: {},
		attributes: {},
		methods: {
			onFileSelect: function(files) {
				var fileSchemaName = this.entitySchemaName;
				if(files.length > 1 && fileSchemaName == "UsrCustomObjectFile"){ //Your file object name goes here
					this.showInformationDialog("More than 1 files are not allowed.");
					return;
				}else{
					this.callParent(arguments);
				}
			},
			upload: function(config, callback) {
				var fileSchemaName = this.entitySchemaName;
				if(fileSchemaName == "UsrCustomObjectFile"){ //Your file object name goes here
					this.CustomAttachmentCountValidation(config);
				}else{
					this.callParent(arguments);
				}
			},
			CustomAttachmentCountValidation: function(config, callback){
				var esq = Ext.create("Terrasoft.EntitySchemaQuery", {
					rootSchemaName: this.entitySchemaName 
				});
				esq.filters.addItem(esq.createColumnFilterWithParameter(
					Terrasoft.ComparisonType.EQUAL, "UsrConnectedColumn", this.get("MasterRecordId")));	//Master entity Connected column
				esq.getEntityCollection(function (result) {
					if (result.success && result.collection.getCount() > 0) {
						this.showInformationDialog("More than 1 files are not allowed.");
					}else {
						this.Terrasoft.ConfigurationFileApi.upload(config, callback);
					}
				}, this);
			},
		}
	};
});

Let me know if this helps in achieving your objective.

 

Warm Regards,

Sourav Kumar Samal

Show all comments