function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Robert Davis 1Robert Davis 1 

Visualforce and Lightning - Can both use sforce.one for Navigations?

I am reading the Trailhead module about Lightning and it advises that the navigation withing Lightning should be done with events using the sforce.one object which is Javascript. It then says sforce.one isn't available in Classic Salesforce.

So am I understanding this correctly, that there will be one method for writing navigation in Visualforce pages in Classic Salesforce and another for Lightning Salesforce?

Thank you, I am kinda new to all of this.

Robert