Custom Web Publishing Guide

Table Of Contents
34 Custom Web Publishing Guide
–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 24.
fieldname At least one field name is required with –edit. Optional with –find. See
“fieldname (Non-container field name) query parameter” on page 82.
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
–script.prefind (perform script before –find,
–findany, and –findall)
Optional with –find, –findany, –findall
–script.presort (perform script before sort) Optional with –find, –findall
–skip (skip records) Optional with –find, –findall
–sortfield.[1-9] (sort field) Optional with –find, –findall
–sortorder.[1-9] (sort order) Optional with –find, –findall
–stylehref (stylesheet HREF) Optional with all query commands (to specify a stylesheet URL for
–styletype)
–styletype (stylesheet type) Optional with all query commands (to specify client-side stylesheet)
Use this query command name To execute this command