Skip to main content

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 = argumentss0], $ = skuid.$, model = params.context.model; skuid.$(".ui-dialog-content").dialog({ "beforeClose" : function() { //put your event-handler code here. model.cancel(); } });<br>