Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7725 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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???

Posted

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

Posted

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

Posted

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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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