You need to sign in to do that
Don't have an account?
DSL
No such column 'Id' on entity
We have a customer using our packaged app and we keep getting the exception message:
Visualforce Page: /apex/tw__ApexPage
System.Exception: No such column 'Id' on entity 'ns__CustomObject__c'. 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.
Class.ns.MyController.refreshList: line 1473, column 24
Class.ns.MyController.ControllerStart: line 212, column 9
Class.ns.MyController.<init>: line 171, column 13
Class.ns.MyExtension.<init>: line 16, column 9
External entry point
This is a VF page that gets added to the Contact page layout. It calls a method refreshList in the constructor that has a simple soql query.
So I can get rid of the error by not calling that soql query in the constructor. By why in the world would it say No such column Id?? Doesn't everything have an Id column?
It's only one customer (and one user) that hit this so I'm curious what they did. Any thoughts?
Thanks,
DSL
I have seen this error before from one of our customers.
You should ask your customer if he deployed the package.
This was the solution in our case.
All Answers
I have seen this error before from one of our customers.
You should ask your customer if he deployed the package.
This was the solution in our case.
I get similiar:
14766 [databaseUpdateVOD] FATAL com.salesforce.lexiloader.dao.database.DatabaseC
ontext - Error getting value for SQL parameter: Id. Please make sure that the
value exists in the configuration file or is passed in. Database configuration:
databaseUpdateVOD.