-
-
Save jadsitt/96c81ebb4f2d9ce60dd72e7d510c7fcd to your computer and use it in GitHub Desktop.
ViewAccountHeirarchyController
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ({ | |
| 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