Activity Forums Salesforce® Discussions How can we navigate using Lightning:navigation in Salesforce?

  • How can we navigate using Lightning:navigation in Salesforce?

    Posted by Anuj on April 3, 2020 at 12:03 pm

    What is Lightning:navigation? How can we navigate using Lightning:navigation in Salesforce?

    Kirandeep replied 4 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Kirandeep

    Member
    April 3, 2020 at 3:02 pm

    Lightning:navigation is used to navigate to a given pageReference or to generate a URL from a pageReference. To navigate, we need to define a PageReference object.
    Pagereference is a javascript object that references a page, providing a well-defined structure that describes the page type and its corresponding values.
    The following are supported features where we can navigate to:
    Lightning Component
    Knowledge Article
    Named Page
    Navigation Item Page
    Object Page
    Record Page
    Record Relationship Page
    Web Page

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos