0

我们有一个多语言 MSCRM 2011 环境,以德语为基础语言。我想为所有语言创建一个报告,但选项集的标签应始终以独立于客户端语言的英语显示。我正在使用基于 Fetch 的报告。

有没有可能轻松实现这一目标?

4

2 回答 2

2

If you do SQL-based report you'll find all OptionSet values in the "FilteredStringMap" view.

You'll see there next columns:

  • FilteredViewName represents the Entity
  • AttributeName represents the Optionset/TwoOptions fields
  • AttributeValue represents their values
  • Value represents the Text of those fields
  • DisplayOrder represents their display order
  • LangId represents Language Id (see full list here)

If you do Fetch-based report you can only specify language for the whole report I guess.

于 2013-10-31T11:38:46.820 回答
0

我们通过使用自定义函数解决了这个问题。在这个函数中,我们将选项的值翻译成英文。

Function GetEnglishLabel(iOptionValue) As String
    If iOptionValue = 0 Then
        return ""
    End If

    Select Case iOptionValue
        Case 100000000
            return "English label 1"
        Case 100000001
            return "English label 2"
        Case 100000002
            return "English label 3"
        Case 100000003
            return "English label 4"
    End Select
End Function
于 2013-11-08T14:23:33.997 回答