They’re Heeere ….
One of the new features in FileMaker Pro 16 (and one we’re super excited about!) is the Card Window, which is essentially a new window that lives within your current one. So why are we so excited? Cards have all the benefits of popovers plus all the benefits of a new window. In other words, you get to maintain the context you are in by not leaving your current layout, and still work within a different context since a Card can be based on any layout (and table) within your solution. Finally!
How do they work?
Although Cards use the same script steps as regular floating windows, there are some differences in the available options and overall behavior. So let’s dig in…
Script Steps (look familiar?)
- New Window
- Go to Related Record (with the option “Show in new window”)
- Close Window
- Move/Resize Window
- Layout (choose from any layout in your solution, fixed or calculated)- NEW, but not limited to card windows
- Size (fixed or calculated)
- Position (fixed or calculated)
- Dim parent window (on/off) – NEW
- Close (on/off option to display ‘close’ button) – NEW
Interacting with Cards
The default behavior when a Card first opens is to center itself within your current layout and dim the background. Unlike a floating window, this means you can no longer interact with the underlying layout. You also have the option to leave the background layout visible (not dimmed), however it will still be frozen until the Card is closed.
Here’s the best part: you don’t need to worry about having an existing relationship between the table in your current layout and the table in the Card’s layout, so a Card Window really can be based on any layout. Card Windows can even open layouts in another file!
In FileMaker Go with the ‘close’ option enabled, you can tap anywhere outside of the Card to close the window. If you choose to disable that option, you will need to create a custom button for that purpose using the Close Window script step.
In FileMaker Pro with the ‘close’ option enabled you must click the ‘close’ button found in the top left corner of the Card, otherwise you’ll need to create a custom button.
Note: Keyboard shortcuts work either way in FileMaker Pro: Command+W (OS X) and Ctrl+W (Windows)
Start Using Cards. Right. Now.
Cards will be a welcomed replacement for many popovers, windows and custom dialog boxes.
Here are just a few examples:
- Use Cards instead of popovers for ‘pickers’. You can create a separate layout customized specifically for them, without the need to create additional relationships used solely for this functionality. This simplifies the relationship graph and generally has better performance.
- Create truly Custom Dialog Boxes. Unlike traditional dialog boxes, there is no limit to the amount of button options you can have on a layout, and they can be designed in any shape/size/color.
- Use Cards instead of portals to add/edit child records. You can create a customized layout and you won’t be restricted to tiny line item in a portal. You’ll thank yourself later.
- Use Cards in ways we haven’t even thought of yet!