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

  • 1
  • Idea
  • Updated 3 years ago
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/
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
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();
        }
    });