Loading

Export custom labels into a CSV file

Publiceringsdatum: Nov 4, 2024
Beskrivning

Custom Labels are stored as metadata, and so they are not accessible when you perform an export, import, or delete using Data Loader. 

While there is no native functionality to export Custom Labels into a CSV, there's a workaround you can use to create a spreadsheet containing your Custom Label information. 

Lösning


To export Custom Labels into a CSV file

 

1. Go to:
  • Salesforce Classic: Setup | Build | Create | Custom Labels 
  • Lighting Experience: Setup | Platform Tools | User Interface | Custom Labels

2. Highlight everything in the Custom Label list view page, from the columns Action, Name, Categories, Short Description, Value, and Language all the way down to the last custom label you see on the page. If you have more than 1 page, click more at the bottom until you've exposed all of your Custom Labels.
3. Copy the selection.
4. Paste the copied selection to a spreadsheet program like Excel.
5. Clean the data. Remove the column for 'Action' as well as column B, which should either be blank or contain icons.
6. Save as a CSV file.


 To view alternate solutions with the Apex API, visit the Idea Exchange link to Access Labels in Apex Dynamically.

Ytterligare resurser

Idea Exchange - Add Apex API for Custom Labels

Release Note - Access Labels in Apex Dynamically

Knowledge-artikelnummer

000386984

 
Laddar
Salesforce Help | Article