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
Ralph CallawayRalph Callaway 

Is there anyway to retrieve specific custom labels in eclipse?

It's great how you can query a single custom field from an object and not the whole enchilada.  Does anyone know if it's possible to pull just on custom label?

 

I've tried mucking around with package.xml, but without much luck and can't find anything on the forums.  My gut says this isn't possible but wanted to check with all the experts out there to see if someone has a workaround.

Afzal MohammadAfzal Mohammad

Try this.

 

 

String strLabelValue = System.Label.CUSTOM_LABEL_NAME;

 

 

Hope that helps.

 

Afzal

 

 

 

 

Ralph CallawayRalph Callaway

Sorry Afzal, I wasn't as clear as I should have been.

 

Using the metadata API I was wondering if there is a way to pull down individual custom labels instead of all custom labels.