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
AndrewTaylorAndrewTaylor 

Visualforce Page "sforce.one.navigateToUrl is not a function"

I have a custom visualforce page that I'm trying to use sforce.one.navigateToUrl to redirect users to a custom VF page (e.g. /apex/mypage?param=12345).

The page works find with sforce.one.navigateToSObject(record.Id);, but the console throws an error saying "sforce.one.navigateToUrl is not a function" if I try to use sforce.one.navigateToUrl('/apex/mypage?param=' + myParamValue).