New answers tagged

0

So you need to add the Account link to the new Contact. To do that, use recordId param you have implicitly on your Aura Component Aura component: add this near other aura:attribute rows <aura:attribute name="recordId" type = "String"/> It will be prefilled automatically with Account Id Then send this Id to the server (in JS ...


0

The recordId which you are setting as params in Detail method is ID of record from which you are invoking your lightning component not the contact Id to which you want to navigate.You need to pass contact Id.You can try below code Cmp change Replace <lightning:button variant="brand-outline" label="View Detail" name="{!con.Id}&...


2

Your oList is currently just a local variable in your controller's constructor. It currently isn't able to be used outside of your constructor (because of how variable scoping works) If you want to access information from your controller you'll need to declare it as a property of the controller class public class CheckOpps { public List<Opportunity>...


Top 50 recent answers are included