Scripting the process - the power inside Filemaker
Below is the script that puts it all together |
|
- First we set a variable which identifies the current record: $fmsernum
- then we find a data set for my iphone system and export them to iphone.xml for my iphone apps page
- next we do the same for the file news.xml which feeds the news.html page
- Then we find the record we started with using the var $fmsernum
- We set a global field with the name of the new graphic which is then used to upload the new graphic
- the next 3 lines of the script run with a parameter that lets the plugin upload the correct xml and graphic file.
|
Here is the script that calls the php code:
|
|
|
This how the magic happens.
Thanks for listening.
|