bc-code-intelligence-mcp
Version:
BC Code Intelligence MCP Server - Complete Specialist Bundle with AI-driven expert consultation, seamless handoffs, and context-preserving workflows
79 lines (57 loc) • 4.08 kB
Markdown
title: "Business Central Action Shortcut Key Syntax and Implementation"
domain: "uma-ux"
difficulty: "intermediate"
bc_versions: "14+"
tags: ["shortcuts", "actions", "user-interface", "accessibility", "keyboard-navigation"]
prerequisites: ["bc-actions", "page-design"]
# Business Central Action Shortcut Key Syntax and Implementation
## Overview
Action shortcut keys in Business Central provide keyboard-driven access to page actions, improving user productivity and accessibility. Proper shortcut implementation follows specific syntax patterns and considers user workflow optimization.
**Key Benefit**: Well-designed keyboard shortcuts significantly reduce mouse dependency and enable power users to navigate Business Central applications more efficiently.
## Strategic Framework
### Shortcut Design Principles
- **Intuitive mapping**: Use logical key combinations that match action purpose
- **Standard conventions**: Follow Windows application shortcut patterns
- **Conflict avoidance**: Prevent conflicts with BC system shortcuts
- **Accessibility compliance**: Support screen readers and accessibility tools
### Implementation Strategy
- **Primary actions**: Assign shortcuts to most frequently used operations
- **Logical grouping**: Use consistent modifier keys for related action types
- **User discovery**: Make shortcuts visible in action tooltips and help
- **Context awareness**: Consider page-specific vs. global shortcut scope
## Architecture Patterns
### Action Shortcut Syntax
Define keyboard shortcuts using the ShortcutKey property on action objects. Use standard modifier key combinations (Ctrl, Alt, Shift) with alphanumeric keys for optimal compatibility.
### Modifier Key Conventions
Follow established patterns for modifier key usage: Ctrl for primary actions, Alt for navigation, Shift for selection modifications, and F-keys for special functions.
### Contextual Shortcuts
Implement page-specific shortcuts that enhance workflow efficiency without conflicting with global BC shortcuts or standard Windows conventions.
## Implementation Guidelines
### Standard Shortcut Patterns
- **Save operations**: Ctrl+S for document saving actions
- **Navigation shortcuts**: F2, F3, F4 for lookup, next/previous operations
- **Edit actions**: F2 for rename, Delete for remove operations
- **Custom shortcuts**: Alt+letter combinations for page-specific actions
### Accessibility Considerations
Ensure all interactive elements remain accessible via keyboard navigation. Provide visual indicators for shortcut availability and maintain focus management consistency.
### User Experience Optimization
Design shortcuts to support common user workflows and reduce repetitive mouse actions. Consider user skill levels and provide progressive shortcut complexity.
## Best Practices
### Shortcut Assignment Strategy
- **Frequency-based priority**: Assign best shortcuts to most-used actions
- **Mnemonic associations**: Use letters that relate to action names when possible
- **Consistency across pages**: Maintain similar shortcut patterns for similar actions
- **Documentation integration**: Include shortcuts in user documentation and training
### Testing and Validation
Thoroughly test shortcut functionality across different browsers and devices. Verify no conflicts exist with BC system shortcuts or accessibility tools.
### User Communication
Clearly display shortcut keys in action tooltips, help documentation, and user training materials to promote adoption and efficiency gains.
## Anti-Patterns
### Avoid These Approaches
- **Conflicting assignments**: Using shortcuts that interfere with BC or Windows standards
- **Obscure combinations**: Complex key combinations that are difficult to remember
- **Inconsistent patterns**: Different shortcut styles across related pages or actions
- **Missing accessibility**: Shortcuts that don't work with screen readers or keyboard navigation
- **Undocumented shortcuts**: Hidden shortcuts that users can't discover