Guides SAPUI5 MDC (sap.ui.mdc) delegate-based controls for OData V4, covering FilterBar, Chart, Field, ValueHelp, Link, and Table patterns, delegate setup, fetchProperties, PropertyInfo, p13nMode, and common troubleshooting.
Ships in ui5. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Apply these guidelines whenever generating, reviewing, or troubleshooting MDC control code in freestyle applications using OData V4 services.
UI5 version baseline: SAPUI5 1.136+ LTS. All features mentioned are available from this version unless noted.
| Trigger | Load |
|---|---|
Working on or planning a sap.ui.mdc.FilterBar | references/mdc-filter-bar.md |
Working on or planning a sap.ui.mdc.Chart | references/mdc-chart.md |
Working on or planning a sap.ui.mdc.Field | references/mdc-field.md |
Working on or planning a sap.ui.mdc.FilterField | references/mdc-filter-field.md |
Working on or planning a sap.ui.mdc.ValueHelp | references/mdc-value-help.md |
Working on or planning a sap.ui.mdc.Link | references/mdc-link.md |
Working on or planning a sap.ui.mdc.MultiValueField | references/mdc-multi-value-field.md |
| Using MDC controls with JSON model (non-OData) | references/mdc-json-delegates.md |
Load before producing any output. Do not work from memory.
All MDC controls use a delegate to decouple the control from data-source-specific logic. App developers must:
delegate="{name: 'my/app/delegate/MyDelegate', payload: {entitySet: 'Products'}}"fetchProperties)Base delegates for OData V4:
| Control | Base Delegate |
|---|---|
| Table | sap/ui/mdc/odata/v4/TableDelegate |
| FilterBar | sap/ui/mdc/odata/v4/FilterBarDelegate |
| Chart | sap/ui/mdc/odata/v4/vizChart/Delegate |
| ValueHelp | sap/ui/mdc/ValueHelpDelegate |
| Link | sap/ui/mdc/LinkDelegate |
| MultiValueField | sap/ui/mdc/field/MultiValueFieldDelegate |
JSON model usage: MDC controls also work with JSON models. Extend the base delegates directly (sap/ui/mdc/TableDelegate, sap/ui/mdc/FilterBarDelegate) — not the OData V4 variants. See references/mdc-json-delegates.md for details.
PropertyInfo — the core metadata format returned by fetchProperties:
{
key: "propertyName", // Unique identifier (required)
label: "Display Label", // User-visible label (required)
dataType: "sap.ui.model.odata.v4.type.String" // Data type (required)
}
delegate property pointing to a valid module path.fetchProperties in the delegate returning PropertyInfo[] with at minimum: key, label, dataType.p13nMode to enable personalization (Column, Sort, Filter, Group for Table; Item, Sort, Filter, Type for Chart; Item for FilterBar).sap.ui.mdc.condition.Condition.createCondition() to construct conditions programmatically.sap.ui.model.odata.v4.type.* types in PropertyInfo dataType field for OData V4 models. Use sap.ui.model.type.* with JSON models. Register types in the TypeMap.ariaLabelledBy on FilterBar and Chart for accessibility.get_api_reference MCP tool to verify control APIs. Use run_ui5_linter to validate code.sap.ui.comp) instead. MDC works with OData V4 and JSON models.sap.chart.Chart or sap.m.Table). Use the delegate or MDC control's public API.key from PropertyInfo objects (formerly name, now deprecated).Condition.createCondition(operator, values).sap.ui.mdc.FilterBar). Use sap.ui.define or ES6 imports.| Control | Use when | Do not use when |
|---|---|---|
MDC FilterBar | OData V4 or JSON model, delegate-driven filter UI, MDC Table/Chart | OData V2 (use SmartFilterBar), simple search bar |
MDC Chart | OData V4, delegate-driven chart visualization, drill-down | OData V2 (use SmartChart), simple static charts, no analytical data |
MDC Field | OData V4 or JSON, single field with auto-rendering by data type | OData V2 (use SmartField), purely custom rendering needed |
MDC FilterField | Inside MDC FilterBar for individual filter conditions | Standalone filtering outside FilterBar context |
MDC ValueHelp | OData V4 or JSON, type-ahead + dialog value selection | OData V2 (use ValueHelpDialog), simple dropdowns without search |
MDC Link | OData V4, semantic object navigation, delegate-driven link targets | OData V2 (use SmartLink), simple static links |
MDC MultiValueField | OData V4 or JSON, multi-value token entry via items aggregation | OData V2 (use SmartMultiInput), simple single-value fields |
| Symptom | Cause | Fix |
|---|---|---|
| "Delegate module could not be loaded" | Wrong path in delegate property | Verify module path matches actual file location in project. |
| Chart shows no data | fetchProperties returns wrong PropertyInfo (missing groupable/aggregatable) | Ensure dimensions have groupable: true, measures have aggregatable: true. |
| FilterBar fields not appearing | PropertyInfo missing or hiddenFilter: true | Check delegate fetchProperties returns properties with correct visibility. |
| Field shows wrong inner control | dataType in PropertyInfo doesn't match expected format | Verify dataType uses full qualified type name (e.g., sap.ui.model.odata.v4.type.String). |
| Personalization dialog empty | p13nMode not set or PropertyInfo incomplete | Add p13nMode="Column,Sort,Filter" and ensure PropertyInfo has sortable/filterable flags. |
| ValueHelp not opening | ValueHelp not connected to Field or containers missing | Verify valueHelp association on Field and that Popover/Dialog containers are defined. |
| Conditions not applied to binding | updateBindingInfo not implemented in delegate | Implement updateBindingInfo to apply filter conditions to the OData binding. |
| Link always rendered as text | fetchLinkType returns LinkType.Text or fails | Implement fetchLinkType returning Popup or DirectLink type. |
fetchProperties).updateBindingInfo (conditions are never applied to the data binding).p13nMode configuration (personalization features are disabled by default).ariaLabelledBy on FilterBar referencing a visible title.ariaLabelledBy on Chart referencing a visible title.label.references/mdc-chart.md (opens in a new tab)references/mdc-field.md (opens in a new tab)references/mdc-filter-bar.md (opens in a new tab)references/mdc-filter-field.md (opens in a new tab)references/mdc-json-delegates.md (opens in a new tab)references/mdc-link.md (opens in a new tab)references/mdc-multi-value-field.md (opens in a new tab)references/mdc-value-help.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/ui5-best-practicesUI5 development best practices and coding standards derived exclusively from official SAP UI5 guidelines. Use when writing UI5 applications to ensure modern, maintainable code following SAP standards. Covers: async module loading (sap.ui.define, ES6 imports, core:require), ComponentSupport initialization, data binding with OData types, i18n management, CSP compliance (no inline scripts), TypeScript event types (UI5 >= 1.115.0), MCP tooling (get_api_reference, run_ui5_linter), CAP integration patterns, and form creation rules (never SimpleForm, always Form with ColumnLayout).
Keywords: ui5 coding standards, async loading, sap.ui.define, data binding, odata types, i18n translation, CSP no inline scripts, TypeScript event handlers, Button$PressEvent, ui5 linter, API reference, ComponentSupport, form layout, ColumnLayout, CAP integration, cds watch
/ui5-best-practices-accessibilityThis skill should be used when the user asks to audit, fix, check, review, or
improve accessibility, a11y, ARIA, WCAG compliance, landmarks, labeling, heading
levels, focus handling, keyboard navigation, keyboard shortcuts, screen reader
support, invisible messaging, reading order, or touch / target size in UI5
application files (views, fragments, controllers). Also use when the user
creates a new UI5 view, fragment, or controller and wants it to be accessible,
or asks whether a specific control (Dialog, Table, Panel, etc.) meets
accessibility requirements.
Keywords: accessibility, a11y, ARIA, WCAG, screen reader, NVDA, JAWS, VoiceOver,
landmark, landmarkInfo, accessibleRole, ariaLabelledBy, ariaDescribedBy,
labelFor, tooltip, alt text, decorative, heading level, initialFocus, F6,
fast nav, fastnavgroup, tabindex, CommandExecution, keyboard shortcut,
InvisibleMessage, announce, reading order, reactiveAreaMode, target size.
/ui5-ui5-plugins-ui5:ui5-best-practices-mdcfrom ui5
Generated from the plugin's indexed repository (ui5/plugins-coding-agents) — no native marketplace selected
npx claudepluginhub p/ui5-ui5-plugins-ui5Other plugins' skills for the same job