We are testing some signals and created new Usr object for this purpose since there were some issues on OOTB objects. After creating new object, signals for 'Record added' are not triggering. 

 

Is there any additional configuration needed on object to enable signals?

 

Thanks, 

Mario

Like 0

Like

3 comments

Hello,

Basically, in order to trigger the logic of starting business processes on the event of adding/modifying or deleting records, you need to select the object for which events will be tracked and specify the appropriate parameters. You can learn more in this article on Creatio Academy.

Also, you should additionally make sure that the new object has been published and the system has been compiled after adding a new custom object.

Thank you.

HI, 

 

thanks for update, I already read all that and did not find any clues for additional setup. After your post, I tried to compile and publish all, but it did not help. 

 

Is there any way I can check if signal was raised?

 

Br,

Mario

Hi Mario,

 

1) What is the Parent for this new object? BaseEntity?

 

2) How are you performing the add of the record? Is it via the UI, a process, code or direct SQL insert?

 

Ryan

Show all comments

Dear mates,

We mistakenly created the same organization group twice.

After deleting one of the two groups in the management of organizational groups, when we go to the rights of a record, the two groups still appear.

I tried clearing the cache, restarting the application. Do I need to recompile the entire environment so that the deleted group no longer appears when we want to modify the recording rights?

 

 

Thank you !

 

 

Like 0

Like

3 comments
Best reply

we found the problem, there were a group in an other group

sorrry for disturbing you

Hello,

 

Please specify if you have tied to "Update roles" this way:

yes I tried that yesterday too, but it had no effect

i just tried again, no effect even if the call return true

 

we found the problem, there were a group in an other group

sorrry for disturbing you

Show all comments

Hello,

 

is it possible to configure that communication options should be entered with mask, like it can be set for simple fields?

Communication options block:

Simple field:

Thank you!

Vladimir

Like 3

Like

2 comments

Hello Vladimir,



There is no such option for now. 

 

However, we've registered it in our R&D team backlog for consideration and implementation in future application releases.

 

Thank you for helping us to improve our product.

Yeeess !!



This has been a little puzzle for ourselves and clients to implement. Communication block looks great but too limited in options, at the same time, simple fields are not as elegant in presentation ...

Show all comments

Hello,

 

