Developer’s Guide

Table Of Contents
B-10 Developer’s Guide
What it does: Tells the FileMaker Pro Web Companion to generate
an XML-stylesheet processing instruction within the grammar—
setting the value of the type attribute (type=text/css or type=text/
xsl)—so you can use cascading style sheets (CSS) or Extensible
Stylesheet Language (XSL) documents with your XML document.
This parameter is used in conjunction with the –stylehref parameter.
Optional with: All requests
Requires: The –stylehref parameter
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–styletype=text/css&–stylehref=mystylesheet.css&–find
–stylehref (Style href)
Name/Value Type: Parameter
What it does: Tells the FileMaker Pro Web Companion to generate
an XML-stylesheet processing instruction within the grammar—
setting the value of the href attribute (href=document.css or
href=document.xsl)—so you can use cascading style sheets (CSS) or
Extensible Stylesheet Language (XSL) documents with your XML
document. This parameter is used in conjunction with the –styletype
parameter.
Optional with: All requests
Requires: The –styletype parameter
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–styletype=text/xsl&–stylehref=mystylesheet.xsl&–find
–password (Database password)
Name/Value Type: Parameter
What it does: Specifies the database password (set in the Access
Privileges > Define Passwords dialog box) to open a database with.
Optional with: The –dbopen request
Example:
FMPro?–db=employees.fp5&–dbopen&–password=
dbpassword&–format= –fmp_xml& –styletype=text/css&
–stylehref=mystylesheet.css
field name (Name of specific field)
Name/Value Type: Field name
What it does: Field names are used to control –find criteria or to
modify the contents of a record. When a value for a specific field
needs to be sent to FileMaker Pro, the name portion of the name/
value pair is the name of the field in the FileMaker Pro database.
Field names used in this manner should not start with the hyphen
(–) character.
Name is: Name of the field in the database.
Value is: For –new and –edit requests, the value contains the data for
a record. Multiple occurrences of a field allow the data to be put into
separate repetitions of a repeating field. For –find requests, the value
is a find request on the specified field. For all other requests, these
name/value pairs are not needed.
Required with: –new and –edit requests
Optional with: –find requests
Example:
FMPro?–db=employees.fp5&–format= –fmp_xml&
–op=eq&FirstName=Sam&–max=1&–find