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?
-
1If a picklist then yes but only with user interaction such as a configuration page or something– EricCommented Mar 26, 2017 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 MillerCommented Mar 27, 2017 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.– EricCommented Mar 27, 2017 at 17:14
Add a comment
|