How to hide/remove the below mentioned icons in the freedom UI

 

Like 1

Like

4 comments

Hello!

To remove the "+" and process buttons please, follow the instructions:
1) Add and enable the feature "AllowCreateAngularSchema"
2) Relogging to the app
3) In the configuration, replace the MainShell schema with the additional menu item "Angular replacing view model":

 image.png

Parent object - "Main shell layout with vertical navigation":
image.png

4) Fill the new MainShell with the following code and save the module:

 define("MainShell", /**SCHEMA_DEPS*/["@creatio-devkit/common", "css!CardSchemaViewModule", "css!MainShellCSS"]/**SCHEMA_DEPS*/, function/**SCHEMA_ARGS*/(devkit)/**SCHEMA_ARGS*/ {
    return {
        viewConfigDiff: /**SCHEMA_VIEW_CONFIG_DIFF*/[
            {
                "operation": "merge",
                "name": "ShellHeaderToolbar",
                "values": {
                    "runProcessButtonVisible": false,
                    "quickAddMenuButtonVisible": false,
                    "helpMenuButtonVisible": true
                }
            }
        ]/**SCHEMA_VIEW_CONFIG_DIFF*/,
        viewModelConfig: /**SCHEMA_VIEW_MODEL_CONFIG*/{}/**SCHEMA_VIEW_MODEL_CONFIG*/,
        modelConfig: /**SCHEMA_MODEL_CONFIG*/{}/**SCHEMA_MODEL_CONFIG*/,
        handlers: /**SCHEMA_HANDLERS*/[]/**SCHEMA_HANDLERS*/,
        converters: /**SCHEMA_CONVERTERS*/{}/**SCHEMA_CONVERTERS*/,
        validators: /**SCHEMA_VALIDATORS*/{}/**SCHEMA_VALIDATORS*/
    };
});

5) Relogging to the app and check the result:

image.png

 

As for the Global Search - see this post https://community.creatio.com/questions/global-search-field

In your case if you need to hide it for all users - specify the "All employees" and "All external users" in the GlobalSearchInputVisible operation permission.

You can use this marketplace addon to hide UI elements without any additional code: https://marketplace.creatio.com/app/experceo-ui-wizard-creatio
 

Mohamed Ouederni,

 

It's an option, but we faced several tickets when 2 first DCM stages are not displayed in the UI on all Freedom UI pages when this addon is installed. So better hiding the elements using examples we shared above.

Show all comments