Lasso Server communicates with FileMaker Server 7, 8, 9, 10, or 11 Advanced or FileMaker Server 11 through its built-in XML interface. Other products in the FileMaker product line such as FileMaker Pro are not supported.
FileMaker Server 1 for Windows or Mac OS X (or FileMaker Server 11 Advanced). Or, FileMaker Server Advanced 7 or 8 for Windows or Mac OS X. The Web Publishing Engine must be installed and each database must be configured according to the instructions in the following section.
The latest versions of FileMaker Server can be downloaded from FileMaker, Inc.’s Web site at http://www.FileMaker.com/.
This section describes setting up FileMaker Server 11 or FileMaker Server 11 Advanced for use with Lasso Server.
Follow the instructions included with FileMaker Server 11 carefully. Setting up FileMaker Server 11 is considerably easier than setting up earlier versions of Filemaker Server.
This section describes setting up FileMaker Server Advanced for use with Lasso Server.
Follow the instructions included with FileMaker Server Advanced carefully. There are several non-obvious steps in this process which require reading this document to set up properly. Configuring FileMaker Server Advanced from scratch is beyond the scope of this documentation, but some common pitfalls are listed below.
Log in to the Datasources page in Lasso Administration (http://localhost/lasso9/Admin/ds) to see a list of available datasources.
The Datasources page in Lasso Administration displays all data source connectors available in Lasso, and allows the administrator to add new hosts. A host is a computer that serves the databases with which Lasso Server communicates.
To see all available hosts for a connector, click the arrow on the left of the connector name to see the expanded list. If there are no hosts, only a link to Add Host will listed.
Selecting the Add Host button expands the window to allow entry of the host detail, allowing the Administrator to add a new FileMaker data source host to a selected data source connector.
Once the host is added, the new host appears beneath the expanded connector listing. To edit the host, expand the host listing and select the Edit Host button.
Setting up a data source host and properly configuring Lasso security is the best way to ensure that access to the data source is fully controlled. However, it can sometimes be beneficial to access a data source host without a lot of configuration. This section describes how to construct an inline which access a FileMaker Server data source host. See the Lasso Language Guide for full details about inline host specification.
For example, the following code shows how a connection to a FileMaker Server data source hosted on the same machine as Lasso might appear:
inline( -findAll,
-host=array(
-datasource='filemakerds',
-name='127.0.0.1',
-port='80',
-username='user',
-password='password'),
-database='database_name',
-table='table_name' ) => {^
found_count
^}
If there are no databases or tables listed, the following links are the same ones used in Lasso and may provide some insight. Fill in {filemaker host} and {db name} for your particular situation.
• http://{filemaker host}/fmi/xml/FMPXMLRESULT.xml?-dbnames
• http://{filemaker host}/fmi/xml/FMPXMLRESULT.xml?-db={db name}&-layoutnames
If either url returns an error code other than 0 or fails in any way, Lasso will be unable to submit requests to FileMaker. Consult your FileMaker documentation on how to proceed.
See also a document that includes more FileMaker server tips, FileMaker-Quick-Start.
Not AutoUpdate folder
This article says: The databases which are to be accessed by Lasso must be in the FileMaker Server Data/Databases/AutoUpdate folder and must be Open within FileMaker Server.
However, the pdf documentation for Lasso 8.6 (which should be the same as Lasso 9) correctly shows: The databases which are to be accessed by Lasso must be in the FileMaker Server Data/Databases folder and must be Open within FileMaker Server.
The AutoUpdate directory is reserved for plugins, third-party extensions
to distributed Filemaker Pro clients.
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft