Custom Web Publishing with XML and XSLT

Table Of Contents
Appendix A
|
Valid names used in query strings 93
1 The query request declarations, consisting of the query identifier declarations and request operations.
1 The search field and value definitions for each query identifier.
1 The –findquery command, at the end of the complete statement.
For more information on using the –query parameter, see “–query (Compound find request) query
parameter” on page 98.
–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 89.
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