Skip to main content
Nintex Community Menu Bar
Question

Aura component for new button override

  • Jul 11, 2024 11:38 PM UTC
  • 2 replies
  • 333 views
  • Translate All

Forum|alt.badge.img

I need to create a new button override which stores prepopulated values from the parent record, specifically it’s Id, so it can be consumed in our Skuid page to create Event records. How do I do this? I’m not a programmer so lightning web components are a bit daunting! The only thing I’ve done similar before is for a screen flow, here is my code for that screen flow. I’m guessing what I’d need to create for the Skuid page would be fairly similar?

({
init : function (component) {
// Find the component whose aura:id is “flowId”
var flow = component.find(“flowId”);

var inputVariables = [
{
name : “accountVar”,
type : “String”,
value: component.get(“v.recordId”)
}
];

// In that component, start your flow. Reference the flow’s Unique Name.
flow.startFlow(“New_Jisc_Account_Contact_Role”);
},})

2 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 12, 2024 12:10 AM UTC

Cant you just put a Skuid Page in the new button override?

Translate

annajosephine
Nintex Employee
Forum|alt.badge.img+18
  • Nintex Employee
  • Jul 12, 2024 12:10 AM UTC

Yes Glenn, let us know if you’re having issues overriding the New action in Lightning with your Skuid page.

To override New action in Lightning, you do need to create a simple aura component containing your Skuid page which you can do following the instructions here https://docs.skuid.com/latest/en/skuid/deploy/salesforce/lightning/#lightning-component-bundle-overrides

Translate