+ Start a Discussion
jjcjjc 

How do I enable Summer 2010 features?

I have chatter enabled and running so I assume I'm running the Summer 2010 release, but when I try to create a Set of SObjects I get the error "Set of SObject: Account not allowed."

 

I used the example code from the salesforce_summer10_release_notes.pdf on page 115:

 

Account a1 = new Account(name='MyAccount');

Set<Account> accountSet = new Set<Account>{a1};

 

I did upgrade the Eclipse IDE but I'm guessing I'm not actually using the latest release because when I try to create a new Apex class I can only select version 16.

 

Thanks in advance for any help.

Best Answer chosen by Admin (Salesforce Developers) 
TehNrdTehNrd

For each class there is a related meta.xml file. You should be able to open and manually edit the api version after it is created.

All Answers

TehNrdTehNrd

For each class there is a related meta.xml file. You should be able to open and manually edit the api version after it is created.

This was selected as the best answer
jjcjjc

Thanks that worked!  And for anyone wondering, summer 2010 version is 19.