I have a visualforce page on a custom object. On save it is redirected to the notes and attachments page. We are now moving to lightning and notes and attachments feature is available. How do I redirect my page to Files in lightning ?

  • The feature is not available* Commented Nov 11, 2016 at 20:49

1 Answer 1


You can use the navigateToSObject method in your lightning component's controller.

Example from the handleClick js method:


handleClick : function (component, event, helper) {
    var navEvt = $A.get("e.force:navigateToSObject");
      "recordId": "069580000000IIJAA2",
      "slideDevName": "detail"


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .