You need to sign in to do that
Don't have an account?
sedaarpali
No such column 'AccountId' on entity 'User'
Hi All,
We are getting "No such column 'AccountId' on entity 'User'.If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.: Source" error when we are trying to save a controller class. We have been using this controller for a while and it just worked fine. But yesterday we had to change it and we couldn't save it again. Does anyone have this issue before?
We are getting "No such column 'AccountId' on entity 'User'.If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.: Source" error when we are trying to save a controller class. We have been using this controller for a while and it just worked fine. But yesterday we had to change it and we couldn't save it again. Does anyone have this issue before?
Greetings to you!
I tried to research your problem and found that this is a known issue. Keep watching this issue until get fixed.
https://success.salesforce.com/issues_view?id=a1p3A000001SGubQAG&title=field-integrity-exception-when-saving-a-lightning-component-in-developer-console-which-references-user-fields
Workaround suggested by Salesforce:
Use Metadata API or VS Code and SFDX to deploy changes to your lightning components.
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
All Answers
Greetings to you!
I tried to research your problem and found that this is a known issue. Keep watching this issue until get fixed.
https://success.salesforce.com/issues_view?id=a1p3A000001SGubQAG&title=field-integrity-exception-when-saving-a-lightning-component-in-developer-console-which-references-user-fields
Workaround suggested by Salesforce:
Use Metadata API or VS Code and SFDX to deploy changes to your lightning components.
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
Thanks for your reply. It helps too much.