Custom Web Publishing (CWP) lets you build web applications that read and write FileMaker data using XML queries or the FileMaker PHP API. Both are available on dedicated hosting plans.
Enabling XML publishing
- Log in to the FileMaker Server Admin Console
- Go to Web Publishing > Overview
- Set XML to On
Enabling PHP publishing
- Go to Web Publishing > Overview
- Set PHP to On
Required privilege set settings
The FileMaker account used for CWP requests must have the appropriate extended privileges enabled:
- XML access: enable fmxml in the account's privilege set
- PHP access: enable fmphp in the account's privilege set
XML endpoint format
https://your-hostname.fmphost.com/fmi/xml/fmresultset.xml?-db=YourDatabase&-lay=YourLayout&-findall
After a server upgrade or migration
XML and PHP publishing settings may revert to Off after a FileMaker Server version upgrade or server migration. If your CWP integrations stop working after a server change, check the Web Publishing Overview page first — re-enabling the toggle is usually all that is needed.
Considering a new integration?
For new projects, we recommend the FileMaker Data API over XML/PHP — it is actively maintained by Claris, easier to work with, and more reliable. See our Data API article for details.
