Custom Web Publishing Guide

Table Of Contents
Chapter 3
|
Accessing XML data with the Web Publishing Engine 37
This section contains a summary of the FileMaker query commands and parameters. For more information
about using them in a query string, see
appendix A, “Valid names used in query strings.
Note The Web Publishing Engine also supports an additional query command (–process) and three query
parameters that are defined for use only with FileMaker XSLT stylesheets. See
“Using query strings in
FileMaker XSLT stylesheets” on page 54.
Use this query command name To execute this command
–dbnames Retrieve names of all hosted and web-shared databases
–delete Delete record
–dup Duplicate record
–edit Edit record
–find Find record(s)
–findall Find all records
–findany Find a random record
–layoutnames Retrieve names of all available layouts for a hosted and web-shared
database
–new New record
–scriptnames Retrieve names of all available scripts for a hosted and web-shared
database
–view Retrieves layout information from a database if the FMPXMLLAYOUT
grammar is specified. Retrieves <metadata> section of XML document
and an empty recordset if the fmresultset or FMPXMLRESULT grammar is
specified.
Use these query parameter names With these query commands
–db (database name) Required with all query commands except –dbnames and –process
(XSLT requests only)
–field Required to specify a field in a URL for container requests. See “About
the URL syntax for FileMaker container objects in XML solutions” on
page 27.
fieldname At least one field name is required with –edit. Optional with –find. See
“fieldname (Non-container field name) query parameter” on page 93.
fieldname.op (operator) Optional with –find
–lay (layout name) Required with all query commands, except –dbnames, –layoutnames,
–scriptnames, and –process (XSLT requests only)
–lay.response (switch layout for XML
response)
Optional with all query commands, except –dbnames, –layoutnames,
–scriptnames, and –process (XSLT requests only)
–lop (logical operator) Optional with –find
–max (maximum records) Optional with –find, –findall
–modid (modification ID) Optional with –edit
–recid (record ID) Required with –edit, –delete, –dup. Optional with –find
–script (perform script) Optional with –find, –findall, –findany, –new, –edit, –delete, –dup, –view