Skip to main content

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 

Global.SendEmail NavigationMixin on Community Site showing blank the first time it is triggered

2nd time pressed

 

Screen Shot 2024-03-20 at 10.17.55 PM.png

 

 

#Experience Cloud

1 answer
0/9000