Creatio 8.1.2, clean database (MS SQL), starting from scratch.

 

These are the exact steps i took:

 

  • Restored Database from Creatio Zip
  • Configured IIS
  • In system settings, set the "prefix for object name" to "Wlf"
  • Go into Application Hub, create new application
  • In system settings, set the "current package" to the one that was created in previous step
  • In new application, click Navigation and Sections, then "New Freedom UI Section"
  • Set title of new section, click "create"
  • The following error is displayed:
  •  

    Any thoughts? The below is what i see in error log:

     

2024-05-17 17:10:35,888 [11] ERROR IIS APPPOOL\testapp_creatio Terrasoft.Nui.ServiceModel.AspNetFramework.Controllers.DataServiceController GetHttpActionErrorResult - Busy saving the configuration. The section has not been saved. Try again later.
System.Exception: Busy saving the configuration. The section has not been saved. Try again later.
  at Terrasoft.Core.Applications.Content.AppSectionManager.CheckIsNotSectionCreating()
  at Terrasoft.Core.Applications.Content.AppSectionManager.CreateSection(AppSectionInfo sectionInfo)
  at Terrasoft.Core.Applications.Content.AppSectionManager.Create(AppSectionInfo sectionInfo)
  at Terrasoft.Configuration.ApplicationSectionEventListener.OnSaving(Object sender, EntityBeforeEventArgs e)
  at Terrasoft.Common.CollectionUtilities.ForEach[T](IEnumerable`1 source, Action`1 action)
  at Terrasoft.Core.Entities.Entity.OnSaving(EntityBeforeEventArgs e)
  at Terrasoft.Core.Entities.Entity.d__319.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Terrasoft.Core.Entities.Entity.d__334.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Terrasoft.Nui.ServiceModel.BaseCrudDataService.d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Terrasoft.Nui.ServiceModel.BaseCrudDataService.<>c__DisplayClass41_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Terrasoft.Nui.ServiceModel.Extensions.ProcessExecutionDataExtensions.d__2`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Terrasoft.Nui.ServiceModel.Extensions.ProcessExecutionDataExtensions.d__7`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Terrasoft.Nui.ServiceModel.BaseCrudDataService.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at Terrasoft.Nui.ServiceModel.AspNetFramework.Controllers.DataServiceController.d__20.MoveNext()

Like 0

Like

1 comments

I haven’t seen that one before. Could it be permissions on the configuration folders under Terrasoft.WebApp? Does generating source code and compiling (without adding new items) work normally?

Ryan

Show all comments

Hello all.

 

There is an object in my package that isn't opening the form page when I try to create a new record. In Advanced settings, the default page for this specific object displays "Page removed". 

 

When I tried to replace the "Page removed" with the actual existing & working page for the object, upon Publication I received the following pop-up:

Addonpage

 

 

However, when I changed the page setup from the list page (by clicking on the "New" button seen below), the form page would open and function as intended. To double-check that this issue was finally fixed, I checked the page setup again in the Advanced settings. Unfortunately, the same popup & "Page removed" issues presented themselves again but the form page was opening & working.

New button

This problem is presenting issues when I try to export the package that the object is in; I am unable to create new records for the object in the trial instance since there is technically no "form page" for the object.

 

Any help/guidance on how to resolve this would be greatly appreciated.

Like 0

Like

0 comments
Show all comments

Hi!

I'd like to add many-to-many relationship between Account and Contact. I've created an object "Account - Contact" and added some records to it.

Now I'd like to add a folder on Contacts list for displaying those contacts, who are related with "Our company" Account. Unfortunately, the list of columns for "Account - Contact" does not contain neither relationship-related lookup fields (like Contact, Account) nor any additional columns, stored in this object. There are only Quantity and some date fields.

 

 

I've tried to debug it and I realized that JSONs for DataService, which are generated by filter designer, try to use some aggregation function. Is there any way to solve my problem? The solution doesn't have to be simple and possible to do it by GUI :) I can modify the JSON, but so far I couldn't do it correctly in this case.

 

Is is technically possible for DataService, to use simple comparison in lookup for backward related objects, like "Account - Contact", or I'm restricted to use some kind of aggregation?

 

 

 

Like 2

Like

1 comments

This is because there can be multiple "Account - Contact" records for  an account so the choices there are aggregates only. If you're adding this as a filter condition, select "Quantity" and then choose Quantity > 0. Then, inside of that, as a condition within the Quantity>0, you can add additional conditions, such as "Account" = "Some specific account", etc. 

Ryan

Show all comments

Hello community,

 

I'm trying to add to the account form page a chart, but in the chart settings panel the "Apply filter by page data" option is missing.

I can try to add in the code page the json snippet founded in the Opportunity form page, but is there any other way to do it?

File attachments
Like 0

Like

2 comments

This works different for a chart since each series has it's own data and you can connect each series to the page data differently. You have to first define the series. Once you add a series, the name of the series will appear there and then you can click it to connect to page data. 

Ryan

Ryan Farley,

