Activity Forums Salesforce® Discussions How to navigate visualforce page classic and lightning?

  • Piyush

    Member
    October 10, 2019 at 3:21 am

    Hi Saddam,

    You can take help from the below example to navigate visualforce page classic and lightning:-

    navigate : function(component, event, helper) {

    var address = component.find(“address”).get(“v.value”);

    var urlEvent = $A.get(“e.force:navigateToURL”);

    urlEvent.setParams({
    “url”: ‘https://www.google.com/maps/place/’ + address
    });
    urlEvent.fire();
    }

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos