You need to sign in to do that
Don't have an account?
chandrashekar Jangiti
Hi Folks, I am unable to see line by line msg , it is showing single line need help
Hi Folks,
How i can get toast messages on record page for below code:
list<String> setErrormessage=new list<String>();
if(listQli.isempty()){
setErrormessage.add(error1);
}
if(medicalProductCount>0&&fundingTypeCount==0){
setErrormessage.add(error2);
}
if(UWmessage == true){
setErrormessage.add(error3);
}
return setErrormessage;
}
I have my code and in this how i can show error msg on page like line by line below
error1
error2
error3
Thanks,
Chandu
How i can get toast messages on record page for below code:
list<String> setErrormessage=new list<String>();
if(listQli.isempty()){
setErrormessage.add(error1);
}
if(medicalProductCount>0&&fundingTypeCount==0){
setErrormessage.add(error2);
}
if(UWmessage == true){
setErrormessage.add(error3);
}
return setErrormessage;
}
I have my code and in this how i can show error msg on page like line by line below
error1
error2
error3
Thanks,
Chandu
>> https://sfdcmonkey.com/2018/05/05/multiline-toast-message-lightning-component/
This is an implementation in the lightning component to show multiple lines of the error messages.
>> https://salesforce.stackexchange.com/questions/113874/add-line-break-in-error-message
The above link has an example of a way to add a line break to the error message.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.