You need to sign in to do that
Don't have an account?
Noah Zakaria
Visualforce Error (account name ****)
went to finish up visualForce trails/modules on dev org, noticed account name is blocked. already checked profile, heirarchy perm. sets roles cannot seem to solve issue have gone through basic object field level security as well.
Thanks any advice appreciated.
error msg ->
core.apexpages.exceptions.ApexPagesHandledException: Object type not accessible. Please check permissions and make sure the object is not in development mode: Name, Phone FROM Account ORDER BY Name ASC LIMIT 10000 ^ ERROR at Row:1:Column:56 encrypted field 'Name' cannot be ordered in a query call. Original queryString was: 'SELECT Id, Industry, Name, Phone FROM Account ORDER BY Name ASC LIMIT 10000'
Thanks any advice appreciated.
error msg ->
core.apexpages.exceptions.ApexPagesHandledException: Object type not accessible. Please check permissions and make sure the object is not in development mode: Name, Phone FROM Account ORDER BY Name ASC LIMIT 10000 ^ ERROR at Row:1:Column:56 encrypted field 'Name' cannot be ordered in a query call. Original queryString was: 'SELECT Id, Industry, Name, Phone FROM Account ORDER BY Name ASC LIMIT 10000'
It is not about security. The error states that do not use Name as Order By.
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/field_types.htm
you can try to create a formula-string field that will do in the Order By.
Hope this will help.
All Answers
It is not about security. The error states that do not use Name as Order By.
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/field_types.htm
you can try to create a formula-string field that will do in the Order By.
Hope this will help.
- Noah