Lately i added a section for a custom object (let's call it mainObject), which has a collection of objects attached to (subObject), so there is a detail to show that subObject list on every mainObject pages.

Then i did another section to display the whole list of subObject, to get a global view of these.



But i now have troubles editing the subObject page : 

 

When i want to open the section wizard for subObject from its section, a page is opened but not the one actually used for editing,

The good one can be found by reading url of the page : Nui/ViewModule.aspx#CardModuleV2/Schema4dec7c8bPage

 

If i try to edit the subObject page from the mainObject page ( from the detail then the page designer),

the js framework fail with "Uncaught TypeError: Cannot read properties of undefined (reading 'moduleId')"



For now i can edit the code from Schema4dec7c8bPage for needed changes,

but i would prefer to understand what went wrong, and fix it.

Maybe adding a section for subObject did something wrong, as it already had an edit page at that stage ?

 

i hope it's clear enough :)

 

Best regards

Patrice

Like 0

Like

2 comments

Hello,



To analyze this issue, we need access to the site. Please write to us at our email: support.creatio.com.

Malika,

thank you Malika, i'll do.

Show all comments

Hi!

Is it possible to make same date picker as for pipeline but for the List? 

 

Like 1

Like

1 comments
Best reply

Hello,



In Classic UI, there is unfortunately no option to change the date in the dashboard list. However, in Freedom UI, you have this option:



Link to article: https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

Hello,



In Classic UI, there is unfortunately no option to change the date in the dashboard list. However, in Freedom UI, you have this option:



Link to article: https://academy.creatio.com/docs/8.x/no-code-customization/customizatio…

Show all comments

Hi!



In my currently Creatio implementation, the AccountAddress.FullAddress field has the following automatic format:

Zip + Country + State + City + Address



My Client want to make it different:

Address + City + State + ZipCode + Country 

 

Where should I customize that? have not found a business process that does that. 

 

Thank you in advance,

Ignacio Alvarez.

                                 

Like 2

Like

5 comments
Best reply

Sadly that is hard coded in the BaseAddressEventListener. I do wish it was configurable in some way - I really dislike having the address values backwards. 

Ryan

Sadly that is hard coded in the BaseAddressEventListener. I do wish it was configurable in some way - I really dislike having the address values backwards. 

Ryan

+1 for getting more flexibility, depending on the country we see adresses differently , which is often more in the view of "Address + City + State + ZipCode + Country ". The OOTB order is a weird one.

Thank you for your response! I will try creating a BP triggered but the Address change and rewriting there the FullAddress field. 

Ignacio.

Ended up implementing a custom AccountAddressEventListener module and modifying the FullAddress field the way I wanted. Thank you again Ryan.

    [EntityEventListener(SchemaName = "AccountAddress")]
	public class USAAccountAddressEventListener : BaseEntityEventListener
	{
 
		#region Methods: Private
 
		private void FillFullAddress(Entity entity) {
			entity.LoadLookupDisplayValues();
			var zip = entity.GetTypedColumnValue<string>("Zip").Trim();
            var region = entity.GetTypedColumnValue<string>("RegionName").Trim();
            var city = entity.GetTypedColumnValue<string>("CityName").Trim();
            var address = entity.GetTypedColumnValue<string>("Address").Trim();
            var fullAddress = new[] { address, city, region, zip }.Where(x => x.IsNotNullOrEmpty());
			entity.SetColumnValue("FullAddress", String.Join(", ", fullAddress));
		}
 
		#endregion
 
		#region Methods: Public
 
		/// <inheritdoc cref="BaseEntityEventListener.OnInserting"/>
		public override void OnInserting(object sender, EntityBeforeEventArgs e) {
			base.OnInserting(sender, e);
			FillFullAddress(sender as Entity);
		}
}

 

Ignacio Alvarez,

Can you please provide the full steps? How did you make your custom AccountAddressEventListener module? Is this a source code module type?  Also, Can you please provide the full script? (I get lots of errors when I try this.

Thanks,

Chani

Show all comments

Hello,

 

is it possible to log calls from mobile application? When I click on the 'call' icon and dealer is started with selected number, I need to create a record, that call was done from the mobile

 

Thank you!

Vladimir

Like 0

Like

1 comments

Hello Vladimir,



There is no such option for now.

However, we've registered it in our R&D team backlog for consideration and implementation in future application releases.

 

Thank you for helping us to improve our product.

Show all comments

Hi everyone,

 

is there any possibility to prefill some of the data when I would like to add a new "next step task" for the account or for the opportunity? I mean, I would like to add a new task, and I don't want to search for the exact opportunity name, if I do it from the opportunity page. 

 

Thanks, Timi

Like 0

Like

2 comments

Hello Timea,

 

You have to set the correct data source. For example, if I will create a new task from the case page and I want to fill in the case automatically:

 

I should set the data source "Activity.Case" for this field: 

Thank you so much for your answer :) 

Show all comments

Hi Community,

 

I have this business requirement, where I need to calculate my "Monthly Total" field right after I finish loading my form page.

 

These are the formula and fields I want to calculate:

 

var total = (monthlySubTotal - discountAmount) + ((monthlySubTotal - discountAmount) * (taxRate / 100));

 

 

I tried to use "crt.HandleViewModelInitRequest" handler, but it didn't work. Because, the data is not fully loaded.

 

Is there any other handler that I can use, that waits for all the data to be loaded and then calculate my formula?

 

Thanks in advance.

 

Best Regards,

Pedro Pinheiro

 

 

 

 

 

Like 1

Like

4 comments
Best reply

 Hello. Try this.

{
	request: "crt.HandleViewModelAttributeChangeRequest",
	handler: async (request, next) => {
		if (request.attributeName === "UsrFirstField" || request.attributeName === "UsrSecondField") {
			//recalc
		}
		return next?.handle(request);
	}
}

 

 Hello. Try this.

{
	request: "crt.HandleViewModelAttributeChangeRequest",
	handler: async (request, next) => {
		if (request.attributeName === "UsrFirstField" || request.attributeName === "UsrSecondField") {
			//recalc
		}
		return next?.handle(request);
	}
}

 

Alex Zaslavsky,

 

Thank you for  the reply.

 

I'm using the "crt.HandleViewModelAttributeChangeRequest" handler when a field is being changed.



However, in this situation, the field does not receive any change. For example, the "Tax Rate, %" field has 15.00 as its default value. This does not trigger the "crt.HandleViewModelAttributeChangeRequest" handler. But I need it to calculate the "Monthly Total" field.



After some research, I found the "crt.LoadDataRequest" handler. This handler is executed after all the data has been loaded. So, for the moment, it's working for our requirement.

 

Best Regards,

Pedro Pinheiro

I think your "Tax Rate" field triggers this request, but it's silent.

request.silent

 

Alex Zaslavsky,

 

I've changed the solution and now it's working with the "crt.HandleViewModelAttributeChangeRequest" handler.

 

Thank you.

 

Best Regards,

Pedro Pinheiro

Show all comments

Hello, How to automatically run a process as soon as a page is opened

 

Like 2

Like

1 comments

Hello,

To achieve your goal, you will need to apply the development.

You can find basic examples for launching the process from the page from our partners CustomerFX:

1) Starting a Process from Client-Side Code on a Creatio Freedom UI Page

2) Programmatically Starting a Process from Client Code in Creatio

Thank you.

Show all comments