I have created a lighting component and used it in a visualforce page by using lighting out. Is there any way to display the toast message?
Lightning – Fix Toast Message Not Working in Classic
Related Topic
- Display Toast Message with Buttons in Lightning Component
- Lightning Web Components – How to Show Hyperlink in LWC Toast
- [SalesForce] How to show toast message in multiple lines in a Lightning Web Component
- Lightning – How to Display Toast Message with Custom Field Value
- Visual Workflow – Toast Message Not Appearing When Triggered from Flow
Best Answer
From Salesforce docs:
It doesn't say anything about classic or VF, so my best guess is You have to manually implement toast using SLDS.
Src: https://developer.salesforce.com/docs/component-library/bundle/force:showToast