Developer’s Guide

Table Of Contents
Valid names used in CGI requests for FileMaker Pro XML data B-7
Required with: All requests
Examples:
–recid (Record ID)
Name/Value Type: Parameter
What it does: Defines which record should be operated on. Used
mainly by the –edit, and –delete requests.
Value is: A record ID, which is a unique specifier to a record in a
FileMaker Pro database.
Required with: –edit and –delete requests
Optional with: –find requests
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–recid=22&–delete
–modid (Modification ID)
Name/Value Type: Parameter
What it does: Refers to the latest version (incremental counter
number) of the record. This allows you to take necessary measures
to ensure an –edit request is applied to the most current version of the
record, by including a warning and an option to retrieve the most
current record before the –edit request is allowed.
Value is: A modification ID, which is a unique identifier for the
current version of a record in a FileMaker Pro database.
Optional with: –edit requests
Requires: The –recid parameter
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–recid=22&–modid=6&last_name=Jones&–edit
–lop (Logical operator)
Name/Value Type: Parameter
What it does: Specifies how the find criteria are combined as either
an AND or OR –find request.
Value is: Either AND or OR. If the –lop parameter name is not used,
then the find request is assumed to be an AND request.
Optional with: –find requests
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
Last+Name=Smith&Birthdate=2/5/1972&–lop=and&–find
–op (Comparison operator)
Name/Value Type: Parameter
What it does: Specifies the comparison operator to apply to the field
name/value pair that follows it in a –find request.
To generate this XML grammar Specify this format
FMPDSORESULT FMPro?–db=employees.fp5&–format=
"–dso_xml"&–find
FMPDSORESULT
+ document type definition
FMPro?–db=employees.fp5&–format=
"–dso_xml_dtd"&–find
FMPXMLRESULT FMPro?–db=employees.fp5&–format=
"–fmp_xml"&–find
FMPXMLRESULT + document
type definition
FMPro?–db=employees.fp5&–format=
"–fmp_xml_dtd"&–find
FMPXMLLAYOUT FMPro?–db=employees.fp5&–format=
"–fmp_xml"&–view
FMPXMLLAYOUT + document
type definition
FMPro?–db=employees.fp5&–format=
"–fmp_xml_dtd"&–view