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.

Download data from Web

Featured Replies

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

define "download"!

save as HTML?

export the FM file?

....

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

  • 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

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

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.

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

Important Information

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

Account

Navigation

Search

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.