Custom Web Publishing with XML and XSLT

Table Of Contents
Appendix A
|
Valid names used in query strings 99
<request-definitions> is a request definition for each request declaration. Each request definition consists of
a search field and value definition. A minus (–) sign starts the request definition.
Syntax:
–<query-id>=<fieldname>&–<query-id>.value=<value>
For example:
–q1=typeofanimal&–q1.value=Cat
–q2=name&–q2.value=Fluffy
Example:
Find records of gray cats that are not named “Fluffy.
http://host/fmi/xml/fmresultset.xml?–db=petclinic&–lay=Patients&–query=(q1, q2);!(q3)
&–q1=typeofanimal&–q1.value=Cat&–q2=color&–q2.value=Gray&–q3=name&–q3.value=Fluffy&–findquery
–recid (Record ID) query parameter
Specifies the record you want processed. Used mainly by the –edit, and –delete query commands. Used by
the view command to retrieve related value list data in the FMPXMLLAYOUT grammar.
Value is: A record ID, which is a unique specifier to a record in a FileMaker database
Required with: –edit, –delete, and –dup query commands
Optional with: –find query and –view commands
Example 1:
http://192.168.123.101/fmi/xml/fmresultset.xml?–db=employees&–lay=departments&–recid=22&–delete
Example 2:
http://localhost/fmi/xml/FMPXMLLAYOUT.xml?-db=test&-lay=empty&-view&-recid=9
–relatedsets.filter (Filter portal records) query parameter
Specifies whether to filter the rows returned for queries that use portal fields.
Value is : layout or none
1 The default value is none if this parameter is not specified.
1 If the query specifies layout, then the settings specified in the FileMaker Pro Portal Setup dialog are
respected. The records are sorted based on the sort defined in the Portal Setup dialog, with the record set
filtered to start with the initial row specified.
1 If the Show Vertical Scroll Bar setting is enabled in the Portal Setup dialog, then you can use the
–relatedsets.max option to specify the maximum number of rows to return in response to the query.
1 If Show Vertical Scroll Bar setting is disabled, then the FileMaker Pro Portal Setup dialog’s Number of
rows setting determines the number of rows to be displayed.
1 If –relatedsets.filter is set to none, then the Web Publishing Engine returns all rows in the portal, and portal
records that are not presorted.
Optional with: –find, –edit, –new, –dup, and –findquery.