+ Start a Discussion
adsfasdfasdfasdadsfasdfasdfasd 

Given an SObject, how do I determine the (plural) label for that object?

I have a custom object Custom_Object__c. The singular label for this object is "Custom Object" and the plural label is "Custom Objects".

 

How do I derive this label programmatically?

 

TIA,

 

John

SuperfellSuperfell
use the describeSObject(s) api call, its repsonse include the both the sinular and plural labels.