Custom Web Publishing with XML and XSLT

Table Of Contents
38 FileMaker Server Custom Web Publishing with XML and XSLT
–find Find record(s).
–findall Find all records.
–findany Find a random record.
–findquery Perform complex or compound find request.
–layoutnames Retrieve names of all available layouts for a hosted and web-shared
database.
–new Add 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)
–delete.related Optional with –edit
–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 28.
fieldname At least one field name is required with –edit. Optional with –find. See
“fieldname (Non-container field name) query parameter” on page 95.
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
–query Required with -findquery compound find requests.
–recid (record ID) Required with –edit, –delete, –dup. Optional with –find
–relatedsets.filter Optional with –find, –edit, –new, –dup, and –findquery.
–relatedsets.max Optional with –find, –edit, –new, –dup, and –findquery.
–script (perform script) Optional with –find, –findall, –findany, –new, –edit, delete, –dup, –view
–script.param (pass a parameter value to the
script specified by –script)
Optional with –script
–script.prefind (perform script before –find,
–findany, and –findall)
Optional with –find, –findany, –findall
Use this query command name To execute this command