Skip to content

Change existing layout objects

Genie changes an object that is already on your layout, in place. It is the same object afterward, with the same name, place in the stacking order, triggers and formatting, except for what you asked to change. Genie does not delete it and add a copy.

This works on macOS in FileMaker Pro 19, 20, 21, 22 and 26, in the Genie tab in Layout mode, in the Genie window, and for external agents connected through Local MCP. Editing layouts requires a paid plan. On the Free plan, Genie can still inspect and explain your layouts.

Select the objects, or name them in your request, and describe the result you want. Genie reads the layout first, then shows the change for your confirmation. With Auto apply on, it applies the change directly. After saving, Genie reads the layout again and tells you if anything does not match what you asked.

  • Dates. “Change all dates on the Certificate layout to the long date style.” Genie changes the date format of the date fields and of the text objects that hold a date merge field. Nothing else on those objects changes.
  • Hide a button. “Hide the Send button when Email is empty.” Genie sets the button’s hide condition to a calculation such as IsEmpty ( Contact::Email ).
  • Portal rows. “Set the Line items portal to show 5 rows.” Add “and a vertical scroll bar” or “and allow deleting portal records” in the same request.
  • Appearance. “Center the titles, make them uppercase, give the cards 8 points of padding and a light shadow.”
  • Script trigger. “Run the script Check bill date when I leave the Bill date field.”
  • Web viewer. “Let the Map web viewer run FileMaker scripts from JavaScript and hide its progress bar.”
  • Field entry. “Select everything in the Search field when I click into it, and leave the field with Return.”
  • Table View. “Show row numbers and alternating row colors in the Contacts Table View.”

Formats and appearance

  • Date, number and time formats of field objects, and of text objects that hold merge fields. A text object has one format of each kind for all the merge fields in it. Container fields are not included.
  • Text alignment, text case, padding, line height, and spacing before and after paragraphs.
  • Fill and border colors, border width, corner radius, and see-through (translucent) fills and borders.
  • One drop shadow, gradient fills, line style (dashed, dotted, double and more), underline and strikethrough.
  • Many more style properties (position and size, margins, outlines, overflow, visibility, opacity, font size, weight and style), the look of each state (hover, pressed, focus, checked, disabled, placeholder and more), and the parts of controls (tabs, portal rows and alternate rows, scroll bars, progress bars, slide dots, button bar dividers).
  • Custom date elements such as quarters, half years and Japanese era names; thousands and system separators and the currency symbol position in numbers; 24-hour and 12-hour markers in times.

Button labels and Button Bars

  • The label of a Button Bar segment, or of a button whose label is already a calculation, and the text color, size and weight of a segment. To change a plain text button label, ask Genie to replace the button.
  • New Button Bars get their segment labels and styles, and a whole Button Bar can be deleted and replaced in one change.

Name, position and content

  • Object name, rotation (90, 180 or 270 degrees), stacking order (front, back, forward, backward), and the text of a text object.
  • Layout calculations inside a text object: Genie changes the formula and keeps the rest of the text.
  • Anchors (autoresizing).

Behavior

  • Hide condition, tooltip, accessibility title and screen-reader help, field placeholder text, tab labels and popover titles. Genie writes these as calculations; screen-reader help is stored separately from the title and tooltip.
  • Script triggers on objects and on the layout itself (for example OnObjectValidate, OnLayoutEnter), set or removed by script name.
  • Layout width.
  • Tab order for field objects and buttons.

Fields and portals

  • Point a field object at another field, keeping everything else on it.
  • Change the control style of a field that already shows a value list (drop-down list, pop-up menu, checkbox set, radio button set).
  • Portal setup: number of rows, vertical scroll bar, allow deletion, filter and sort.

More fields

  • Assign a value list, and its options: allow entry of other values, allow editing of the value list, auto-complete, and whether the value list overrides the field’s data formatting.
  • How someone enters a field: Browse and Find entry, select contents on entry, which keys leave the field (Tab, Return, Enter), visual spell checking, input method and an entry calculation.
  • Repetition orientation and the vertical scroll bar.

