the walker Posted January 21, 2002 Posted January 21, 2002 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
shai1 Posted January 21, 2002 Posted January 21, 2002 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 ]
the walker Posted January 22, 2002 Author Posted January 22, 2002 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
shai1 Posted January 24, 2002 Posted January 24, 2002 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
the walker Posted January 25, 2002 Author Posted January 25, 2002 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
Recommended Posts
This topic is 8407 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