Hello community,

I'm trying to add on freedom edit page the Recordinactive field, but the designer doesn't list  the field.

In classic UI I can add the Recordinactive field

 

How can I solve this problem?

thank you

Like 0

Like

1 comments

Hello,
The reason lies in the type (UsageType) of the RecordInactive= "Advanced" column, which is why the system does not display it in the designer. Unfortunately, there is no way to change this column type.

However, there is a workaround that will allow you to use the feature, namely the "DisableBlockingSystemColumns" feature that needs to be created and enabled for users that you need to have the rights to use such system fields.
1. Go to the link: https://SITENAME.creatio.com/0/Features
2. Add a new parameter:
image.png
3. Create a new parameter called "DisableBlockingSystemColumns", then add the role that well have the access to it, enable the checkbox and save the changes:
image.png
4. Relogin to the site.

However, this will allow users who have this option enabled to see other restricted and system columns in the system. We recommend using this approach in the "extreme" case, if the work of this functionality is critically important.

In addition, we have already created a task for our development team to fix this issue. Unfortunately, we have no exact ETA at the moment, since the task is at the initial stage, but it may be included into one of the next releases.

Show all comments

Can I set column values when using crt.CopyRecordRequest ? 
I have a use case where I need to create a copy of the record but change several column values in the new record. 
Is there a way to do it? 
 

Like 0

Like

2 comments
Best reply

