errors / extend / extend-pmd-failed-to-resolve

Extend PMD Failed to Resolve a Definition

✓ Verified Workday Extend
The error PMD error: failed to resolve 'workerCard' in presentation model definition appWorkerView

What it means

The page's presentation model (PMD) references something that doesn't exist or isn't visible at render time — a widget id, an included PMD/POD, or an endpoint name that was renamed or removed. The app deploys fine but the page fails when that definition is resolved.

Troubleshooting

  1. Search the app source for the unresolved name — confirm whether it was renamed, deleted, or never defined.
  2. If it's a POD/include, verify the include path and that the included file is part of the deployed build.
  3. If it's an endpoint, check the AMD (app model definition) for the endpoint's exact name — PMD references are case-sensitive.
  4. Re-deploy after fixing and hard-refresh; stale cached pages can keep showing the old failure.
⚡ Quick fix

Fix the reference (or restore the renamed definition), redeploy the app, and reload the page.

✓ Permanent fix

Adopt a naming convention for widgets/endpoints, do rename refactors with a project-wide search, and add a pre-deploy checklist step that loads every page in the app once in a non-production environment.