Custom Web Publishing Guide

Table Of Contents
Appendix A
|
Valid names used in query strings 91
–layoutnames (Layout names) query command
Retrieves the names of all available layouts for a specified database that is hosted by FileMaker Server and
enabled for Custom Web Publishing with XML or XSLT
Required query parameters: –db
Example:
To retrieve the names of available layouts:
http://192.168.123.101/fmi/xml/fmresultset.xml?–db=employees&–layoutnames
–new (New record) query command
Creates a new record and populates that record with the contents of any field name/value pairs.
Required query parameters: –db, –lay
Optional query parameter: one or more field name(s), –script
Note For information on including new data for a portal, see “Adding records to a portal” on page 88.
Example:
To add a new record:
http://192.168.123.101/fmi/xml/fmresultset.xml?–db=employees&–lay=departments&Country=Australia&–new
–process (Process XSLT stylesheets)
Processes an XSLT stylesheet without requesting data from the database. This query command can only be
used with XSLT stylesheets.
Required query parameter: –grammar. You must use the fmresultset or FMPXMLRESULT grammar.
Example:
http://192.168.123.101/fmi/xsl/my_template/my_stylesheet.xsl?–grammar=fmresultset&–process
See “Processing XSLT requests that do not query FileMaker Server” on page 58.
–scriptnames (Script names) query command
Retrieves the names of all available scripts for a specified database that is hosted by FileMaker Server and
enabled for Custom Web Publishing with XML or XSLT
Required query parameters: –db
Example:
To retrieve the names of all scripts:
http://192.168.123.101/fmi/xml/fmresultset.xml?–db=employees&–scriptnames