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
Lionel_CastroLionel_Castro 

error /one/one.app#/alohaRedirect/VFPage redirects to Page VFPage does not exist

I have a Salesforce Classic App,
 
when I switch to Lightning in "Enterprise Edition" works like a charm but, when I changed it in production Unlimited Edition all clasic html href fails in a Managed installed Package.

This is a basic example, in both environments :
Original traditional HTML in a Visualforce page ==> <a href="/apex/home">Home link</a>
-------------------------------------------------
lightning changes automaically to ==> <a href="/one/one.app#/alohaRedirect/apex/home">Home link</a>
-------------------------------------------------
In dev takes me to "home" ---> correct!!!
In Production Managed Package (Lightning)  show the error "Page home does not exist "
Amit Singh 1Amit Singh 1
You need to put the NameSpace Prifix before the VF page which will looks like below:
/apex/NameSpace__home
Thanks
Lionel_CastroLionel_Castro
Perfect Amit, it worked!!!

The only bad thing is how to make these "NameSpace__page"s work in Development Environment.

Thank you a lot.


 
Kevin Antonioli 16Kevin Antonioli 16

Amit, your advice helped me as well. I was trying to redirect to the quote line editor of Salesforce CPQ and was able to do it like so:

https://panapoc2-dev-ed.lightning.force.com/one/one.app#/alohaRedirect/apex/sbqq__sb?scontrolCaching=1&id=a0x3h000000LVAFAA4#quote/le?qId=a0x3h000000LVAFAA4

I was missing the 'sbqq__' part (the namespace) and adding it worked like a charm! Thanks!