function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cc15cc15 

populate custom object list with a web service

Hi All

 

I created a New Custom Object, and I know it can be populated using an excel file. I am now trying to populate it using a webservice, is this possible? I've uploaded the WSDL into the Apex Classes.

 

Any help would be great!

 

Thanks

telbyte10telbyte10

Yes you can populate custom object.

First you have to call the method of webservice and fetch all the values for the custom object and assign those value to custom object field.

 

-telbyte

cc15cc15
thanks for your response! would i apply these calls as an apex trigger on the custom object? sorry i'm really new at this, is there some sample code to help me see what i'm trying to do?
cc15cc15

Ok i'm connecting to the web service now and have the values all ready, but how do i make it so that all of the items are imported into the custom object list?

 

Any help would be greatly appreciated.