Hello Community, 

 

I have a requirement to sort the lookup values where value is a text field which contains both letters and number. I wanted to sort it in asc for the numbers first. 

How can we achieve this?

Any Suggestions is helpful 

 

Thanks

Gargeyi.G

 

Like 0

Like

1 comments

Hello,

 

There are no basic system tools to change the alphabetical filtration order. In order to implement custom filtration order additional development will be needed. 

I'd suggest to check the below posts where similar business tasks have been already discussed:

https://community.creatio.com/questions/sorting-values-lookup-field-bes…

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

Best regards,

Anastasiia

Show all comments

I am working on a use case to use angular component inside creatio. I have followed this link .It seems like it is old documentation most of the js files mentioned in that link is not there in the angular package. Can anyone helo me on this 

TIA

Like 1

Like

1 comments

Hello Pavan,

 

Can you please describe this question a little bit in details? At which particular step do you face issues?

Show all comments

Hi,

I'm trying to add business rules in the freedom UI but looks like they are way less advanced than the business rules in the Classic UI. 

Is that right or am I missing something?

I want to do the following: If Project is filled in THAN School.Semester = Project.Semester 

(school object has a lookup field Project), it was possible to add this to the classic UI but I can't find a way to get a value from another field, just constant.

Waiting for your answer and hope there is a way. otherwise, the freedom UI is great but this feature of business rules is used so many times by us and I would have to go back to the classic ui after all the work I've done.

Thanks in advance,

Chani

Like 1

Like

4 comments

You need Creatio 8.0.9 https://academy.creatio.com/docs/release/release-notes/809-atlas-releas…



"Business rules 

Filters for dropdown fields. It is now possible to filter available values of a dropdown field by selected value of another dropdown field in Freedom UI using business rules. For example, filter cities by selected country."



Single reason why we have not switched the contact/accounts sections to Customer 360 app yet.

Damien Collot,

I have 8.0.9 and can filter dropdown by other values but still can't set field value from connected objects like I can in Classic UI.

Damien Collot,

But it doesn't work in Mobile app yet. Waiting for next release :)

Damien Collot,

Any updates on this??

Thanks

Show all comments

Hi,

I just started working with the freedom UI and having a bad time trying to make the top areas scroll up.

I couldn't find an OOB setting that sets it and tried adding "position": "static" to the source code, but it did not help.

Can you help?

Thanks,

Chani

 

Like 1

Like

5 comments

Hello Chani,



There is no such OOB functionality.



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. 

 

Bogdan,

What about coding? 

Chani Karel,

 

Unfortunately we don't have any examples of such logic of static position of element to share. We need to wait until this functionality is implemented out-of-the-box so it could be used in the system.

Oleg Drobina,

Hi, Any updates on this?

Thanks

You can add CSS to a Freedom UI page. See this article: https://customerfx.com/article/adding-custom-css-style-sheets-in-bpmonl…

Then you can try adding the styles to the page elements in the added CSS.

Ryan

Show all comments

Hi Community,

I want to make certain fields required based on condition that detail has a record in Freedom UI.

 

Thanks

Rakshith

Like 1

Like

1 comments

Hello,

Here is an example of how to change the Required

