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
colingcoling 

Need PHP help to create a custom object with multiple fields using the Metadata API

Hi Everyone,

 

Does anyone have a clear example of how to create a custom object with multiple fields using the Metadata API?

 

The sample provided with the PHP Toolkit - at http://wiki.developerforce.com/index.php/PHP_Toolkit_13.0_Metadata_Create_Sample - works but only creates one field. Creating additional fields is a further challenge.

 

I am not sure if one can create the object and all fields in one create call, or if the additional fields need to be created in separate calls.

 

Thanks in anticipation.

 

Regards

Colin Goldberg