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
Suman GiriSuman Giri 

How to update the metadata of custom object using REST API

Hi,

 

Requirement :-  we have installed an app from appExchange which would create a custom object (Say xyz__c). We need to create a custom field to the above object programatically. We were unable to use the MetadataAPI as service callout would not work from within the Salesforce org.

We found in one of the forum topic that REST API can be used to achieve this.

We were able to display the list of objects in the org and also were able to describe the object in terms of the metadata.

We are referring to the below resource:

http://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#StartTopic=Content/quickstart.htm

 

Is there a way I can achieve the Metadata API functionality using REST service call out ?

Appreciate your help or any pointers.

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox

Not today, no. But it's on the roadmap. Look at the Summer 12 Release notes for details on Metadata REST API.