Skip to main content

Questions tagged [toast]

A Salesforce UI Event supported in the Lightning Experience and Salesforce1 only. Is used to notify a lightning component of the type of Event that has occurred which can be error, warning, success, or info. It allows the component to display a message when the event occurs.

0 votes
0 answers
123 views

I'm developing an LWR site using LWC, and I'm attempting to utilize the ToastContainer API to display toast notifications. The toasts generated by Toast.show() do not appear. Here's a simplified ...
Ashish Sharma's user avatar
1 vote
0 answers
196 views

We have built a community site (LWR) but for some reason toasts are not displaying correctly when we view it on mobile. This is the code i am using to display the toast. Toast.show({ label: 'Error'...
Zeerik's user avatar
  • 21
0 votes
1 answer
164 views

Whenever I am creating a case in Salesforce manually the toast message is showing the url case id, But I want to show the Case Number. I have searched and haven't found any without code solution. ...
India's user avatar
  • 11
0 votes
1 answer
83 views

When user is creating a new opportunity can we make it mandatory to add a new product. I know about "Opportunity Settings" on setup that we can use to prompt "add products to ...
Ajit's user avatar
  • 21
1 vote
0 answers
281 views

I have a function like the below to have a toast message with hyperlink. But the link is opening in a new tab. How to make the link open in the same tab or is there a way to set target=_self const ...
Prodipto Baksi's user avatar
0 votes
1 answer
374 views

In Success Toast Message we are getting record id instead of record name and it happening only for success toast message not for delete toast message Could you anyone guide on this ? Added two images ...
Arjun's user avatar
  • 3
0 votes
1 answer
2k views

I have been searching for Toast Message on the VF page. Because I have called my LWC inside one Vf page. it is working fine but the Toast message is not accessible or we can say visible on the VF page....
Sen Ashok's user avatar
2 votes
1 answer
493 views

The lightning/toast utility is GA as of Winter '24, but I haven't seen anything on StackExchange or in the docs about how to write tests for components that use it. One you import it into a component ...
Matthew Souther's user avatar
1 vote
2 answers
5k views

I have implemented this example provided here: https://salesforce.stackexchange.com/a/385665/138510 provided by @vitalii-dehnerys But still, the Toast does not get fired from the LWC when it sits on ...
Chubster's user avatar
2 votes
1 answer
8k views

I have a custom Lightning Web Component that I am using in a Flow. Unfortunately, the standard ShowToastEvent event does not work when an LWC is in a Flow. Is there an alternative component I can use ...
fred's user avatar
  • 3,901
0 votes
1 answer
377 views

Is there a way to change the duration of an out-of-box toast message? The scenario is that I'm opening the edit page Specifically, the case message that says "Case xyz was saved" whenever ...
Jeff's user avatar
  • 155
0 votes
2 answers
120 views

Hello i am trying to show toast message in aura but i am unable to do so .Can you please review my code and tell me whats the problem . component.cmp <aura:component > <lightning:button ...
Adil's user avatar
  • 1
0 votes
1 answer
715 views

We have multiple Lightning Web Components added to a page and each of the component handles errors using toast messages. Sometimes, there is a long chain of toast messages that display when errors ...
Henry Jones's user avatar
0 votes
0 answers
428 views

I'm trying to display a toast notification whenever a quote is visited and its related opportunity lookup has a boolean field with a value of true (Ordered_Custom__c = true). This aura component is ...
MattcG91's user avatar
1 vote
1 answer
3k views

I need to drop a simple LWC onto an existing Lightning Record page which just queries for some specific conditions between parent and child data, and if conditions are met, displays a toast message at ...
Morgan Marchese's user avatar

15 30 50 per page
1
2 3 4 5
7