Other objects

  • Web viewers: the address, as text or a calculation, allow interaction, show content in Find mode, progress bar, status messages, encode the address, and allow JavaScript to perform FileMaker scripts.
  • Tab controls: default tab, tab width and whether tabs share one style. Slide controls: navigation dots and swipe gestures. Button bars: active segment and orientation. Popovers: arrow and title bar.
  • Buttons: icon size and position, and the hand cursor.
  • Container fields: how the picture is scaled, kept in proportion and aligned.
  • Lock objects, hide them when printing, set sliding (left, up, and shrinking the enclosing part), group and ungroup, delete objects or replace them with new ones, and add charts.

Layout settings

  • Layout Setup: Quick Find, save record changes automatically, show field frames, delineate the current record only, current record indicator, field alerts, text ruler, vertical part labels, the menu set, the views offered (Form, List, Table) and the default view, and whether the layout appears in the Layouts menu.
  • Table View: horizontal and vertical grid lines and their color, which parts appear, column headers, resizable and reorderable columns, sorting by clicking a column, custom column order, system appearance, comfortable formatting, row numbers and alternating row colors.
  • Printing: columns and their order, fixed page margins and facing pages.
  • Parts: page break before, restart page numbers, allow a part to break across pages, and discard the remainder of a part.
  • Layout script triggers: OnLayoutSizeChange, OnRecordRevert, OnModeExit, OnViewChange, OnGestureTap and OnExternalCommandReceived, besides OnLayoutEnter, OnLayoutKeystroke, OnRecordLoad, OnRecordCommit, OnModeEnter and OnLayoutExit, and the modes (Browse, Find, Preview) each trigger runs in.
  • Layouts list: delete a layout and rename a layout folder.
  • Layout calculations: FileMaker Pro 21 or later.
  • Popover titles: FileMaker Pro 22 or later.
  • Portal filter and sort: FileMaker Pro 26. Row count, scroll bar and allow deletion work in 19 to 26.
  • Browse and Find entry and the entry calculation: FileMaker Pro 26.
  • Table View system appearance, comfortable formatting, row numbers and alternating row colors: FileMaker Pro 22 or later.
  • Everything else above works in FileMaker Pro 19, 20, 21, 22 and 26. If your version does not offer a setting, Genie says so and changes nothing.

Button actions, the label of a button that has a plain text label (see below), portal alternate rows and initial row, conditional formatting, replacing an image with an external file, and the background of the layout or of a part. Make these changes in Layout mode, or ask Genie to replace the object with a new one.

Genie can make your layouts match a brand or a web app by changing a custom theme:

  • Copy a theme. FileMaker’s own themes cannot be changed, so Genie first copies one under a new name.
  • Change its styles. For example the colour, border and text of fields, buttons or text in every state (normal, hover, pressed). Every layout that uses the theme follows; objects with their own local formatting keep it.
  • Add named styles. For example a “Primary” button style that then appears in the Inspector’s Styles list and can be put on objects.
  • Switch layouts to the theme.

Genie checks what FileMaker kept before it saves. If FileMaker does not accept a style exactly as written, nothing is saved and Genie says which style it could not set. Removing styles from a theme cannot be undone and asks you first, unless Auto apply is set to delete automatically.

A Workbench Preview changing three style rules of a custom theme, for a Primary button, its hover state and edit boxes
The review of a theme style change.
  • If the layout is open in Layout mode, Genie adds, deletes and replaces objects and makes object edits in that open layout, as one Undo step. They show at once and stay unsaved until you save the layout; Edit > Undo removes them. A few object changes, such as object script triggers and portal setup, still need Browse mode, and Genie says so. Changing parts or layout settings, and renaming or deleting the layout, need a saved layout: FileMaker reports it in use and Genie changes nothing. Save or revert the layout, then ask again.
  • Keep a rotated object inside its layout part. If it crosses into another part, FileMaker moves it and Genie reports the change as unverified.
  • Write field references in calculations with their table occurrence, for example Contact::Email. Genie checks each calculation before it writes, and FileMaker has the last word. If FileMaker refuses a formula, nothing changes.
  • Selection only (Privacy Mode) blocks layout reads, so Genie cannot read the layout it would edit while it applies.