To get your FileMaker databases ready for Custom Web Publishing, you need to do a few specific things with access privileges in each file you want to share via Custom Web Publishing.
If you e familiar with previous versions of FileMaker Pro, youll recall that the various publishing options for a database (web sharing, local ODBC, remote ODBC) were all accessed via a files sharing options. Enabling or disabling a sharing method was simply a matter of checking or unchecking a sharing option.
Access to a FileMaker database via either XML or XSLT is handled via the security and privilege system. You can allow or deny XML or XSLT access to a file based on whether a user has the appropriate privilege, as well as controlling that users rights and privileges down to the record or field level.
Unfortunately, with this flexibility comes some additional work. To enable Custom Web Publishing in a file, you must enable the correct extended privileges for each type of CWP access you want to allow. To allow access to data from the file as raw XML, enable the extended privilege with the keyword fmxml. To allow access via XSLT, enable the extended privilege with the keyword fmxslt. Figure 23.2 illustrates the use of these extended privileges.
In FileMaker 7, it was necessary to create these extended privileges by hand. In FileMaker 8, the set of default extended privileges is expanded to include these two privileges. They e off by default, but its no longer necessary to create them by hand.
In versions of FileMaker Pro before version 7, web sharing in any of its forms could not be enabled or disabled while a database was being served by FileMaker Server. In FileMaker 7 and later, the extended privileges for CWP can be enabled or disabled on the fly.
To recap, each database that you want to share via CWP needs to have the appropriate extended privileges created and added to one or more privilege sets.
If you expect to see a database served via Custom Web Publishing and it doesn appear, check to make sure that the appropriate extended privileges are enabled. See the section on "Getting the Right Privileges" in the "Troubleshooting" section at the end of this chapter.
Part I: Getting Started with FileMaker 8
Using FileMaker Pro
Defining and Working with Fields
Working with Layouts
Part II: Developing Solutions with FileMaker
Relational Database Design
Working with Multiple Tables
Working with Relationships
Getting Started with Calculations
Getting Started with Scripting
Getting Started with Reporting
Part III: Developer Techniques
Developing for Multiuser Deployment
Advanced Interface Techniques
Advanced Calculation Techniques
Advanced Scripting Techniques
Advanced Portal Techniques
Debugging and Troubleshooting
Converting Systems from Previous Versions of FileMaker Pro
Part IV: Data Integration and Publishing
Importing Data into FileMaker Pro
Exporting Data from FileMaker
Instant Web Publishing
FileMaker and Web Services
Custom Web Publishing
Part V: Deploying a FileMaker Solution
Deploying and Extending FileMaker
FileMaker Server and Server Advanced
Documenting Your FileMaker Solutions