The Original FileMaker Community
Business Templates - Demo Apps - Video Tutorials -Samples - Help - 46000 Member Forum

The Leading Filemaker Developer Tools

New! FileMaker Adapter for Sails / Waterline – FileMaker Today

Get real time updates directly on you device, subscribe now.

New! FileMaker Adapter for Sails / Waterline provides easy access to FileMaker Databases hosted on a FileMaker Server. FileMaker’s Custom Web Publishing uses Layouts to access the underlying tables. So Sails models for filemaker connect to Layouts not Tables. Layouts are sort of like views in that they specify a table, and a set of fields. They can even specify a set of related records and fields. But they do not specify queries.

This adapter follows the Sails convention of using the file name to derive the layout name. So a User.js model file will connect to a User layout in FileMaker. If you want to use a different name for your layout, you can set the “tableName” property on the model.

For example

tableName : 'webContacts'

Would tell the model to connect to a layout named “webContacts”, regardless of it’s file name.

This is useful for FileMaker, since it is a common practice to use naming conventions to denote layouts that are only used for web access.

Check out Connections in the Sails docs, or see the config/connections.js file in a new Sails project for information on setting up adapters.

Visit the hub to download and learn more!

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More