VisualForce Page reference id not working on Lightning
Last updated 4 days ago ·Reference W-3427000 ·Reported By 31 users
Parameters are no longer collected in lightning vf pages using the following method.
Map<String,String> params = ApexPages.currentPage().getParameters();
currentAccountId = (Id)params.get('id');
1.Created a custom Visualforce page on account
2.Include the navigation using the code above
3.Switch to lightning experience
4.Try to change the record type
5.The following error is thrown:
"List has no rows for assignment to SObject
An unexpected error has occurred. Your development organization has been notified."
There is no workaround available.
Reported By (31)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.