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
Niket ShahNiket Shah 

Lightning recordeditform stopped working on public comunities

Dear All,

We are using Public Communitie to get some data from Customers.

We had built lightning components with recordeditform for same. It was all working very well till now. Suddenly from today morning, we are facing a weird error on public site - 

Error
When we access the community from the browser where salesforce session is present, it works. But when we go incognito, it throws above error.
Below is the same community site opened from browser where I am logged into salesforce.

Success
I suspect that salesforce aaplied some patch which stopped supporting record edit forms on public sites.
Any suggestions?

Thanks
Niket
Khan AnasKhan Anas (Salesforce Developers) 

Hi Niket,

Greetings to you!

You might be getting this error because of Communities Feature Disruption. Currently, Salesforce experiencing a service disruption on Communities using Lightning Components and Lightning Data services. 

https://help.salesforce.com/home

User-added image

Also, make sure that you have public access to the object which you are using in lightning component.

I hope it helps you.

Kindly 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. It will help to keep this community clean.

Thanks and Regards,
Khan Anas

Niket ShahNiket Shah
Thanks Anas, looks like it was because of this issue only. We were facing this error for some times and now it is working fine. We will monitor it for couple of more days till salesforce announces it is fixed.