All Ideas

Idea Details

Post an Idea
9,130  Points
In Development
Under active development by Salesforce. No commitment or firm timelines on delivery.

Ability to update Metadata from Apex (Apex Metadata API)

Apex

The platform is becoming more complex and the setup and configuration is growing as a result. The ability to create tools and products that help streamline, standardise or templatize, certain configurations is becoming more compelling. Effiectively creating tools to extend the Setup menu is one use case. Another is to allow ISV's to develop UI's or post install scripts to update subscriber editable items like layouts and picklists. 

Apex Describe provides some read only support, along with the ability to query certain objects, like ApexClass, ApexPage etc. It would be good to have an API simalar to that of the existing Metadata API available natively in Apex. There is an open source wrapper around this Salesforce SOAP API, which has become quite popular with developers wanting to develop solutions such as those above. This library however is subject to HTTP callout and requirements around needing pre-configured Remote Site settings (for Saleforce servers), so is not ideal.

Please consider making a Apex 'true to the core' API for Metadata availabe.

Merge Idea · Flag

Latest Comment from Salesforce

  • Aaron Slettehaugh - 1 year ago

    Here is an overview of the Apex Metadata API debut: 
    https://developer.salesforce.com/blogs/engineering/2017/05/introducing-apex-metadata-api.html

    As you will see, there is more work to do on this feature, primarily adding support for more metadata types. To help us prioritize the next set of work, please use the Success Community group to tell us which types you want supported and why: 
    https://success.salesforce.com/0F930000000PbSh
    (It's easer to manage the conversations the community group, so please don't commnent on this idea.)

    This idea will be set to "under development" to reflect the fact that there is still more work to be done. 

    Meanwhile, we hope you get a ton of utility out of what we release in Summer '17!!
     
  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Questions

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.