June 18, 201411 yr Goodday, I have a script that mails an invoice to the user. This takes to long to have the user wait for it. Would it be possible to trigger the mailsending script in an iframe and continue the flow ? I assume (!) once triggered, the script will continue to run when the iframe is closed ( the user has gone to the next page.) Any experience with this ? Alternative would be to do a server script that polls the database. I'm just not that big fan of server scripts and polling in general. Cheers ! Frank.
June 18, 201411 yr Frank, There is no such thing as an iFrame natively in FileMaker. If you are using FileMaker Server, you could either set up a queue table and let FileMaker Server send mails via SMTP and a server-side script, or you could use the new FileMaker 13 Perform Script On Server script steps. With the latter, you could asynchronously perform scripts on the server
June 18, 201411 yr Author Ah. I'm still at FM 12, so I'll go for the queueing mechanism for now. Thanks! Frank.
Create an account or sign in to comment