+ Start a Discussion
forceAMPforceAMP 

ToLabel and picklist fields

Is there a way using the describe attributes of a picklist field to tell whether ToLabel is valid for that field ?

 

For example, the BusinessProcess object has a picklist field called TableEnumOrId but you cannot use the ToLabel function on that field.

 

Basically I am building an automated SOQL transformation that applies the ToLabel function to the proper fields in the Select list and I need to be able to determine that from the describe data.

 

Thanks,