Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to hide the built-in application of the system with Java

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Today, I would like to share with you how Java hides the relevant knowledge points of the built-in application of the system. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

PC_ web side

After clicking the main menu of the platform, the component list interface appears

It contains two parts:

1) platform components built into the system

2) Portal applications designed by users themselves

As shown in the following figure:

Click the left and right arrow to switch to "Application", which includes the process application management module, the content information column and the data view statistics application. The interface is shown in the following figure:

Customize the visibility settings of the application

The visible and hidden permissions of the configuration portal application, process application management interface, content management application and data center application are basically the same. Open the application in the corresponding platform design with the administrator account, and set the visible scope in "Properties", as shown below:

Visible and hidden of system application

If you want to control the visibility and hiding of system applications, we can do the following:

Open "Control Panel"-"system Settings" with the administrator account, and enter "Interface Settings"-"Module deployment", as shown below:

The modules here include: system built-in components and system applications, for system applications, we just need to click the "Edit" button to set "visible" or "accessible list" or "deny access list". Or we can just "uninstall" it.

Visibility and hiding of built-in components

For the built-in module of the system, we cannot set permissions and visibility in the module deployment interface. At this point, we can modify the configuration file.

System menu built-in component list visibility configuration

File path: / o2server/servers/webServer/o2_core/o2/xDesktop/$Layout/applications.json

The Json file is as follows:

[{"name": "ControlPanel", "path": "ControlPanel", "title": "Control Panel", "iconPath": "appicon.png", "allowList": [], "denyList": []}, {"name": "DesignCenter", "path": "DesignCenter", "title": "DesignCenter", "iconPath": "appicon.png"} {"name": "TaskCenter", "path": "process.TaskCenter", "title": "Office Center", "iconPath": "appicon.png", "widgetName": "TaskWidget", "widgetTitle": "to-do list", "widgetIconPath": "widgeticon.png"}, {"name": "cms", "path": "cms.Index" "title": "Information platform", "iconPath": "appicon.png"}]

AllowList represents the list of users who are allowed to access, and denyList represents the list of users who are denied access, and the name, role, or group of people can be configured.

System menu-Control Panel apply visibility configuration

File path: / o2server/servers/webServer/x_component_ControlPanel/$Main/applications.json

The Json file is as follows:

[{"name": "Setting", "path": "Setting", "title": "system setup", "iconPath": "appicon.png", "allowList": ["xadmin", "Manager"]}, {"name": "AppMarket", "path": "AppMarket", "title": "Application Market", "iconPath": "appicon.png" "allowList": ["xadmin", "Manager"]}, {"name": "ANN", "path": "ANN", "title": "Neural Network Model", "iconPath": "appicon.png", "allowList": ["xadmin", "Manager"]}, {"name": "Org", "path": "Org", "title": "Organization Management" "iconPath": "appicon.png"}, {"name": "Profile", "path": "Profile", "title": "personal Settings", "iconPath": "appicon.png"}, {"name": "BAM", "path": "BAM", "title": "process Monitoring", "iconPath": "appicon.png"} {"name": "LogViewer", "title": "error log", "path": "LogViewer", "iconPath": "appicon.png", "allowList": ["xadmin", "Manager"]}] "system menu"-"DesignCenter" application visibility configuration

File path: / o2server/servers/webServer/x_component_DesignCenter/$Main/applications.json

The Json file is as follows:

[{"name": "ApplicationExplorer", "path": "process.ApplicationExplorer", "title": "process Management platform", "iconPath": "appicon.png"}, {"name": "PortalExplorer", "path": "portal.PortalExplorer", "title": "Portal Management platform", "iconPath": "appicon.png"}, {"name": "cmsManager" "path": "cms.Column", "title": "content Management platform", "iconPath": "appicon.png"}, {"name": "DataExplorer", "path": "query.QueryExplorer", "title": "data Center platform", "iconPath": "appicon.png"}, {"name": "service.ServiceManager", "path": "service.ServiceManager" "title": "Service Management", "iconPath": "appicon.png"}, {"name": "AppCenter", "path": "AppCenter", "title": "Application Export", "iconPath": "appicon.png", "allowList": ["xadmin", "Manager"]}] system Settings Module visibility configuration for Module deployment

File path: / o2server/servers/webServer/o2_core/o2/xDesktop/$Layout/components.json

If a built-in component does not appear in Module deployment in system Settings, you can modify the json file:

[{"name": "ControlPanel", "path": "ControlPanel", "title": "Control Panel", "visible": true, "iconPath": "appicon.png"}, {"name": "DesignCenter", "path": "DesignCenter", "title": "DesignCenter", "visible": true, "iconPath": "appicon.png"} {"name": "TaskCenter", "path": "process.TaskCenter", "title": "Office Center", "iconPath": "appicon.png", "visible": true}, {"name": "cms", "path": "cms.Index", "title": "Information platform", "visible": true, "iconPath": "appicon.png"} {"name": "Setting", "path": "Setting", "title": "system Settings", "iconPath": "appicon.png", "visible": true, "allowList": ["xadmin", "Manager"]}, {"name": "AppMarket", "path": "AppMarket", "title": "Application Market", "iconPath": "appicon.png" "visible": true, "allowList": ["xadmin", "Manager"]}, {"name": "Org", "path": "Org", "title": "Organization Management", "visible": true, "iconPath": "appicon.png"}, {"name": "Profile", "path": "Profile", "title": "personal Settings" "visible": true, "iconPath": "appicon.png"}, {"name": "BAM", "path": "BAM", "title": "process Monitoring", "visible": true, "iconPath": "appicon.png"}, {"name": "ApplicationExplorer", "path": "process.ApplicationExplorer", "title": "process Management platform" "visible": true, "iconPath": "appicon.png"}, {"name": "PortalExplorer", "path": "portal.PortalExplorer", "title": "Portal Management platform", "visible": true, "iconPath": "appicon.png"}, {"name": "cmsManager", "path": "cms.Column", "title": "content Management platform" "visible": true, "iconPath": "appicon.png"}, {"name": "DataExplorer", "path": "query.QueryExplorer", "title": "data Center platform", "visible": true, "iconPath": "appicon.png"}, {"name": "AppCenter", "path": "AppCenter", "title": "Tencent App Center" "visible": true, "iconPath": "appicon.png"]

You can also set allowList and denyList here, or delete them directly.

The mobile terminal enters the system setup

System setting entry mode: log in to the O2OA system as xadmin, and click on the upper left system Application menu-> Control Panel-> system Settings.

Mobile office module configuration

Configuration items: system Settings-Mobile Office configuration-Module configuration:

The configuration is used to set the module content that needs to be opened in the mobile APP and to specify the mobile office home page.

Note: restart the server after configuration modification takes effect.

These are all the contents of the article "how to hide the built-in application of the Java system". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report