[ToastrJS] Error: setCookieToast is not defined

Forge Component
(2)
Published on 2018-09-27 by Raphael Ranieri
2 votes
Published on 2018-09-27 by Raphael Ranieri

Hello everyone, I have added the plugin and configured it as in ToastrJSSample, but when I start the server action the following message is displayed on the screen: Error: setCookieToast is not defined


Does anyone have any idea what I might be doing wrong?

Solution

I found the cause of the problem.

What was missing was to drag the ToastrJS Lib plugin into the context of the page. I'm going to use ToastrJS on all my pages, so I added ToastrJS Lib only once in the footer webblock....

Solution