adityaverma Posted September 18, 2003 Posted September 18, 2003 Hi there, I am using CDML to publish the data online. I want users to search the database and download the results. I could easily manage search database screens etc but how can I allow them to download the data they have filtered ? Any suggestion???
Leb i Sol Posted September 18, 2003 Posted September 18, 2003 define "download"! save as HTML? export the FM file? ....
Steve T. Posted September 18, 2003 Posted September 18, 2003 adityaverma said: Any suggestion??? Hi, AV! If you can safely execute a script (web-executed web scripts are generally not safe), maybe you could export their data to a custom-named file in the Web folder and make it available via CDML as a download link. Your Mac OS X users can just save their results from the web page as PDF files (in Mac OS X, anything that can be printed can be saved as a PDF file). If they have e-mail accounts, you can use FileMaker's -mail tags to e-mail them the data. Like Leb i Sol says, though, it depends on what you want to do. Hope this helps! --ST
adityaverma Posted September 21, 2003 Author Posted September 21, 2003 Hi guys, thanks a lot for your suggestions, I tried running a script using hyperlink & CDML and exporting the data to my webserver but the problem is that link ends with "Findall" and whenever I run the script, FM final all records and the file I export containes all recordsl; which I don't want. If I don't use findall the script doesn't get executed. Any suggestions ?? thanks in advance
Steve T. Posted September 21, 2003 Posted September 21, 2003 Hi, AV! I haven't used scripts much but I would suggest you change the link to reproduce the same find the web user does... maybe in an INLINE action? I would think if -findall works for you, then -find and/or -findany should work, too. Hmm.. I wonder how that works... if you send the -script command in the url, does the -find action occur before the script executes? Sorry, I don't have enough experience here to help you. --ST
Unable Posted September 21, 2003 Posted September 21, 2003 If by script you are referring to ScriptMaker, you need to know that there are issues of a very serious nature surrounding ScriptMaker and the web. Since this has been widely discussed in the Internet Forums, especially on the CDML forum, I will not repeat the discussion here, but advise you to do a little research into this issue before proceeding down that design path any further. Big T R O U B L E lies ahead.
Garry Claridge Posted September 21, 2003 Posted September 21, 2003 As Steve noted, if -findall is working and -find is not, you have a problem elsewhere. If you can show us the URL/Form you are using we may be able to spot the problem. All the best. Garry
Recommended Posts
This topic is 7725 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