manage-menus

Create and maintain OFBiz navigation menus using Menu Widget XML.

175|216|Updated Mar 5, 2017
One-click install
npx skills add https://github.com/apache/ofbiz-plugins --skill manage-menus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manage-menus
Source: https://github.com/apache/ofbiz-plugins/tree/main/ai-agent-skills/manage-menus
Command: npx skills add https://github.com/apache/ofbiz-plugins --skill manage-menus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of creating and managing application navigation menus, ensuring a consistent and user-friendly interface.

Core Features & Use Cases

  • Menu Definition: Create hierarchical navigation structures using OFBiz Menu Widget XML.
  • Dynamic Menus: Implement conditional visibility for menu items based on user permissions or application state.
  • Use Case: When developing a new feature, use this Skill to add relevant links to the main application header and create contextual sub-menus for entity-specific actions.

Quick Start

Define a new menu named 'AdminMenu' with an 'EditUsers' item linking to the '/user/edit' screen.

Frequently Asked Questions about manage-menus

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create navigation menus in OFBiz using XML?

You create navigation menus in OFBiz by defining hierarchical structures using Menu Widget XML. This involves adhering to the OFBiz XML schema to configure main headers and contextual sub-menus for your application's user interface.

Can I set conditional visibility for OFBiz menu items based on user permissions?

Yes, you can implement conditional visibility for menu items based on user permissions. The OFBiz Menu Widget XML supports dynamic menus, allowing you to control item display according to the current application state or specific user roles.

What is the best way to add contextual sub-menus for entity-specific actions in OFBiz?

The best way to add contextual sub-menus is by utilizing the OFBiz Menu Widget XML schema. You define the hierarchical menu structure within the XML file, specifying the targeted entity-specific actions to generate a consistent navigation interface.

Does the OFBiz Menu Widget support creating hierarchical navigation structures?

Yes, the OFBiz Menu Widget supports creating hierarchical navigation structures. You use the XML schema to define parent menus, main application headers, and nested sub-menus to ensure a consistent and user-friendly interface.

How do I link a new menu item to a specific screen in OFBiz?

To link a new menu item to a specific screen, you define the item within your Menu Widget XML file. You specify the target screen path, such as '/user/edit', inside the menu item definition to route users directly to that application feature.