Postingan

Menampilkan postingan dengan label how to access custom label in apex

40 update custom label in apex

Gambar
How do I update Custom Label's value using apex? Which one would be a ... public static void updateField () { MetadataService.MetadataPort service = createService (); MetadataService.CustomField customField = new MetadataService.CustomField (); customField.fullName = 'Test__c.TestField__c'; customField.label='New Test Field Label'; customField.type_x = 'Text'; customField.length = 52; List results = … Updating Custom Labels in Apex - Salesforce Developer Community No, you cannot update Custom Labels through normal apex controller. You need metadata api to do that. you can use metadata api in apex here is an excellent article ( ) salesforce - Is there a way to update the label of the custom fields in ... The Label attribute of a Custom Field contained in a managed package is not subscriber-editable, which includes interventions made by Apex code running in a subscriber org. Note that Label is listed under Developer Editable, which means you can ch...