6 Replies Latest reply on Mar 2, 2014 6:06 PM by a3e8dd2974d7d639dea937a27a8fcb3894b7b310

    How to get the mappings of Enum class ActivityType items and their display texts?

      Hi all,

      When I try to get data of "ActivityRecord", I find that the values of attribute "activityType" are always different.
      Some of them like removing white-spaces simply, e.g. "New Lead" and "ActivityType.NewLead".
      But some of them contain different words, e.g. "Update Opportunity" and "ActivityType.UpdateOpprtntyInSales".
      So, I need the mapping of them,  and then I could query "ActivityType" by the display texts and auto-transform them to the enum items which would be sent to the request "getLeadChanges".
      Any suggestions?

      Thanks,
      Biao