Custom Web Publishing Guide

Table Of Contents
50 FileMaker Server Advanced Custom Web Publishing Guide
3. If a database container field stores a file reference instead of an actual file, then the referenced container
object must be stored in the
FileMaker Pro Web folder when the record is created or edited, and then copied
or moved to a folder with the same relative location in the root folder of the web server software. See
“About publishing the contents of container fields on the web” on page 21.
Note If the container fields store the actual files in the FileMaker database, then you don’t need to do
anything with the container field contents if the database file is properly hosted and accessible on
FileMaker Server.
4. To request and process an XSLT stylesheet, use the following URL syntax:
<scheme>://<host>[:<port>]/fmi/xsl/<folder>/<stylesheet>.xsl[?<query string>]
See “About the URL syntax for FileMaker XSLT stylesheets” on page 52.
Note For web sites, it’s a good practice to include an XSLT stylesheet as a home page that doesn’t require
users to enter a query string to access it. The Site Assistant can create a home.xsl that doesn’t require a query
string because it uses the
<?xslt-cwp-query?> processing instruction. For example, if you copied your
stylesheets (including a
home.xsl stylesheet) into the my_templates folder inside the xslt-template-files folder,
web users can use the following URL to request and process the stylesheets:
http://192.168.123.101/fmi/xsl/my_templates/home.xsl
Important The Web Publishing Engine does not allow web users to view the source for XSLT stylesheets
that are installed in the xslt-template-files folder. When web users send a request to process a stylesheet, the
Web Publishing Engine only sends the result of the stylesheet transformation to the web browser or
program.
Troubleshooting XSLT stylesheets
If you have trouble using the XSLT stylesheets, verify that:
1 The extended privileges in the database are set for Custom Web Publishing with XSLT and assigned to
a user account. See “Enabling Custom Web Publishing in a database” on page 19.
1 The database is hosted and opened by FileMaker Server. See FileMaker Server Administration Help.
1 The database account name and password you are using, if any, are correct.
1 The web server and the Web Publishing Engine are running.
1 XSLT Publishing is enabled in the Web Publishing Engine. See the FileMaker Server Advanced Web
Publishing Installation Guide
.