Jump to content
Server Maintenance This Week. ×

exporting fields


This topic is 8098 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

hi there, i'm really new to filemaker so please be kind! i need to be able to have an html document on the web that accesses certain parts of a FM database.

For example if I have a web page that has a "company" field and I have a database that also has a "company" field and I then change the name of a company in the FM document I would like it to also update the html document.

Is this possible and if so could anybody give me any tutorials etc to help me through my hour of need!

Link to comment
Share on other sites

It sounds like you're wanting to update a static web page (as opposed to hosting a FileMaker database on the web). To do this, you can either:

generate the entire page from FileMaker by using scripts and fields that add the appropriate HTML tags -- a good article on this is here ; or

make your page with SSI (server side includes, yourpage.shtml) or my preference, PHP. Most hosts support PHP and the performance tends to be better than SSI.

You make your page, and where you want the company info to go, you put this...

code:


<? include "company.txt" ?>

...where company.txt is a file you've exported from FileMaker.

It looks like you're on a Mac, so you could also make an AppleScript that launches Fetch (or other FTP app) and uploads your file. So the whole thing can be done with one click. Sample AppleScript...

code:


with timeout of 60000 seconds

try

tell application "Fetch 3.0.3"

activate

open remote item "ftp://user:[email protected]/yourdirectory"

put into transfer window "www.yoursite.com" item
Link to comment
Share on other sites

This topic is 8098 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.