We are working on a task where we need to retrieve and update custom field translations using Metadata API.
The code is working fine for unmanaged custom fields, but for managed custom fields, it's giving an error during retrieval.
When we dug into the responses, we found that the readMetadata operation on the CustomObjectTranslation class does not return the custom fields from the managed package. However, the strange is we also tried the updateMetadata operation using the same class, and the update was successful.
So, Metadata API cannot retrieve managed custom field translations but can update them. Why so?
Is there a solution to be able to retrieve managed custom field translations problem in the current version of Metadata API? If not, is the coming version going to solve it?
Also, on the same lines we not able to retrieve the below managed translations too?
- managed custom application NAME translations
- managed custom tab NAME translations
- managed validation rule ERROR MESSAGE translations
- managed custom links/buttons NAME translations
Disclosure: This is for an app Quick Update Translations live on AppExchange which enables not only Custom Label and their translation update but also supports translation updates for a variety of entities like Custom Fields, Validation Rules, Custom Tabs, Custom Applications, and Custom Links/Buttons.