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.
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.
+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.
Ended up implementing a custom AccountAddressEventListener module and modifying the FullAddress field the way I wanted. Thank you again Ryan.
[EntityEventListener(SchemaName ="AccountAddress")]publicclass USAAccountAddressEventListener : BaseEntityEventListener
{#region Methods: Privateprivatevoid 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"/>publicoverridevoid OnInserting(object sender, EntityBeforeEventArgs e){
base.OnInserting(sender, e);
FillFullAddress(sender as Entity);}}
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.
I have an integration with another vendor, where the integration requires a certificate to carry out the integration. There are 2 certificates for each provider. Strangely only one is running normally, the other is intermittent. sometimes it works, sometimes it doesn't. My question is, is there any special configuration for certificates (.pfx) inside creatio or IIS?
Bulk/trigger emails are not supposed to have files attached to them since the email provider can reject sending this email. The only way to have a file (for example pdf file) being attached to an email if it is a trigger/bulk email - is to put this file as a link to the body of an email. Your file should be stored in some public storage that can be accessed by anyone and the link to it will be like this https://test_storage_system/$File/TestSheet.pdf.
But if you put this link to the body of an email - recipients will get an error when opening it. So you need to use the OpenElement parameter at the end and make the link look like this
https://test_storage_system/$File/TestSheet.pdf?OpenElement. As a result, users will see opened pdf documents (which they can download after that) that can be accessed from your bulk/trigger email.
Bulk/trigger emails are not supposed to have files attached to them since the email provider can reject sending this email. The only way to have a file (for example pdf file) being attached to an email if it is a trigger/bulk email - is to put this file as a link to the body of an email. Your file should be stored in some public storage that can be accessed by anyone and the link to it will be like this https://test_storage_system/$File/TestSheet.pdf.
But if you put this link to the body of an email - recipients will get an error when opening it. So you need to use the OpenElement parameter at the end and make the link look like this
https://test_storage_system/$File/TestSheet.pdf?OpenElement. As a result, users will see opened pdf documents (which they can download after that) that can be accessed from your bulk/trigger email.
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
Now that lists have a multi-select feature, how can one access the DataTable_SelectionState for that list and pass it to a BP? The available button actions don't seem to have an option specific to sections and I'm not yet seeing any samples out there on how to do it in code.
You can use the following in a request handler for the action buttons for the list - this will return an array of the selected Id values:
const selectedIds =(await request.$context.DataTable_SelectionState).selected;// selectedIds will be an array of Id's for any selected records
As for getting them to a process, you could pass in as a string to a param or execute the process separately for each Id. See here for executing a process, if needed.
You can use the following in a request handler for the action buttons for the list - this will return an array of the selected Id values:
const selectedIds =(await request.$context.DataTable_SelectionState).selected;// selectedIds will be an array of Id's for any selected records
As for getting them to a process, you could pass in as a string to a param or execute the process separately for each Id. See here for executing a process, if needed.
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.
Hi everyone, I have a problem with the 360 application in my local instance of creatio.
It's strange because I've already reinstalled it and sometimes it opens the workplace sections (although they are the classic version), logs out, and when I try to enter the form page again, it stays loading in an eternal loop
For a new app on version 8.1, I'm trying to lock up all fields on a page based on the record condition. I have a Locked by field on the record and if the field is empty or different than the current user, I want to make the whole page read only.
I was able to do that on previous versions by adding some code to the page. At high level I needed to add the IsModelItemsEnabled attribute and have a "setCardLockoutStatus" method that triggers when the UsrLockedBy field changes. I also need to do a merge operation on the CardContentWrapper to set the generator value to DisableControlsGenerator.generatePartial.
What page code I need to write to accomplish something similar on 8.1? Or can that be accomplished now with no code?
The way of locking the whole page you've described is based on using the "CompleteCardLockout" feature. Unfortunately, it is not available to use on the Freedom UI pages.
However, you may implement it using Page Designer business rules. It is possible to specify a rule that makes all the input fields editable/read-only based on the field value condition, for example:
The way of locking the whole page you've described is based on using the "CompleteCardLockout" feature. Unfortunately, it is not available to use on the Freedom UI pages.
However, you may implement it using Page Designer business rules. It is possible to specify a rule that makes all the input fields editable/read-only based on the field value condition, for example:
Thanks Natalia. I do have a lot of fields on the page so I was looking for something like the CompleteCardLockout feature, but business rule will do. Do you know if there are any plans to have that feature on the freedom UI version? It takes some maintenance to keep those rules updated every time fields are added to the page.
Your answer is something that we already now (I have already stated that in my post) . And it is very astonishing that such functionality which was oob in the Classic UI is not present in the Freedom UI.
Please give us a code example of implementing such functionality in freedom UI.
We don't have a ready example of such implementation.
However, we have already registered the idea for our R&D team to implement this functionality in further releases. I will assign your case to this project to increase its priority.
You need to create other lookups, remove and replace the current postal code text field, so that you can add postal code to the list of cities to do the links. It is indeed weird that this is a seperate text field as an OOTB feature.
Also, accounts is in Freedom UI, with customer 360, but not account adresses , how weird is that ??