Version 2 – New & Improved – How to Add a New Record to a Table in Skuid Using Only One Model

This is new version of previous blog post how to, with one improvement. A snippet that can dynamically cancel associated model in a popup.

http://www.mblazonry.com/creating-a-new-opportunity-in-salesforce-using-only-one-model-2/

Oops. Posted the old video. New video has this snippet. 

var params = arguments[0], $ = skuid.$, model = params.context.model; skuid.$(".ui-dialog-content").dialog({ "beforeClose" : function() { //put your event-handler code here. model.cancel(); } });<br>