Hey I am trying to create some object into salesforce. I have: SObject myobj = new SObject(); myobj.setType("MyType"); ...
But I got: exceptionMessage='sObject type 'string' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.'
I didn't just put a 'string' there. Anyone please give some suggestions? Thanks a lot.