We have community with Registration Page replaced with custom Lightning Community Page. The page is build with Aura component, which is using lwc components. Trying firing force:showToast from aura and ShowToastEvent from lwc nothing happens, javascript executes succesfully, no errors/warnings in console.

There is an assumption, that nothing can handle these(this) events in community.

But according to documentations it should work:

  • "To display a toast notification in Lightning Experience or Lightning communities" - link to doc;
  • "This event is handled by the one.app container. It’s supported in Lightning Experience, Salesforce app, and Lightning communities." - link to doc.

Couldn't find known issues at the moment of writing. Do I understand documentation correctly?

1 Answer 1


While documentation is says that ShowToast is available in Lightning Experience, but not in Lightning Communities, it is actually supported in Lightning Communities, except the login page.

There is information here: force:showToast is not available on login pages. https://www.thecloudfountain.com/salesforce-lightning-forceshowtoast/

  • 1
    Yes. I was using it on Registration Page, which is a part of "Login" pages
    – Lev
    Aug 6, 2020 at 9:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .