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
D-PriceD-Price 

Update Picklist Values on Layout via Metadata API?

I have a custom object linked to Account. On the custom object I have a picklist with values that I update via the metadata API. The problem is my picklist values are not being displayed because they need to be associated with a record type on the custom object layout. I can query the layout using describeLayout(), but I have no idea how to update the layout for that field to allow the new picklist values to be shown. Does anyone know how to do this?

 

Thanks,

Derek

 

 

sfdcfoxsfdcfox

See the metadata api developers guide entry on RecordType, which includes a Java example of how to do so.