I’m trying to hide fields in Freedom UI conditionally, but it seems this can only be done with code. Unfortunately, the online resources available did not help me that much. Any guidance would be greatly appreciated!

Like 0

Like

7 comments

Dear Prachi, you have the option to hide/show in field property, see image

 

 

 

Then with business rules you enable to see or to hide the field as you need

 

Regards

Julio

Hi Julio, 
Thank you for your response. But then this is not triggered by condition, right? 

Hi

 

I'm not sure what your question is. You have business rules to hide or show fields, tabs, groups, etc.

 

Julio

Julio.Falcon_Nodos,

In Freedom UI. I did not see an option to do that by using business rules. 

Prachi Bhelkar,

You have access tu BR in this icon

 

There you must add a Page Bussiness rule, like you can see in the image

I do not see these options I do not know why. 

Prachi Bhelkar,

You are viewing the business rules on the object. You need to view the business rules on the page. Open the page for editing, then click the icon shown my Julio to view the page level rules (showing a hiding are page level rules, not object level rules - in the object you can only set object level rules)

Ryan

Show all comments

Hi Community,
Can you provide a snippet example, on how we can hide a Detail (list) if the List contains no data (records)?

Thank you

Sasori

Like 4

Like

3 comments
Best reply

This can only be done with code. A combination of doing some model queries to check for records that would be in the list, then using an attribute bound to the visible property of the list to set as true/false based on the results of the query. 

Using the model to query data: https://customerfx.com/article/querying-data-using-filter-conditions-vi…

Using attributes: https://customerfx.com/article/using-custom-attributes-on-a-creatio-freedom-ui-page/

Using the init to execute the above code when the page loads: https://customerfx.com/article/waiting-for-model-to-be-ready-and-loaded…

Ryan

Hi Community,

Any remark on this one?

This can only be done with code. A combination of doing some model queries to check for records that would be in the list, then using an attribute bound to the visible property of the list to set as true/false based on the results of the query. 

Using the model to query data: https://customerfx.com/article/querying-data-using-filter-conditions-vi…

Using attributes: https://customerfx.com/article/using-custom-attributes-on-a-creatio-freedom-ui-page/

Using the init to execute the above code when the page loads: https://customerfx.com/article/waiting-for-model-to-be-ready-and-loaded…

Ryan

Hello,
 

Unfortunately, this task cannot be implemented using standard methods.

 Ryan has provided helpful recommendations that will assist you with implementation through development methods.
 

Additionally, we have registered a task for the development team to add such functionality in future releases.

Best regards,
Pavlo

Show all comments

Hi,

I'm trying to remove sections from "+" button in the resource container. Can someone please help?

Also, can this be handled via access permissions?

Thanks.

Like 0

Like

1 comments

This is done by modifying the "Quick add records menu" lookup. Add/remove objects to that lookup to change this menu.

Ryan

Show all comments

how can i display and hide the case management based on two conditions(Two column) 

 

Like 0

Like

3 comments

Hello,

 

There is a possibility to select several conditions in the selection in the 8.0.8 version:

But this should be also available in the previous versions. You need to update your app to 8.0.8 and then you will be definitely able to select conditions needed.

 

But if we are talking about two separate columns then indeed there is no such possibility in the current application versions. I will register a suggestion for our R&D team to implement one. Thank you for helping us in making the app better!

Oleg Drobina,

Thank you , but i need to choose two conditons based on two colums , for example , type And category

Safa Ghandri,

 

if we are talking about two separate columns then indeed there is no such possibility in the current application versions. I will register a suggestion for our R&D team to implement one. Thank you for helping us in making the app better!

Show all comments

Hello Community,

 

I want to hide the elements "Home", "Run process" and "New" on the top menu:

 

 

This elements should be hidden for all roles. Can you please help me?

 

Thank you very much!

Like 1

Like

1 comments

Hello Javier,

 

To achieve this:

 

