Thursday, June 11, 2009

FILEMAKER 10: OnRecordCommit Script Trigger and Instant Web Publishing

From Dwayne Wright - Certified FileMaker 9 Developer
WEB: www.dwaynewright.com
EMAIL: info@dwaynewright.com
TWITTER: dwaynewright

CHAPTER 17: Script Triggers

FYI... Pulled this tidbit from the online FileMaker KnowledgeBase and thought I’d pass it along. I heartily recommend every professional FileMaker developer to check out this valuable resource from time to time.

ARTICLE: # 7092
DIRECT URL: http://tinyurl.com/lz4w3k

The focus of the article is a condition in which the script associated with the OnRecordCommit script trigger isn’t firing as expected within FileMaker Instant Web Publishing. It looks to be associated with the edit record behavior found in browser based implementations. In particular, it looks to be associated to edits that are preceded with an Open Record / Request Script Step.

I’d like to reference another valuable and often overlooked resource, the help system built into FileMaker 10 itself. There is an article titled “Setting Up Script Triggers” and the following can be found in the Notes section ...

In Instant Web Publishing and Custom Web Publishing, script triggers can only be activated by a script and not by direct user interaction. For example, if a user tabs into a field that has an OnObjectEnter script trigger, the trigger will not activate. If a script step causes focus to move into that field, the script trigger will activate.
=
More info about the author and FileMaker in general, contact me at info@dwaynewright.com.

© 2009 - Dwayne Wright - dwaynewright.com

The material on this document is offered AS IS. There is NO REPRESENTATION OR WARRANTY, expressed or implied, nor does any other contributor to this document. WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Consequential and incidental damages are expressly excluded. FileMaker Pro is the registered trademark of FileMaker Inc.

ADVERTISEMENT ==================
Help support this blog by considering a donating to its ongoing growth. For more details, please visit http://www.dwaynewright.com/donate.html