Jump to content

Serving PDF files with WebCompanion?


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

Recommended Posts

  • Newbies

Hi All,

Is there any way to serve some PDF files with webcompanion? I need to create some records each with an associated PDF file. I'd like to be able to have users use the database via a browser, and with a button launch the associated PDF. So far all of my experiments have failed :-(.

For one, I am not sure what to set the URL to in my script. No matter what I do it won't see the PDF file when I use the database from the web.

Any ideas?

CH

Link to comment
Share on other sites

CWP is a system where you build your own pages using HTML with CDML replacement tags. These pages are called 'Format' files. Nothing extra is needed for FM.

Format files are accessed by using URLs or Forms. E.G.

http://localhost/FMPro?-db=mydatabase.fp5&-lay=myweb&-format=mypage.html&-findall

The format files are placed in the 'Web' folder within the FM program folder.

You will see some CDML in action in the 'CDML Forum'.

All the best.

Garry

Link to comment
Share on other sites

This topic is 7905 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.