How do I set up Custom Web Publishing (XML or PHP)?

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

  1. Log in to the FileMaker Server Admin Console
  2. Go to Web Publishing > Overview
  3. Set XML to On

Enabling PHP publishing

  1. Go to Web Publishing > Overview
  2. 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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I enable ODBC/JDBC access to my FileMaker database?

ODBC and JDBC access (called "XDBC" in FileMaker Server) lets external tools — Excel, business...

How do I use the FileMaker Data API?

The FileMaker Data API is a modern REST API built into FileMaker Server. It is the recommended...