Newbies WilliamN Posted August 4, 2020 Newbies Posted August 4, 2020 Good day I'm trying to figure out how I can trigger a data dump script via the data api. Quote /fmi/data/version/databases/database-name/layouts/layout-name/script/script-name version – the FileMaker Data API version requested, either v1 or vLatest database-name – the name of the hosted database layout-name – the name of the layout to use as the context for running the script script-name - the script that you want to run I checked the documentation, but couldn't quite wrap my head around the layout part. The script I want to run basically runs an ExecuteSQL statement and dumps the data to csv. Do I need to add it to a layout somehow? Any assistance would be greatly appreciated!
IdealData Posted August 7, 2020 Posted August 7, 2020 My understanding is that the ExecuteSQL statement will not rely upon the context of the layout, so any layout will do. FileMaker layouts are all about context, and you must be on a layout to do anything; but not everything needs context.
Recommended Posts
This topic is 1567 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