Skip to main content
Notice removed Authoritative reference needed by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Notice added Authoritative reference needed by Chirag Mehta
Bounty Started worth 50 reputation by Chirag Mehta
added more details and issues about whats not working
Source Link
Chirag Mehta
  • 1.3k
  • 1
  • 12
  • 29

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.

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?

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.

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.

Source Link
Chirag Mehta
  • 1.3k
  • 1
  • 12
  • 29

Not able to Retrieve Managed Custom Field Translations using Metadata API?

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?

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.