Timeline for Error in $A.getCallback() [Cannot read property 'setParams' of undefined] Callback failed When Dismissing Alert Message
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 29, 2020 at 1:01 | vote | accept | Ertyq | ||
Sep 29, 2020 at 1:01 | comment | added | Ertyq | I understand now, thanks for providing explanation on this. Will check other options like the one you suggested above :) | |
Sep 28, 2020 at 19:08 | comment | added | sfdcfox♦ | @Ertyq Lightning Out is not within the Lightning Experience, even in a Visualforce page placed within Lightning Experience. Visualforce doesn't have access to the Lightning Experience runtime, which is why Lightning Out is required to begin with. Further, events created within this container can't make it to the Lightning Experience runtime. As such, you need to either create your own toast, or you need to have a helper component on the outside (e.g. a Utility Bar Component) to actually display the toast. | |
Sep 28, 2020 at 17:51 | comment | added | Ertyq | I am using Salesforce Lightning interface by the way. I used Visualforce which references a Lightning component so it could appear in standard Lightning UI list view. | |
Sep 28, 2020 at 17:38 | history | answered | sfdcfox♦ | CC BY-SA 4.0 |