Extend PMD Failed to Resolve a Definition
The error PMD error: failed to resolve 'workerCard' in presentation model definition appWorkerView
What it means
The page's presentation model references something that doesn't exist at render time - a widget ID, an included PMD or POD, or an endpoint name that was renamed or removed. The app deploys fine but the page fails when it tries to resolve that reference.
Troubleshooting
- Search the app source for the unresolved name and check whether it was renamed, deleted, or never defined.
- If it's a POD or include, verify the include path and that the included file is part of the deployed build.
- If it's an endpoint, check the AMD for the endpoint's exact name - PMD references are case-sensitive.
- 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 and endpoints. Do rename refactors with a project-wide search. Add a pre-deploy step that loads every page in the app once in a non-production environment.
Was this helpful?