If this is being done via a model copy (See https://customerfx.com/article/copying-a-record-from-client-side-code-using-the-model-class-in-a-creatio-freedom-ui-page/) then yes, you can update values, then finally insert the new record that was created from the copy. The article linked shows how to do this.

If this is from the Copy menu on a list, then you'd have to change that to use your own request, then copy, set the values, insert, in your own custom code.

Ryan

If this is being done via a model copy (See https://customerfx.com/article/copying-a-record-from-client-side-code-using-the-model-class-in-a-creatio-freedom-ui-page/) then yes, you can update values, then finally insert the new record that was created from the copy. The article linked shows how to do this.

If this is from the Copy menu on a list, then you'd have to change that to use your own request, then copy, set the values, insert, in your own custom code.

Ryan

Hi Ryan, 

I was just calling the request from the button. Another thing is that if you call it from any page other than [object]_ListPage it’ll open the classic ui page, rather than the freedom UI page. 
I’ll definitely give the approach you described a try, I’m sure it’ll work. 
Thanks a lot!

Show all comments

I want to add a field validation in freedom ui, like, it's a date field then i want to impose a condition if date selected by the user is backdate then don't allow the record to be saved.(Freedom UI)

Like 0

Like

4 comments

Hey,
So for example if you have a date field as dateofPM and you want to prevent the user to choose a date, which is before the date of the CreatedOn of the record 
Below is a Example of the code:
 

Hope this helps.

 

thanks but i want it in freedom ui, so where to write this js code

Ryan Farley,

Thanks Ryan, I tried this, but it didn't work, I will share my code here of this approach meanwhile I tried applying validation popup using handler, if you can suggest me any handler/function which will prevent saving the record if the control passes to this handler? this is my handler code:

 

 

Show all comments

Hi,

 

Is there a way to prevent column layout modification for non-admin users ?

 

I tried to search for client code or operation permissions, but without any luck.

Like 0

Like

3 comments
Best reply

You can add the following to the List (crt.DataGrid) values:

"features": {
    "columns": {
        "adding": false
    }
}

If this is a section list, it would look like this:

{
    "operation": "merge",
    "name": "DataTable",
    "values": {
        "features": {
            "columns": {
                "adding": false
            }
        }
    }
}

If this is something for only admins, you'd need to add an attribute to the page and then use that for the value: 

"adding": "$MyAttributeName"

Ryan

You can add the following to the List (crt.DataGrid) values:

"features": {
    "columns": {
        "adding": false
    }
}

If this is a section list, it would look like this:

{
    "operation": "merge",
    "name": "DataTable",
    "values": {
        "features": {
            "columns": {
                "adding": false
            }
        }
    }
}

If this is something for only admins, you'd need to add an attribute to the page and then use that for the value: 

"adding": "$MyAttributeName"

Ryan

Ryan Farley,

So no global parameter. It's a shame. By the way, thanks for all your articles, it's a goldmine.

Jerome BERGES,

Thanks! Yes, sadly, no way to do this for all lists without adding this to every single one.

Show all comments

We want to add filters in the same way that you can add them to lookups using code on the page, as there isn't a no-code way to configure additional filters for Timeline components. In our case, it's filtering out non-completed Activity records from the Timeline. We don't seem to be able to using similar methods to lookups though (i.e. adding custom code to the crt.LoadDataRequest handler. Has anyone found a way to add such a filter? It looks like all the Timeline code is in the 9351.xxxxxxx JS file.

Like 0

Like

3 comments

Hello,
We must say that the ability to add filters to a timeline is under development. Unfortunately, we cannot tell when it will be added.

Hi , Any update on this , we have a requirement to add a recipient filter inside timeline component , any idea

Pranshu Basak,

 

Hello,

This feature is currently in the planned stage, but no estimates for its release are available at the moment.

Show all comments

Hi all,
 I want to upgrade my instance to freedom UI. How can I set up several form pages in Freedom UI for a section?
I've a freedom UI section with two edit page, which depends on a lookup field.

Is it possible to control which user can use a specific edit page in new button?
Version 8.1.3

 

Regards,
Merlin

Like 1

Like

3 comments

Hello,
 

You can define a typed page that will open for a specific type of lead in the Freedom UI page designer. Just hover over the add record button and in the right menu you will have the opportunity to define pages depending on the type of lead, default page, page for adding records.

FreedomUI designerFreedomUI designer

Serhii Parfentiev,

        Thank you, But I have done this one now I need to limit that one like I have a lookup in contact section. eg type (lookup in contact section) if type is customer means I need to show only wholesale in new button if its different type only enterprise should be shown.

Serhii Parfentiev,

     Could anyone help on this. Thanks in advance.

Show all comments

Dears

 

Is it possible to edit the Components? I need to present contact name fields in this order:

  1. First Name
  2. Middle Name
  3. Last Name

 

Actually the order is other

 

Thanks in advance

 

Best regards

Julio

Like 2

Like

3 comments
Best reply

Hello,

Unfortunately, for now, it is not possible to edit and add additional fields in the short contact and account profile using the basic application tools. However, we have registered this idea for the responsible R&D team to consider and implement in future releases of the application. 

Thank you for helping us to improve our product. 

Hello,

Unfortunately, for now, it is not possible to edit and add additional fields in the short contact and account profile using the basic application tools. However, we have registered this idea for the responsible R&D team to consider and implement in future releases of the application. 

Thank you for helping us to improve our product. 

Yes please ! :)

Malika,

Thanks

Show all comments

Hi community,

I need help with implementing a toggle button in my Freedom UI section.Thanks in advance.

Regards,
Mahalaxmi Ganesan


 

Like 0

Like

1 comments

Hi all,

 

We want, in Freedom UI, to order as per customer need the options in a drop-down menu.

 

We know that this implementation is possible in Classic UI but we don't know how to address it using Freedom UI.

 

Can anyone help us in addressing our customer request?

 

Thank you very much in advance.

 

Best regards

 

Stefano

Like 1

Like

8 comments

Hello,
Please specify where exactly you need a drop-down menu; 
Please provide us with the screenshots of the Classic UI functionality that you want in Freedom UI.

Antonii Viazovskyi,

I believe Stefano is referring to a lookup displayed as a drop down. I would love to know if those can be sorted as well. They're typically sorted in alphabetical order, any of my attempts to change the order in the load request don't work.

Ryan

Antonii Viazovskyi,

Hello Antonii,

I've a lookup with figures 1, 2, 3, ,4, 5, 6, 7, 8, 9, 10... the lookup values are sorted alphabetically so the result is 1, 10, 2, etc..

I can add a leading 0 or change the collate rule for the "Name" field 

 

CREATE COLLATION numeric (provider = icu, locale = 'en-u-kn-true'); ALTER TABLE "UsrPercentDeductible" 

ALTER COLUMN "Name" SET DATA TYPE character varying(250) COLLATE "numeric";

Hi All,

 

As stated by Ryan I'm referring to a lookup dispalyed as a drop down. Is there a way to configure a custom sorting in that situation?

 

Best Regards

 

Stefano

STEFANO FERRARI,


Unfortunately, there are no basic system tools to change the alphabetical filtration order. To implement a custom filtration order, additional development will be needed. 
You can check the below posts where similar business tasks have been already discussed: https://community.creatio.com/questions/sorting-values-lookup-field-besides-alphabetic-order https://community.creatio.com/questions/sorting-drop-down-lookup https://community.creatio.com/questions/freedom-ui-sorting-lookup https://community.creatio.com/questions/change-order-lookup-values-list 
In addition, a task has already been registered in our R&D team to consider and implement such a feature in future releases

Hi guys,

 

I have decided to take a quick look at this and managed to get it working.

For example, adding this handler on the Accounts_FormPage should filter the "Type" by "Id" descending.


(In the code block change the ">" to ">", can't seem to fix this in the reply editor)

 

{
	request: "crt.HandleViewModelInitRequest",
	handler: async (request, next) => {
		let sortingConfigList = await request.$context.Type_List_Sorting;
		let firstSortingConfig = sortingConfigList[0];
		firstSortingConfig.columnName = "Id";
		firstSortingConfig.direction = "desc"; //desc or asc
		return next?.handle(request);
	}
}

 

 

 

 

So the page context attribute we need to change is attributecode_List_Sorting.
This is a list of "order configurations" (so you can order by multiple columns for example)
So we just need to get the first item in this list and change the columnName from Name to whatever other field we need to order on
And we can optionally change the direction property to "desc" to order descending (it is "asc" by default).

Thanks, I have an additional question. I have more than one lookup to be needed to sort in accounts, use this code, but sort just one. What's wrong?

 

{
	request: "crt.HandleViewModelInitRequest",
 
	// 1.- Typo Empresa
	handler: async (request, next) => {
		//await next?.handle(request);
		let sortingConfigList = await request.$context.Type_List_Sorting;
		let firstSortingConfig = sortingConfigList[0];
		firstSortingConfig.columnName = "NdosOrdenarPor"; // Campo nuevo creado en AccountType
		firstSortingConfig.direction = "asc"; //desc or asc
		return next?.handle(request); 
	}, 
 
	// 2.- Nro de Empleados
	handler: async (request, next) => {
		//await next?.handle(request);
		let sortingConfigList = await request.$context.EmployeesNumber_List_Sorting;
		let firstSortingConfig = sortingConfigList[0];
		firstSortingConfig.columnName = "Position";
		firstSortingConfig.direction = "asc"; //desc or asc
		return next?.handle(request); 
	}, 
 
	// 3.- Annual revenue/Facturacion anual
	handler: async (request, next) => {
		//await next?.handle(request);
		let sortingConfigList = await request.$context.AnnualRevenue_List_Sorting;
		let firstSortingConfig = sortingConfigList[0];
		firstSortingConfig.columnName = "FromBaseCurrency";
		firstSortingConfig.direction = "asc"; //desc or asc
		return next?.handle(request); //next?.handle(request);
	}
 
}

Julio Falcon (Cibernética),

You will need to combine these into one "handler"

 

{
	request: "crt.HandleViewModelInitRequest",
 
	handler: async (request, next) => {
		// 1.- Typo Empresa
		let sortingConfigListType = await request.$context.Type_List_Sorting;
		let firstSortingConfigType = sortingConfigListType[0];
		firstSortingConfigType.columnName = "NdosOrdenarPor"; // Campo nuevo creado en AccountType
		firstSortingConfigType.direction = "asc"; //desc or asc
 
		// 2.- Nro de Empleados
		let sortingConfigListEmployeesNumber = await request.$context.EmployeesNumber_List_Sorting;
		let firstSortingConfigEmployeesNumber = sortingConfigListEmployeesNumber[0];
		firstSortingConfigEmployeesNumber.columnName = "Position";
		firstSortingConfigEmployeesNumber.direction = "asc"; //desc or asc
 
		// 3.- Annual revenue/Facturacion anual
		let sortingConfigListAnnualRevenue = await request.$context.AnnualRevenue_List_Sorting;
		let firstSortingConfigAnnualRevenue = sortingConfigListAnnualRevenue[0];
		firstSortingConfigAnnualRevenue.columnName = "FromBaseCurrency";
		firstSortingConfigAnnualRevenue.direction = "asc"; //desc or asc
 
		return next?.handle(request); 
	},  
}
Show all comments

Hi Community,

 

We have this business requirement, where we need to add a "Quick Complete" button to the NextStep line. Similar to what this marketplace app have, but for FreedomUI.

 

https://marketplace.creatio.com/app/quick-complete-order-activities-creatio

 

We want to add the button next to the "Complete" one.

 

 

How can we achieve such business requirement? What do we need to change?

 

Thank you in advance.

 

Best Regards,

Pedro Pinheiro

Like 1

Like

1 comments

Hello,
 

Unfortunately, at the moment, the Message-composer element is not customizable from the inside using no-code/low-code tools.
 

Currently, we do not have a ready-made instruction for adding such a button. However, we have created a task for the responsible team to either create such an instruction or add no-code tools for adding custom buttons to the element.
 

Thank you for helping make our product better!

Show all comments