September 18, 200322 yr 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???
September 18, 200322 yr 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
September 21, 200322 yr Author 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
September 21, 200322 yr 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
September 21, 200322 yr 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.
September 21, 200322 yr 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
Create an account or sign in to comment