viewModelConfig: /**SCHEMA_VIEW_MODEL_CONFIG*/{
            "attributes": {
                "UsrCustomText": {
                    "validators": {
                        "required": {
                            "type": "crt.Required"
                        }
                    }
                },
....
 
{
                request: "crt.HandleViewModelAttributeChangeRequest",
                handler: async (request, next) => {
                    if (request.attributeName === 'LookupAttribute_nj0qj8x') {
                        const accountAddressModel = await sdk.Model.create("AccountAddress");
                        const filters = new sdk.FilterGroup();
                        await filters.addSchemaColumnFilterWithParameter(sdk.ComparisonType.Equal, "Account", request.$context.Id.__zone_symbol__value);
 
                        const address = await accountAddressModel.load({
                            attributes: ["Id"],
                            parameters: [{
                                type: sdk.ModelParameterType.Filter,
                                value: filters
                            }]
                        });
                        if (address.length > 0) {
                            request.$context.enableAttributeValidator('UsrCustomText', 'required');
                        } else {
                            request.$context.disableAttributeValidator('UsrCustomText', 'required');
                        }
                    }
                    return next?.handle(request);
                }
            }

However, this code is currently not working, the fix to it will be added in a version 8.0.10

Show all comments

Hello Everyone,



I Have uploaded the wrong Data in a custom object based on Freedom UI. Is there a way to delete multiple records in Freedom UI? Also, if not, how do I create a custom Button in Freedom UI and Link it with BP so I can overcome this issue?

 

Like 1

Like

2 comments

There used to be a great Marketplace app that was an SQL console. I would use that to delete data from an object. I have also created a lookup with the custom objects and deleted data from there. If you have a lot of rows it is a long process. You can also open a ticket with support with the SQL query to delete and they may run it for you.

You can also add SQL query to your Custom package and execute it

Show all comments

Hello Community,

 

I have a field in a form page, I wanted the field to be filled with the Master record number when copying a record.

 

For example: 

Master record numb 1, and now I am copying the record from the menu items from the list form page. 

All the values are copied and a new record page should be opened with Master record Number (1) in the field. 

 

how can I achieve it? 

I could not see any attribute presenting the parent record number in the copied record. 

Any suggestions is really helpful

Thanks in Advance

Like 0

Like

1 comments

Hello,



We've found one possible way of achieving the desired result. Here are the steps:

1) Create a business process with the following schema:



 

The idea here is to pass AccountId as a parameter, read existing account that we are copying (and the value in the autonumbered column particularly) then create a new account record with the default name that is specified in the "Add data" element ([#Read existing account.First item of resulting collection.Name#] + " Copy") and finally open this copied record for editing.

2) In the page designer add a new button that will trigger our business process from step 1 as follows:

Here we pass current record Id as a process parameter for the process to be executed properly.

Additionally this approach will perfectly work in case the user that triggers this process uses new shell (has the "true" value in the system setting with "UseNewShell" code). We've tested it on our side and it copied the record without modifying an autogenerated column, so you can also try this on your side.

Show all comments

Hello community,



I have a use case where I need to hide the menu buttons in the "LeftPanelTopMenuModule" for all users except for System Administrators in FreedomUI.

I tried using these community posts, but I am unable to hide the buttons for other users.

https://community.creatio.com/questions/hide-run-process-button-side-panel-roles-1

and https://community.creatio.com/questions/hide-run-process-button-side-panel-roles-replacing-client-module







Could you please help me with this issue.



Thanks in advance 

Goparna Nasina

Like 0

Like

1 comments

Hello,

 

There is no ready instruction for this case in Freedom UI unforutnately and according to the code there is no property to override and it's not obvious how to add it:

I will ask our R&D team to make it possible to control the visibility of this panel based on the user role. Thank you for reporting this question to us and helping us in making the app better!

Show all comments

Hello Community, 

I had to write a code in the custom Handler to perform many validations based on the field values before saving a page. 

Currently the handler contains almost 2000 lines of code, also it also contains duplicate lines of code in two different places.

I wanted to avoid it and need to split the code into multiple functions. 

Is it possible to do it in Freedom UI?

Thanks

Gargeyi

Like 0

Like

6 comments

Hello Gargeyi,

 

In Freedom UI the best option would be - to move your large handlers logic to separate schemas and call them when required.

 

Here is an example how it may be done:

 

1) Create a custom Module, where executive code would be stored (It would be better if you use the same package. At least, make sure that the package with handlers is within dependant ones of the package with requesting schema)

 

2) Fill our new module with the required logic

 

 

3) Add our new module to the main Schema resources

 

4) Use Global functions

 

Example result:

 

As you may see on Contacts_FormPage we had "Raw Data for Global Handler" that was transformed into "Resulting Data for Global Handler" using a global method in a separate schema. This method may be called several times instead of duplicating the code.

 

This approach should let you optimise your methods.

 

Best Regards,

Dan

 

Hello denis, 

 

Thankyou for your suggestion, I will try using it. 

Hello Denis, 

This works well, But I am not able to use Model class in the new module. 

I have added the dependencies as well. 

Is there any possibility to use the model class to read/Write/update the fields in the new module ?

 

Thanks

Gargeyi.G

I've been able to use the sdk classes, such as model, from modules without issue. Can you share some of the code for how you're using it? Also, which version are you on? I did experience some somewhat related issues with using referenced modules in 8.0.6 but were resolved in 8.0.8.

Ryan

Ryan Farley,

I am using version 8.0.8, Attaching the sample code I tried using sdk classes . When I am trying to load RoadSegment, It throws me an error saying "RoadSegment.load is not a function".

 

Suggest me if I am doing anything wrong here .

Hello , 

 

Is there a way I can use Modal classes to read data from new module?

Thanks

Show all comments

Hello Community, 

 

I have an editable detail with a field type as lookup, user can update the lookup. 

when user selects lookup value from the dropdown and click on save all button for the editable detail, a business process(the business process is designed to run the process for each item) gets triggered to calculate other fields in the record. 

when I do this for a single record I am able to see the changes with no issues, 

But when I update multiple records, I could not see the latest updates for all the records except for the one record. But when I do a refresh page, I am able to see the updated values.

I have  checked the option "Enable Live Data" for the detail object as well. 

Any suggestions are really helpful

 

Thanks

Gargeyi

 

Like 0

Like

1 comments

Hello,



I believe your business task could be achieved by using ''Refresh active page' process element for Creatio.

Show all comments