Hi Aravind- Even i am facing the same problem to insert a record to custom object using soql query object from the API. Can you please guide me how to do this. Also provide some resources to get familiar with create operations
The create call in the enterprise api has solutions and guideliness for standard objects. I am looking to create records for an already created custom object. I have created a cutom object called Result, now I want to insert records of the object result.
I am able to create them through my salesforce account, I need to do it from the webservice API. Can you guide me where can I get a clue of doing this.
For all standard objects I have the client code generated. How do I get the java code for my custom object with all the cutom fields. Can you please help me on how to get the client code for my custom object. Should I have to regenerate it from my wsdl? Or should I have to write my own java class?
Is there any sample code to insert records for custom object? So that I can have it for my reference.
Thanks a lot simon. I think I am close enough to the solution. I have dowloaded my wsdl before I have created my custom object. I will download the latest wsdl and regenerate my client classes.
Can you please post some sample code which generates custom object Java classes, Saleforce generated Java claasses has lot of members(default and custom fields),are you generating similar class, these class extends SObject,is this supported by DynaBean.
Even i am facing the same problem to insert a record to custom object using soql query object from the API. Can you please guide me how to do this. Also provide some resources to get familiar with create operations
Thanks,
-Vissu
I have the same requirement to insert records to custom object from the API. Any suggestions or ideas on how to do this?
Thanks,
Ananth Chellathurai
The create call in the enterprise api has solutions and guideliness for standard objects. I am looking to create records for an already created custom object. I have created a cutom object called Result, now I want to insert records of the object result.
I am able to create them through my salesforce account, I need to do it from the webservice API. Can you guide me where can I get a clue of doing this.
Dear Simon,
For all standard objects I have the client code generated. How do I get the java code for my custom object with all the cutom fields. Can you please help me on how to get the client code for my custom object. Should I have to regenerate it from my wsdl? Or should I have to write my own java class?
Is there any sample code to insert records for custom object? So that I can have it for my reference.
Thanks in Advance.
Thanks a lot simon. I think I am close enough to the solution. I have dowloaded my wsdl before I have created my custom object. I will download the latest wsdl and regenerate my client classes.
Thank you.
cheers
Ananth
Hi Ananth,
if you are able to insert records using triggers an dclasses in your custom object...
1. Generate Enterprise/Partner WSDL for the class and save it on local system
2. Using WSDL2JAVA tool create java API for the WSDL. this can be done using Apache axis
3. Use this API in your java classes to insert records from java console
For clear information follow quick start at http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_quickstart_steps.htm
-Vissu
Can you please post some sample code which generates custom object Java classes, Saleforce generated Java claasses has lot of members(default and custom fields),are you generating similar class, these class extends SObject,is this supported by DynaBean.
Thanks in Advance.