As the title says, we sometimes need to disable buttons while still showing them - something which was easy to do in Classic UI. Is there any way of doing so in Freedom UI? I can't see any examples in OOTB Freedom UI areas, anywhere that does have disabled buttons OOTB are in Classic UI sections (e.g. the "Finish session" button on the System User page on the Access Rules tab when no record is selected).

Like 0

Like

4 comments
Best reply

Classic UI buttons have a property 'enabled'
Freedom UI buttons have a property 'disabled'

Hi Harvey, 

Does it not work to bind an attribute to the enabled property of a button and set as true/false? I've not tried that, but I assume it would work? Have you already tried that?

Ryan

Classic UI buttons have a property 'enabled'
Freedom UI buttons have a property 'disabled'

Huh, not sure how I missed that, could've sworn I tried doing that! Thanks both.

As a note, the only way I could find to put some kind of hint/tooltip on the button when it's disabled is by using the "title" property, which gives you a standard browser tooltip display when hovering the mouse over the button. And binding that to an attribute that you change to be blank when the button is enabled.

Show all comments

How do you set a prefix for all schemas? How do you add a new section called "Requests"  with some fields?

Like 0

Like

1 comments

Hello!

 

In system settings search for:

Prefix for schemas and package name

SchemaNamePrefix

 

More detailed information about new section creation can be found in this article: https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/getting-started/first-app/develop-application/create-a-new-section

Another article, that can be useful for you is how to create the custom package:

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/development-tools/packages/create-a-package

 

Thank you for being an active part of the Creatio community!

Show all comments
Question

Hello community,

 

I couldn't found in the academy documentation on how to use the freedom UI page parameters, can you help me?

 

Like 0

Like

2 comments

Hello,

You can view all the elements of Freedom UI designer by clicking on the link: https://academy.creatio.com/docs/8.x/setup-and-administration/administration/user-and-access-management/user-management/import-users-from-excel

The parameters for each element can be different, depending on which element you are using.

Hi Malika

thank you for your reply

I think the link you shared with me is not related to my question.

I found the answer myself, I was trying to define the virtual column as a page parameter incorrectly, defining it via the code

Show all comments

New error generated by Parent Account exercise:

Two Use Cases for Lists in Creatio’s Freedom UI (techadv.com)

 

Like 0

Like

4 comments

Hello!

 

Could you please provide a screenshot of the component settings?

This is the Page Layout:

This is the component settings:

I used this article you recommended and followed the steps:
Two Use Cases for Lists in Creatio’s Freedom UI (techadv.com)

In example #2 - the related accounts appear but I cannot "add New Account". This just creates a new Account but no relationship as a Parent Account.

Show all comments

New error introduced after Contact exercise:

 

Two Use Cases for Lists in Creatio’s Freedom UI (techadv.com)

 

 

Like 0

Like

1 comments
Best reply

This was resolved by deleting the related object - it was missing a field.

This was resolved by deleting the related object - it was missing a field.

Show all comments

Dear,

 

I m trying to send to a source code object a guid converted to string format

I allready do this in an other process with the orderId using: 

var orderId = Get("OrderId").ToString();

 

 

When i save and compile my process, i get no error, but when i start the process, i get the following error:

 

My AccountAddressId parameter is an Id:

 

And i set it with the Read Primary Account Address First collection element:

 

 

What wrong m i doing ?

 

Thank you

Nicolas

Like 0

Like

3 comments

Hello Nicolas,

 

The very same process in my local app didn't return the error. Are you sure that the issue is in the accountId parameter, but not in the two other parameters? 

Oleg Drobina,

if i comment the line with the accountAddressId parameter, the process doesn't return me any error, so the problem seems coming from this line.

Oleg Drobina,

Well, i change the var name: accountAddressId to adressId

and now it works, may be i miss something

Show all comments

Dear collegaues

 

In Classic UI, I need to add a Filter business rule to can get only contacts with Email is completed. Some ideas how to solve this?

 

I tried not equal "", not contains "@" and others and didn't works

 

Thanks in advance

 

Regards

Julio

Like 0

Like

2 comments
Best reply


Hello,
 

Unfortunately, it's not possible to add such a filter using basic filters. However, you can write a custom filter in the schema code.

For example, for the Owner field on the AccountPageV2 schema, this filter may look like this:


