Hosting websites > Hosting databases for XML queries
 
Hosting databases for XML queries
Note  The following information is for server administrators.
FileMaker Custom Web Publishing with XML enables you to send query requests to FileMaker Server, and display, modify, or manipulate the resulting data as needed. Using an HTTP request along with the appropriate query commands and parameters, you can retrieve FileMaker data as an XML document.
To host a database that uses Custom Web Publishing with XML:
1. In FileMaker Pro, open the database and edit the privilege set for the account that will access the database. Enable the extended privilege Access via XML Web Publishing - FMS only.
Note  If your FileMaker database solution uses more than one FileMaker database file, all of the database files accessed using XML must have the extended privilege Access via XML Web Publishing - FMS only enabled.
2. In FileMaker Server Admin Console, use the Deployment assistant to enable Custom Web Publishing with XML, if you haven’t already.
Choose Server menu > Edit Deployment. In the Deployment assistant, confirm your settings and click Next until you reach the Enable Web Publishing Technologies step. See Enabling technologies for data sharing and web publishing.
3. In Admin Console, configure the settings on the Web Publishing > XML tab. See XML web publishing settings.
4. Prepare databases for Custom Web Publishing. See FileMaker Server Custom Web Publishing Guide.
5. Upload the database file to FileMaker Server. See Uploading database files using FileMaker Pro.
Note  If your FileMaker database solution uses more than one FileMaker database file, all of the database files accessed using XML must be on the same computer.
6. Send an HTTP or HTTPS request in the form of a URL that specifies the FileMaker XML grammar, one query command, and one or more FileMaker query parameters to the Web Publishing Engine through an HTML form, an HREF link, or a script in your program or webpage. You can also type the URL in a web browser.
For information on specifying a URL for XML data, see FileMaker Server Custom Web Publishing Guide.
Related topics 
Hosting websites