You need to sign in to do that
Don't have an account?
md1
How to create instance of custom object in Java/JSP ?
Hi,
I'm trying to create a instance of a custom object using the partner API using JSP/Java, but am getting a NullPointerException. Is creating a custom object instance different from creating a standard object instance?
Can you please provide me with a sample code, if its different.
The error comes when setting the object the binding.
This is urgent, so any help is appreciated.
Thanks.
I'm trying to create a instance of a custom object using the partner API using JSP/Java, but am getting a NullPointerException. Is creating a custom object instance different from creating a standard object instance?
Can you please provide me with a sample code, if its different.
The error comes when setting the object the binding.
This is urgent, so any help is appreciated.
Thanks.
I think Custom object creation is the same as any Java Object.
MarketingEvents__c marketingEventObj = new MarketingEvents__c();
marketingEventObj .function();
This works for me.
Can you send the code just to verify..
Thanks,
Chitra
It worked for me - seems like I was having a problem with my array sizes.