define("AccountPageV2", [], function() {
   return {
       "entitySchemaName": "Account",
       "attributes": {
           "Owner": {
               "dataValueType": Terrasoft.DataValueType.LOOKUP,
               "lookupListConfig": {
                   "filters": [
                       function() {
                           var filterGroup = Ext.create("Terrasoft.FilterGroup");

                           filterGroup.add("HasEmail",
                               Terrasoft.createColumnFilterWithParameter(
                                   Terrasoft.ComparisonType.NOT_EQUAL,
                                   "Email",
                                   ""));
                           return filterGroup;
                       }
                   ]
               }
           }
       }
   };
});

This filter ensures that only contacts with the Email field not equal to empty string will be included in the selection for the Owner field.
 

You can learn more about such filtering in our academy: Link

Thank you for reaching out!


Hello,
 

Unfortunately, it's not possible to add such a filter using basic filters. However, you can write a custom filter in the schema code.

For example, for the Owner field on the AccountPageV2 schema, this filter may look like this:


define("AccountPageV2", [], function() {
   return {
       "entitySchemaName": "Account",
       "attributes": {
           "Owner": {
               "dataValueType": Terrasoft.DataValueType.LOOKUP,
               "lookupListConfig": {
                   "filters": [
                       function() {
                           var filterGroup = Ext.create("Terrasoft.FilterGroup");

                           filterGroup.add("HasEmail",
                               Terrasoft.createColumnFilterWithParameter(
                                   Terrasoft.ComparisonType.NOT_EQUAL,
                                   "Email",
                                   ""));
                           return filterGroup;
                       }
                   ]
               }
           }
       }
   };
});

This filter ensures that only contacts with the Email field not equal to empty string will be included in the selection for the Owner field.
 

You can learn more about such filtering in our academy: Link

Thank you for reaching out!

Thanks Pavlo

Show all comments

Hello everyone,

In our invitation e-mail, we have set the font color to "black" and the background to "light blue".
If the invitation is now opened in Outlook with Office Design "black", the font is automatically changed to "white".

However, the font color should still remain "black".


Can anyone help me with this problem?

 

 

Like 0

Like

4 comments

Hello, 

Does this issue occur only when the  Outlook Office Design is  "black"?

I have the Outlook Office Design color "dark grey". There is no problem with the font color here.

 

Only the Office Design color "black" and "Apply system settings" are changed.

Franziska Tiefengraber,


Possibly,hen O wutlook's "Black" Office Design is applied, it prioritizes high contrast between text and background for better readability. Since your background is "light blue," the default behavior is automatically changing the font color to "white" for optimal contrast.


Please try the following solution: 
Disable Automatic Color Adjustment:

  • In Outlook, go to File > Options.
  • Click on the General tab.
  • Under Personalize your copy of Microsoft Office, select the Office Theme as desired (e.g., Colorful, White).
  • Crucially, check the box next to "Never change the message background color."
  • Click OK.
     

This setting prevents Outlook from automatically adjusting the font color based on the background, ensuring your black font remains.

Thank you very much for your help!

Show all comments

Hello community, 

I want to test sending an email function in Trial site

Can it possible?

Thanks 

Like 0

Like

4 comments

Hello,

 

It is possible to send the emails from the trial version of the site.

However, you have to set up the app password on the Google side.

 

Detailed information can be found here: https://support.google.com/accounts/answer/185833?hl=en

 

Happy to help!

Hi Hanna Skalko,

According to the two pictures I posted above, I turned off feature 2-Step Verification, then entered my email and password (I went to Google and login Email to confirm that both are corrected). However, Trial reports an incorrect email or password error.

It is not possible, is it?

Đặng Văn Chức,

Many email services no longer allow basic auth ad instead require OAuth. To use gmail in a trial you must:

  1. Turn on 2-step verification
  2. Set up an app password (only allows you to do this if 2-step verification is on)
  3. Use the app password for the password when adding the account to the trial

Ryan

Show all comments

Hi there - I'm trying to figure out where to put this schema in Creatio configuration to allow for a button in mobile.  I've found this article but it isn't clear how/where to apply this:

 

https://academy.creatio.com/docs/8.x/dev/development-on-creatio-platform/mobile-development/customization/freedom-ui/customize-page/references/common-components

 

Thank you!

Like 0

Like

2 comments

Hi!

Please contact our support team at support@creatio.com and describe your situation to us. We will be happy to help you. 

Best regards,
Anton

Hello,

In this article, you can find the description of the page, on which the button component should be added.

Show all comments