Getting Your Databases Ready for Custom Web Publishing

 <  Day Day Up  >  

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're familiar with previous versions of FileMaker Pro, you'll recall that the various "publishing" options for a database (Web sharing, local ODBC, remote ODBC) were all accessed via a file's "sharing" options. Enabling or disabling a sharing method was simply a matter of checking or unchecking a sharing option.

graphics/new_icon.jpg

In FileMaker 7, access to a database via either XML or XSLT is handled via the security and privilege system. This is much more flexible than in previous versions because you can allow or deny XML or XSLT access to a file based on whether a user has the appropriate privilege.


Unfortunately, with this flexibility comes some additional work. To enable Custom Web Publishing in a file, you must create, by hand, a new Extended Privilege for each type of CWP access you want to allow. To allow access to data from the file as raw XML, create an extended privilege with the keyword fmxml . To allow access via XSLT, create an extended privilege with the keyword fmxslt . Figure 23.2 illustrates the creation of these extended privileges.

Figure 23.2. You'll need to add Extended Privileges by hand to enable Custom Web Publishing with XML and XSLT.
graphics/23fig02.gif

NOTE

graphics/new_icon.jpg

In earlier versions of FileMaker Pro, 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, the extended privileges for CWP can be added while the databases are being hosted, and these privileges can be added to or removed from privilege sets on the fly as well.


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.

graphics/troubleshooting_icon.jpg

If you expect to see a database served via Custom Web Publishing and it doesn't appear, check to make sure the appropriate extended privileges are enabled. See the section on "Getting the Right Privileges" in the Troubleshooting section at the end of this chapter.


 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net