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
Avinash AAvinash A 

Hi , I was trying a trailhead module, in which i was tryning to switch my v.f page into lightning ready page by adding vdf page in a Lightning app.But it isnt working properly. Can anyone Please help me??

avascript:(function(){ 
    var pageName = prompt('Visualforce page name:'); 
    $A.get("e.force:navigateToURL").setParams(
        {"url": "/apex/" + pageName}).fire();})();
https://trailhead.salesforce.com/en/modules/lex_dev_visualforce/units/lex_dev_visualforce_process