You need to sign in to do that
Don't have an account?
shra1_dev
Strange Issue.........!!!
Hi Devs,
Recently I come across with a strange Issue....
Have you ever come across..
I'm just trying to return list of Accounts. It says like this
http://screencast.com/t/vxgtNJUG3
What could be the reason?
Thanks & Regards,
Shravan
I think some how a Local Class is cretaed in your Org with Name "Account".
Plz chk
All Answers
I think some how a Local Class is cretaed in your Org with Name "Account".
Plz chk
Ohh... Really Thanks Abhishek.
But now how can I differentiate list<Account> (which is a Standard Object list) and list<Account> (which is a Class list).
Thanks,
Shravan
Use scema.Account for Standard Account, try this might it works
Thanks Abhishek, that really worked.
I'm bit confused with what will happen to the already existing classes. Will dat work?
Salesforce should not allow the devs to create classes with the predefined/Standard keywords.
Regards,
Shravan
Already existing classes would work fine. ALso you are correct SFDC shold not allow to create class with the same name of of any Sobject because there is not package kind of thing in SFDC as in native platforms like Java , .Net etc.
Please mark this as solution so that every body can refer this for there similar issues