Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ViewAccountHeirarchyController
({
navigateToAccountHierarchy: function(cmp, event, helper) {
var acctId = cmp.get('v.recordId');
var evt = $A.get("e.force:navigateToComponent");
evt.setParams({
componentDef: "sfa:hierarchyFullView",
componentAttributes: {
recordId: acctId,
sObjectName: "Account"
}
});
evt.fire();
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment