4

Trying to use force:navigateToRelatedList to navigate to an opportunitys' related activity list on a click event within an aura/lightning component.

        var evt = $A.get("e.force:navigateToRelatedList");
        evt.setParams({parentRecordId: ?????????});
        evt.fire();

I am stuck on what to send through as parameters to the event.

Any ideas?

Thanks

3

To use force:navigateToRelatedList; fill in the following parameters

evt.setParams({parentRecordId: oppid, relatedListId: 'OpenActivities'});

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.