tylertul Posted April 22, 2015 Posted April 22, 2015 I can manually import a .csv URL from the web just fine. Works every time. Why can't I script it to import that same URL? Thanks!An example (not a real URL) is: https://docs.google.com/spreadsheets/d/16irOtO503scu0pKguIzYSM0PTu1oc7rvY7Y/export?gid=0&format=csv
tylertul Posted April 22, 2015 Author Posted April 22, 2015 FileMaker 11 and it doesn't have import from URL. What works fine is file menu > import > past the url into field that asks for location of file > open button (or maybe it says import) it it will import the data from google drive into a table just fine. If you try and do the same through a url script step it complains about the url not being a valid location (or says something similar)
LaRetta Posted April 22, 2015 Posted April 22, 2015 Hi Tyler, It would help if you would update your profile to show version 11. Thank you! :-)
comment Posted April 22, 2015 Posted April 22, 2015 It's not possible to import CSV files (or any other type of files, except XML) from outside of your network. What you describe is probably a result of something that happens between your OS and the Google Drive application. You could test this by using the same method to insert a file into a container field (as reference only) then see what the actual path to the file, as stored in the container field, is.
tylertul Posted April 22, 2015 Author Posted April 22, 2015 Thanks LaRetta! I just updated my profile as you suggested. Comment. I think you just nailed it. That makes sense. I bet Windows 7 is doing it and storing the file that it retrieves in a temp folder them somehow Filemaker is being told that location by the OS and bam it imports. Same thing is NOT happening as a scripted import. Thanks for the suggestion. Does someone have a link to a post or a suggestion for the simplest way to script an import from a web-based .CSV file into Filemaker? I imagine it is the same for and excel file as well. I'll keep digging for sure. Just thought I would ask in case someone could paste a link or something. Really appreciate your help over the past 11 years when I have needed it!
comment Posted April 22, 2015 Posted April 22, 2015 Does someone have a link to a post or a suggestion for the simplest way to script an import from a web-based .CSV file into Filemaker?! I just said it's not possible. What you can do is download the file, using a plugin or OS-level scripting (or, in version 12 or higher, the Insert From URL script step), then import the resulting local file. Alternatively, if you have any control over the web server, use XML.
Recommended Posts
This topic is 3769 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