Newbies CmdrHispano Posted August 7, 2002 Newbies Posted August 7, 2002 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
Garry Claridge Posted August 7, 2002 Posted August 7, 2002 I have done something similar using Custom Web Publishing (CWP). I store the name of the file in the database and have the html-format file construct the URL to the file. Hope this helps. Garry
Newbies CmdrHispano Posted August 7, 2002 Author Newbies Posted August 7, 2002 forgive me, but what is custom web publishing and html format? are they additional plugins?
Garry Claridge Posted August 7, 2002 Posted August 7, 2002 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
Recommended Posts
This topic is 8412 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 accountSign in
Already have an account? Sign in here.
Sign In Now