A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.
JavaScript claude-code-pluginclaude-code-skillscode-appsgithub-copilot-pluginpower-appspower-pagespower-platform
Star rating PCF recipe
star-rating is a compact standard field control that lets users choose a whole-number rating with stars. It is the smallest end-to-end PCF recipe: a manifest patch, localized strings, accessible DOM, styles, and unit tests.
Template
- Template:
field-standard - Control type: standard
- Intended field type:
Whole.None
Host support
| Host | Designed for | Certified |
|---|---|---|
| Model-driven apps | Yes | Not certified in this release |
| Power Pages | Yes | Not certified in this release |
recipe.json intentionally keeps certified empty for both hosts. Certification dates should be added only after live host evidence is recorded.
Configuration
The recipe patches these manifest properties:
| Property | Type | Usage | Required | Notes |
|---|---|---|---|---|
value |
Whole.None |
bound |
Yes | Stores the selected rating. A null raw value selects no star. |
max |
Whole.None |
input |
No | Defaults to 5; the control clamps maker input to 1..10. |
A maker can bind it in either designer path:
- Modern form designer: select the whole-number column, open the Components pane, add the control, then bind
valueto the column and optionally setmax. - Classic form designer: open the column's Controls tab, add the control, then configure the same
valueandmaxproperties.
Behavior
- Renders a localized ARIA
radiogroupwith onerole="radio"item per star. - Uses
aria-checkedand a rovingtabindexso keyboard focus stays on the active option. - Supports Arrow keys plus Home and End.
- Respects
context.mode.isControlDisabled,security.readable, andsecurity.editable. - Calls
notifyOutputChangedonly when the selected rating actually changes. - Returns the chosen whole number from
getOutputs()for the boundvalueproperty. - Keeps state per control instance; no module-global mutable state or hard-coded element ids.
Limits
- No half-star ratings; this recipe is intentionally
Whole.Noneonly. - No network, file, or navigation APIs are used.
- No runtime offline behavior is claimed beyond rendering the current bound value.
- Power Pages support is designed-for but not certified in this release.
Microsoft Learn references confirmed
- Standard control lifecycle:
init,updateView,getOutputs, anddestroy. - Bound outputs: Learn states
getOutputs()returns values for properties withusage="bound", including a property namedvalue. - Manifest properties and resources:
propertyandresources. - Localized strings:
context.resources.getStringreads strings from manifest.resxresources. - Disabled context:
mode. This recipe does not opt into resize tracking because it does not consume allocated width or height. - PCF support boundaries: Code components best practices.