Developer’s Guide

Table Of Contents
B-4 Developer’s Guide
Examples of –dbnames requests
To retrieve the database names using a hypertext link:
<a href="FMPro?–dbnames &–format= –fmp_xml&–styletype=
text/css&–stylehref=mystylesheet.css”>
To retrieve the database names using a form:
<form action="FMPro" method="post">
<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="–dbnames" value="Show Database List">
</form>
Generating a –layoutnames request
Name/Value Type: Layout Names Request
What it does: Retrieves the names of all available layouts for a
specified database that is open and shared via the Web Companion.
Required parameters: –db, –format
Optional parameters: –styletype, –stylehref
Examples of –layoutnames requests
To retrieve the names of available layouts using a link:
<a href="FMPro?–db=employees.fp5&–layoutnames&–format=
–fmp_xml&–styletype=text/css&–stylehref=mystylesheet.css”>
To retrieve the names of available layouts 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="–layoutnames" value="Show List of
Layouts">
</form>
Generating a –scriptnames request
Name/Value Type: Script Names Request
What it does: Retrieves the names of all available scripts for a
specified database that is open and shared via the Web Companion.
Required parameters: –db, –format
Optional parameters: –styletype, –stylehref
Examples of –scriptnames requests
To retrieve the names of all scripts using a link:
<a href="FMPro?–db=employees.fp5&–scriptnames&–format=
–fmp_xml&–styletype=text/css&–stylehref=mystylesheet.css”>
To retrieve the names of all scripts using a form:
<form action="FMPro" method="post">
<input type="hidden" name="–db" value="employees.fp5">
<input type="hidden" name="" value="">
<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="–scriptnames" value="Show List of Scripts">
</form>
Generating a –dbopen request
Name/Value Type: Open Database Request