Skip to main content

Hello friends. I'm trying to use a LWC in a public community that use the Guest User profile. This LWC uses an Apex method to insert a record Lead. When I call the method I receive this error:  

 Use LWC in public lightning community

 

I also used the lightning-record-edit-form to insert the new record Lead without using Apex method but I receive an error related with ui-api/records, although the information is registered in salesforce.

So, any ideas about this error? Am I missing something important related to LWC?

 

#Lightning Web Components  #Lightning Community  #Apex  #AuraEnabledApex-Spring  #Sales Cloud

1 answer
0/9000