filemaker-field-xmllisted
Install: claude install-skill andykear/FileMaker-XML-field-definitions
# FileMaker Schema Definition XML Skill
A deterministic, empirically verified foundation for generating and analysing FileMaker's three schema-definition XML catalogs, all carried in the `fmxmlsnippet type="FMObjectList"` clipboard format:
- **Field definitions** — `<Field>` elements, pasted on the **Fields tab** of Manage Database.
- **Table definitions** — `<BaseTable>` elements wrapping complete tables, pasted on the **Tables tab**.
- **Value list definitions** — `<ValueList>` elements, pasted into **Manage Value Lists**.
Created by Andrew Kear of Clockwork Creative Technology and shared openly with the FileMaker/Claris community. Licence: CC BY 4.0.
## Critical rules (enforced before generating)
1. **Unique field IDs, scoped per table.** Assign unique sequential `id` values (from 1) within each table. Duplicate IDs within a table cause silent drops when calculation auto-enter fields reference each other. In multi-table snippets, sibling `<BaseTable>` elements each restart at `id="1"` — that is FileMaker's own format, not an error.
2. **Field→value-list references.** The `<ValueList>` child element inside a field's validation is only preserved when the referenced value list ID exists in the target file at paste time. When the target file is unknown, omit it and tell the user to assign the value list manually after pasting. (This is the field-side *reference*; the value list *definition* format is a separate catalog — see the value list spec.)
3. **Furigana dependency.