You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`--primary-field`: Most important identifying field (e.g., Name)
57
+
-`--secondary-fields`: Record summary (recommended 4-6, max 12)
58
+
-`--detail-fields`: Full record details, including required fields (e.g., Name)
59
+
60
+
**AppPage:**
61
+
- No additional requirements
62
+
63
+
**HomePage:**
64
+
- No additional requirements
65
+
66
+
#### **Field Selection Rules**
52
67
-**Validate fields exist**: Use MCP tools or describe commands to discover available fields for the object before specifying them in the command
53
68
-**Prefer compound fields**: Use `Name` (not `FirstName`/`LastName`), `BillingAddress` (not `BillingStreet`/`BillingCity`/`BillingState`), `MailingAddress`, etc. when available
-**RecordPage**: Requires `--primary-field` and `--secondary-fields` for dynamic highlights, `--detail-fields` for full record details. Use the most important identifying field as primary, e.g. Name. Use the secondary fields (max 12, recommended 4-6) to show a summary of the record. Use detail fields to show the full details of the record.
58
-
-**AppPage**: No additional requirements
59
-
-**HomePage**: No additional requirements
69
+
-**Include required fields in detail-fields**: Always include object required fields (like `Name`) in the `--detail-fields` parameter, even if they're also used in `--primary-field` or `--secondary-fields`
60
70
61
71
#### **What you get**
62
72
- Valid FlexiPage XML with correct structure
@@ -238,7 +248,7 @@ Every fieldInstance requires:
238
248
239
249
### "We couldn't retrieve or load the information on the field"
240
250
**Cause:** Invalid field API name - field doesn't exist on the object or has incorrect spelling
241
-
**Fix:** Use MCP tools or describe commands to discover valid fields, then update the field reference (see Field Selection Guidelines)
251
+
**Fix:** Use MCP tools or describe commands to discover valid fields, then update the field reference (see Field Selection Rules)
242
252
243
253
### "Invalid field reference"
244
254
**Cause:** Used `ObjectName.Field` instead of `Record.Field`
0 commit comments