Help

Table Of Contents
Hosting websites Hosting XSLT websites
F
ILEMAKER SERVER 9 HELP 47
Hosting XSLT websites
FileMaker Custom Web Publishing with XSLT provides the ability to transform, filter, or format XML
data for use in a web browser or in other applications. You can use an XSLT stylesheet to transform
the data between a FileMaker XML grammar and another XML grammar for use in another
application or database.
For more information on developing an XSLT website and preparing a database, see F
ILEMAKER
S
ERVER CUSTOM WEB PUBLISHING WITH XML AND XSLT on the Start Page.
To host a website that uses Custom Web Publishing with XSLT:
1. In FileMaker Pro, open the database and edit the privilege set for the account that will
access the database. Enable the extended privilege
Access via XSLT Web Publishing -
FMS only.
Note If your FileMaker database solution uses more than one FileMaker database file, all of the
database files must use this privilege set with the extended privilege Access via XSLT Web
Publishing - FMS only enabled.
2. In FileMaker Server Admin Console, enable and configure XSLT Web Publishing on the
Web Publishing > XSLT tab.
3. Verify that Custom Web Publishing with XSLT is working in your FileMaker Server
deployment
. See Testing FileMaker Server (page 24) for instructions.
4. Upload
the database file to FileMaker Server with the Upload Database assistant. See
Hosting databases
(page 31).
Note If your FileMaker database solution uses more than one FileMaker database file, all of the
database files must be on the same computer.
5. Copy the XSLT stylesheets to the following directory on the machine that is running the Web
Publishing Engine:
Windows: [drive]:\Program Files\FileMaker\FileMaker Server\Web Publishing\xslt-
template-files
Mac OS: /Library/FileMaker Server/Web Publishing/xslt-template-files
Note You can also place the stylesheets in an optional folder or folder hierarchy in the xslt-
template-files folder.
6. Copy any referenced container objects to the web server
machine.
If a database container field
stores a file reference instead of an actual file, then the referenced
container object will be stored in the FileMaker Pro Web folder when the record is created or
edited. To stage your site, you must copy or move the referenced containers to a folder with the
same relative location in the root folder of the web server software.
Note If the database file is properly hosted and accessible on FileMaker Server, and the
container fields store the actual files in the FileMaker database, then you don’t need to relocate
the container field contents.
7. Use the following URL syntax to request and process an XSLT stylesheet, and generate the
resulting HTML:
<scheme>://<host>[:<port>]/fmi/xsl/<path>/<stylesheet>.xsl[?<query
string>]
where:
<scheme> is the HTTP or HTTPS protocol.