Frank van Rotterdam Posted June 18, 2014 Posted June 18, 2014 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.
Jeroen Aarts Posted June 18, 2014 Posted June 18, 2014 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
Frank van Rotterdam Posted June 18, 2014 Author Posted June 18, 2014 Ah. I'm still at FM 12, so I'll go for the queueing mechanism for now. Thanks! Frank.
Recommended Posts
This topic is 4147 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