Adding javascript to an existing button

edited May 1, 2018 in Questions
I currently have a button in place that when clicked it runs a class. I'm looking to add to this button so once it's clicked it also creates a new record on a new object. How can I do that? The new object's name is "Kickbacks__c"

Here's what the button currently looks like:

var scModels = skuid.model.getModel('Application');
var scRow =[0]; 
var result = sforce.apex.execute('DecisionLogicAPI','assignToUnderwriterQueue',
        appId : scRow.Id


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!