0

I am building a managed package with several multi-select custom fields. The options for the multi-select custom field need to be populated dynamically from our external software. Is it possible to use the Metadata API to dynamically update options for a custom field that is part of a managed package?

  • 1
    If a picklist then yes but only with user interaction such as a configuration page or something – Eric Mar 26 '17 at 16:08
  • @Eric, no chance of doing this automatically from an external service using APIs or similar? Alternatively could this be done with a trigger on a custom object? For example I create a custom object then use Bulk API to add records of custom object. Could a trigger be written on Create/Update of the object to add options to custom field? – Jesse Miller Mar 27 '17 at 17:13
  • salesforce.stackexchange.com/questions/56558/… - but even that is not automatic and requires user interaction. IIRC callout cannot be made during install so that is the sticking point. – Eric Mar 27 '17 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.