Dynamics crm 2011 如何在RetrieveMultiple上获取OPIstation值

Dynamics crm 2011 如何在RetrieveMultiple上获取OPIstation值,dynamics-crm-2011,dynamics-crm,fetchxml,Dynamics Crm 2011,Dynamics Crm,Fetchxml,我正在使用以下查询执行RetrieveMultiple调用: <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="lt_myentity"> <attribute name="lt_id" /> <attribute name="lt_changetype" /> </en

我正在使用以下查询执行RetrieveMultiple调用:

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
  <entity name="lt_myentity">
    <attribute name="lt_id" />
    <attribute name="lt_changetype" />
  </entity>
</fetch>

它工作正常,但是lt_changetype被定义为optionset,所以结果我得到了类似206420010的ID。我如何获得值


我知道RetrieveAttributeRequest,但可能不需要第二次调用和匹配就可以执行此操作。

如果要获取选项SetValue,可以在从FetchXML获取数据后使用FormattedValues属性。请检查此项

数字是属性的值。标签与数据无关,通过翻译进行管理,并存储在其他地方(尽管非全局选项集应包含在
实体的
FormattedValues
成员中)。谢谢。这正是我要找的。