Developer’s Guide

Table Of Contents
Valid names used in CGI requests for FileMaker Pro XML data B-5
What it does: Opens a specified database that’s located in the Web
folder with Remote Administration enabled in the Web Companion
(web users must enter “Admin” as the user name)
Required parameters: –db, –format
Optional parameter: –password
Examples of –dbopen requests
To open a remotely administered database using a link:
<a href="FMPro?–db=employees.fp5&–dbopen&–format=
–fmp_xml&–styletype=text/css&–stylehref=mystylesheet.css”>
To open a remotely administered database using a form:
<form action="FMPro" method="post">
<input type="hidden" name="–db" value="employees.fp5">
<input type="hidden" name="–format" value="–fmp_xml">
<input type="hidden" name="–styletype" value="text/css">
<input type="hidden" name="–stylehref" value="mystylesheet.css">
<input type="submit" name="–dbopen" value="Open Employees
Database">
</form>
For more information, see “Opening password-protected
databases remotely” on page 6-18.
Generating a –dbclose request
Name/Value Type: Close Database Request
What it does: Closes an open database that’s located in the Web
folder with Remote Administration enabled in the Web Companion
(web users must enter “Admin” as the user name)
Required parameters: –db, –format
Examples of –dbclose requests
To close a remotely administered database using a link:
<a href="FMPro?–db=employees.fp5&–dbclose=&–format=
–fmp_xml&–styletype=text/css&–stylehref=mystylesheet.css”>
To close a remotely administered database using a form:
<form action="FMPro" method="post">
<input type="hidden" name="–db" value="employees.fp5">
<input type="hidden" name="–format" value="–fmp_xml">
<input type="hidden" name="–styletype" value="text/css">
<input type="hidden" name="–stylehref" value="mystylesheet.css">
<input type="submit" name="–dbclose" value="Close Employees
Database">
</form>
For more information, see “Opening password-protected
databases remotely” on page 6-18.
Generating a -dup request
Name/Value Type: Duplicate Record Request
What it does: Duplicates the record specified by -recid.
Required parameters: -db, -format, -recid
Examples of -dup requests
To duplicate the specified record using a link:
<a href="FMPro?-db=employees.fp5&-format=-dso_xml&-recid=14&-
dup">Duplicate record with ID 14</a>
To duplicate the specifed record using a form action:
<form action="FMPro" method="post">
<input type="hidden" name="-db" value="employees.fp5">