Enterprise Workbench Custom Development
What is Enterprise Workbench
To more efficiently support enterprise information management, such as account login, permission control, application aggregation, and process approval, the WeDa platform pre-configures a unified standardized enterprise workbench for users, similar to the concept of a Portal platform, including unified functions such as user login, process center, and message notification. while serving as a foundation that hosts model-driven applications built with WeDa.
Note: Currently, only model-driven applications can be accessed via the Enterprise Workbench. Model-driven applications can automatically generate standardized pages based on data models and can also add custom pages.
For specific features of the Enterprise Workbench, see:
- Tencent Cloud WeDa Low-Code Enterprise Workbench
- Tencent Cloud WeDa Low-Code Model Application Overview
Enterprise Workbench Customization
The Enterprise Workbench pre-configured by WeDa provides system configuration options to customize features such as the LOGO, system title, and navigation bar color, meeting partial customization requirements.
Customize Menu Highlight Behavior
By default, the navigation menu of the Enterprise Workbench automatically matches the accessed page path, highlighting the corresponding menu item when its associated page is accessed. However, in many scenarios such as standalone pages for adding, editing, or viewing details, these pages have no path correlation with the menu-configured pages. Since these standalone pages can be accessed from various entry points, implementing menu highlighting for secondary standalone pages requires specific handling during application development.
WeDa provides a mechanism for customizing menu highlighting: add the query
parameter _activemenu
to the page url, with its value set to the page id corresponding to the menu to be highlighted. Since application navigation may use hash/pushstate methods, it is recommended to set query parameters through relevant WeDa methods (such as parameter configuration in the event action panel when opening pages).