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
c_r_carvalhoc_r_carvalho 

Showtoast in lightning component embed in visualforce

Hi Guys!

I develop a lightning component but the force:showToast function it's not working when I put the lightning component embed in a visualforce page. But works out of visualforce page.

Someone knows if this operation disrupts the function showToast?
How do I make this works embed in visualforce?

Thanks!
Best Answer chosen by c_r_carvalho
ChicloudChicloud
Unfortunately, Not possible.. The integration of Lightning into a VF pages inside of Salesforce Classic is still pretty weak. 
You can't use force:xxx components in SFDC Classic. Alot of this stuff you have to custom code due to these limitations. You might want to look at bootstrap notify.