Skip to content

Instantly share code, notes, and snippets.

@tyoshikawa1106
Created March 15, 2015 09:31
Show Gist options
  • Save tyoshikawa1106/32a62126f8d746e1ece5 to your computer and use it in GitHub Desktop.
Save tyoshikawa1106/32a62126f8d746e1ece5 to your computer and use it in GitHub Desktop.
force:navigateToRelatedList sample code
gotoRelatedList : function (component, event, helper) {
var relatedListEvent = $A.get("e.force:navigateToRelatedList");
relatedListEvent.setParams({
"relatedListId": "Cases",
"parentRecordId": component.get("v.contact.Id")
});
relatedListEvent.fire();
}
@Radhikaba
Copy link

It is working fine. The issue was I had used spinner but it was not working in this case when we navigate back again.

@kristinemaimai
Copy link

thank you so much! i really appreciate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment