function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rameshramesh 

when send email invitaion i am getting error


This page has an error. You might just need to refresh it. Error in $A.getCallback() [Cannot read properties of null (reading '0')] Callback failed: serviceComponent://ui.survey.components.controller.SurveyEmailController/ACTION$loadTemplate Failing descriptor: {survey:surveyEmailWizard}
Sai PraveenSai Praveen (Salesforce Developers) 
Hi ,

Are you using standard component or custom component. Can you add more details like how you are sending the email from salesforce Is it from some button ..

Thanks,
 
rameshramesh
using standard survey only User-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Are you getting the error for both sendEmail and Get Invitation buttons as well?

Thanks,
 
rameshramesh
No only when send mail 
rameshramesh

when the system admin profile is working fine but I created one profile with a salesforce license that profile gets the error

the same user in the system admin profile is working fine

Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Have you given access to all the survey related objects?

Thanks.
 
rameshramesh

given full access toUser-added image survey objects

 

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Sai,

Just need another confirmation that is user able to use global action sendemail from feed? Because I guess there should be some permission issue getting error on send email action.

Thanks,