1) Create a module with no parent module in configurations called UsrLeftPanelTopMenuModule

2) Add the following content to the module:

define("UsrLeftPanelTopMenuModule", ["LeftPanelTopMenuModuleResources", "LeftPanelTopMenuModule"],
    function(resources) {
        Ext.define("Terrasoft.configuration.UsrLeftPanelTopMenuModuleViewModel", {
            alternateClassName: "Terrasoft.UsrLeftPanelTopMenuModuleViewModel",
            override: "Terrasoft.LeftPanelTopMenuModuleViewModel",
            getTopMenuConfig: function() {
                var menuConfig = [
					{
						id: "collapse-button",
						tag: "CollapseMenu",
						className: "Terrasoft.HoverMenuButton",
						style: Terrasoft.controls.ButtonEnums.style.TRANSPARENT,
						classes: {
							imageClass: ["button-image-size"],
							wrapperClass: ["collapse-button-wrapperEl"]
						},
						imageConfig: resources.localizableImages.collapseIconSvg,
						click: {
							bindTo: "collapseSideBar"
						},
						hint: this.getCollapseSideBarMenuItemCaptionConfig(),
						markerValue: this.getCollapseSideBarMenuItemCaptionConfig()
					}
				];
				return menuConfig;
			}
        });
    }
);

and save the schema.

3) Create the replacing BootstrapModulesV2 view module (or use existing one if you already have it) and add the following content (add created UsrLeftPanelTopMenuModule as a dependency):

define("BootstrapModulesV2", ["UsrLeftPanelTopMenuModule"], function() {
	return {};
});

and save the schema.

4) Reload the page

 

The result will be:

Show all comments

I Have a detail where the copy ,edit and delete options must be hidden to all users except for the system administrator. Can someone help?

Thanks

Like 0

Like

1 comments

Hello Yasaswini,

 

This can be achieved only by means of development. You can find some examples here on our Community posted by other participants: 

https://community.creatio.com/questions/hide-detail-grid-menu-options

https://community.creatio.com/questions/hide-bunisess-process-option-de…

 

Best regards,

Bogdan S.

Show all comments

Hello, how can i hide these two inputs in the minipage?

Like 0

Like

2 comments

Hello,

 

The method you've used is correct and in case the column is not removed from the minipage using this code after the page was refreshed it means that either these columns have a different name or the incorrect parent module was selected when replacing the module.

 

Best regards,

Oscar

Hi,

 

there is a syntax error: there should not be a comma at the end of the row with the "name" property (lines 9 and 13)

 

BR,

Robert

Show all comments
Question

Hello Community,

Is it possible to hide a button that I created myself through business rules (

Show element on the page)? I want the button to appear when some fields of my page are filled in. How is this done ?

Like 0

Like

3 comments

Hello Petrika,

 

Thank you for your question!

 

Unfortunately, it's not possible to hide a button with the help of a business rule. You can only hide a field.

 

Kind regards,

Anastasiia

Hello Anastasia!

I thought that Attribute, could help me in this scenario

 

Hello Petrika,

 

There was a similar question on the Community in the past. Please see this thread. In your case the ButtonVisible attribute should change the state from true to false and visa versa in case this.get("Needed column")=="" or typeof(this.get("Needed column")) == 'undefined'. So simply perform a couple of tests and you will get the result needed.

 

Best regards,

Oscar

Show all comments

Hello, we are not utilizing the Chat feature at this moment in time. Is there a way to remove this from our UI so that we don't cause confusion with our users?

Like 0

Like

2 comments
Best reply

Hello George,

I have an article on how to remove the icons from the Actions Dashboard here https://customerfx.com/article/removing-the-facebook-whatsapp-or-telegr…

Ryan

Hello George,

I have an article on how to remove the icons from the Actions Dashboard here https://customerfx.com/article/removing-the-facebook-whatsapp-or-telegr…

Ryan

This worked perfectly! Thanks so much for your assistance.

Show all comments