myb-p-create-entitylisted
Install: claude install-skill AviMYB/mybusiness-plugins
# Create Entity / יצירת ישות חדשה
Build a complete custom entity in MyBusiness CRM -- from database tables through a fully functional list page with inline editing.
## CRITICAL READ FIRST — Known Platform Bugs
These bugs affect EVERY run of this skill. Design around them from the start:
### Constraint 1: `Create-Form-Page` produces NewMaster-based pages — works in iframe, NOT via direct URL
`Create-Form-Page` MCP always assigns `NewMaster` as the masterPage. The actual `NewMaster.js` source has the relevant logic gated on `if (!Simbla.User.current()) {...}` — i.e., it only matters for **anonymous** users (public landing forms). For authenticated CRM users:
- The `console.error("missing uuidVal")` line is just a log, not a fatal error.
- Standard form load via iframe + `data-edit-view="modal-left"` / `"modal-right"` works.
- Opening a NewMaster-based page via direct URL (`apps/mybusiness/Entity?oid=X`) shows empty fields — NewMaster doesn't fall back to URL params.
There is **NO MCP tool or Parse API** to change `masterPageId` of an existing page. Pages are in a Simbla-private collection, not in Parse classes.
**→ Decision tree:**
- User wants click-to-edit on a list row, opening a full card view? → **Build the form page (Phase 4) and link via `modal-left` + `useIframe: true`** (this is the default workflow now).
- User wants the **Name cell itself** (not just the pencil) to open the card? → Same mechanism, wired by the template: the Name is wrapped in `a.entity-link`