Adding javascript to an existing button

  • 1
  • Question
  • Updated 2 years ago
  • In Progress
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
Photo of Edward Vazquez

Edward Vazquez

  • 70 Points

Posted 2 years ago

  • 1
Photo of Josh Lewis

Josh Lewis, Alum

  • 1,218 Points 1k badge 2x thumb
Hi Edward,

Are you familiar with the action framework within Skuid? You should be able to utilize the action framework to run multiple actions from a button. Our documentation on the Action Framework can be found here: