Referencing a salesforce article:
https://developer.salesforce.com/docs/platform/lwc/guide/use-quick-actions-email.html
When clicking button that triggers the handleCreateEmail(), I get a blank page the first time but subsequent button pushes the modal appears.
handleCreateEmail() {
var pageRef = {
type: "standard__quickAction",
attributes: {
apiName: "Global.SendEmail"
},
state: {
recordId: "a4GVG0000000NO12AM",
defaultFieldValues: encodeDefaultFieldValues({
HtmlBody: "Pre-populated text for the email body.",
Subject: "Pre-populated Subject of the Email"
})
}
};
this[NavigationMixin.Navigate](pageRef);
}
}
1st time pressed
2nd time pressed
Hi,
Sorry for the inconvenience. If you don't receive a response here, we recommend reaching out to our support team for further assistance.
You can do so by visiting https://help.salesforce.com/s/articleView?id=000393090&language=en_US&type=1