Thank you very much!

it works!

Show all comments

Hi Community,

We are localizing in Italian our application. We are using the OOTB Attachment TAB.

May we ask some suggestions for localizing the label hereafter reported?

 

 

Regards

Stefano

Like 1

Like

0 comments
Show all comments


I am following this article 
 

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/development-tools/testing/examples/add-tests-for-the-custom-class#title-2118-3
 

I am not able to find the file named Terrasoft.Configuration.Tests.csproj in the file provided application .zip file.
 


 

Like 0

Like

0 comments
Show all comments

Hello,

 

some of my users are having problems to se their "format number" in the Profile User page.

They get a permission error, as administrator I don´t get this error when doing the same action.

 

Any idea on what object I should change/allow to the users to fix this?

Like 0

Like

3 comments
Best reply

Something Creatio miss to configure when add this feature. You must go to Object Permissions, search for "SysUserProfile" and add the permission there, search "Number Format" and add users

Something Creatio miss to configure when add this feature. You must go to Object Permissions, search for "SysUserProfile" and add the permission there, search "Number Format" and add users

Thank you Julio, it worked.

Show all comments

Hi

 

Somebody know how determine, when working with a record in a Freedom UI page if it corresponds to a new record (new/copy)?

 

Thanks in advance

 

Regards

 

Julio Falcón

Like 0

Like

5 comments

Hello Julio,

const cardState = await request.$context.CardState;
if (cardState == "add" || cardState == "copy") {
     // do something here
}

Ryan

Ryan Farley,

Thanks Ryan, where did you find/get this kind of information?

Ryan Farley,

Ryan,

 

In which kind of handler request I must introduce the code? I tried in crt.OpenPageRequest, but nothing happens. The code I'm using:

 

handlers: /**SCHEMA_HANDLERS*/[ // NdosEntity_4ad7b54DS.NdosPeriodicidadMP
	{ 
		request: "crt.OpenPageRequest",
		handler: async (request, next) =&gt; {
			const okBtn = {
				key: "OK",
				config: {
					color: "accent",
					caption: "OK"
				}
			};
 
			const cancelBtn = {
				key: "CANCEL",
				config: {
					color: "primary",
					caption: "Salir"
				}
			};
 
			// Nuevo o Copia
			const cardState = await request.$context.CardState;
 
			// Mensaje...
			const result = await request.$context.executeRequest({
				type: "crt.ShowDialogRequest",
				$context: request.$context,
				dialogConfig: {
					data: {
						message: ( cardState == "add" || cardState == "copy" ) ? "New: Este es un nuevo registro" : "Existing one: Este registro ya existe" ,
						actions: [ okBtn, cancelBtn ]
					}
				}
			});
 
			if (result === "OK") {
				// Clica en OK
 
			}
 
			/* Siguiente handler, retorna resultado */
			return next?.handle( request );
 
		},	
	},
]

Julio.Falcon_Nodos,

You would add this in the page you’re opening, not in the code that opens the page. What is the intent you’re trying to produce? I assume that in a page you’re wanting to know if the page is in add mode vs edit. Correct? To accomplish this you’d add something such as a crt.HandleViewModelResumeRequest on the page and check the cardstate there. 

Thanks Ryan, I'm also try using crt.HandleViewModelResumeRequest, but nothnig happens.

 

What I need is that when I open the page "Air Equipment/NdosPage_3ud8c3e" it can detect if I am working with a new record and do something. So it is in the code of this page, where I enter the commented code, compile, open an existing record and create a new one and the code entered does not execute/does not work in any situation.

 

If I add the code inside a crt.HandleViewModelAttributeChangeRequest, it works, but it stays 

in loop and to exit I have to go back in the browser.

 

I made a short video to show what I'm doing and where the code is in case it helps to understand, see at

https://share.vidyard.com/watch/NRBjhx3hjzCi9sZ2x5qsSK?

 

In Classic UI I've the onEntityInitialized method to execute when open the page, but in Freedom is very different

 

Thanks again

Julñio

Show all comments

Greetings Community,

 

     Could someone provide me with references for Script Task queries related to CRUD operations on Creatio objects?

 

      Are there any examples or references available for sample scripts and C# functions regarding the Script Task element suitable for beginners?

Like 0

Like

2 comments

Hello,

 

As the first step, we recommend you to check our Academy article on Script Task process element that includes both instructions and examples of working with it. You can also use Academy and Community for searching examples of implementation of some more specific requests using the key words.

https://academy.creatio.com/docs/8.x/no-code-customization/bpm-tools/pr…

Hello Mira,

 

Thank you for your reply. I have reviewed the Academy article on the Script Task Process element. Also, executed on Creatio platform.

 

I am now interested in learning more about what we can accomplish with the Script Task element. Is there any additional information or examples available for Script element? 

 

regards, 

Ajay

Show all comments

Hi,

Is there a way to get the process log id generated by the current running business process?
I want to know what is the process log id while the business process is running.

Like 0

Like

0 comments
Show all comments