Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

pdf files in a container

Featured Replies

would it be possible to store pdf files in a container field and through cdml have a serch by a field 'name of pdf' which will then show the results and allow the user to download the pdf file from the container wink.gif" border="0

I'm not sure if that would work or not. You might try storing a dir. path in a field and on the results page have it create a link to the pdf.

Example.

Field name = "ThePDF_Dir"

Value = "/PDF/PDF_Name"

during the render of the "Results" page it could create a link...

a href=[FMP-field : ThePDF_Dir]>Download PDF</A>

I've never done this, but is seems like it would work.

Good Luck,

Dave

[ January 21, 2002: Message edited by: shai1 ]

  • Author

that works as i have done that before for related items to a news story in a news database but these pdfs are in the downloads folder and any one can get to these by entering the url and downloading them.

but i want to be able to restrict access by the pdfs that they have order like a client order library .

i want the clients to be able to get to the record for the pdfs that they have purchased but deny all the rest

How are you tracking if a person has paid for a PDF? Is that in the FMP database? If so you could still use the same method, just put in a [FMP-If] that checks for wether it was paid for or not.

Good Luck!

Dave

  • Author

that is true but any one with a bit of know how as to how the internet works will be able to figure out that all the pdf reports are stored in this one folder and just enter in the path in the browser to the downloads and could in theory get any pdf they wanted

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.