You need to sign in to do that
Don't have an account?
sunny.sfdc
Get Competitor Names through Apex
Hi
Is there any way that I can fetch competitor names configured in opportunity object through Apex code?
Regards
Sachin
Is there any way that I can fetch competitor names configured in opportunity object through Apex code?
Regards
Sachin
Is it a textarea field which contains a comma separated value.
Regards,
Satish Kumar
Competitor is a standard picklist available in Opportunity object.
Regards
Sachin
This is possible using the describe methods of sObject.
Check this link:
http://salesforce.stackexchange.com/questions/4992/how-to-get-a-picklist-all-values-in-apex-controller
Regards,
Satish Kumar
The problem is this Competitor field is not visible through API. So whenever I try to use describe it simply says no such field on Opportunity object.
Regards
Sachin