Forum Discussion
Hatim_Elhaouma
6 months agoNew Contributor II
Vary description vy user culture in XFBR
Hello, We are facing the following issue, we use the following xfbr to generate accounts in a cubeview rows and retrieve descriptions : XFBR(CCF_XFBR, GetCCFDrillDownWithDescription2,memberExp=[A#Ca...
- 6 months ago
In your code you can use ReadMemberDescriptionsNoCache function to pull the descriptions based on the user's culture
Dim member As String = "TrialBalance" Dim list As List(Of MemberDescription) = BRApi.Finance.Members.ReadMemberDescriptionsNoCache(si, dimTypeId.Account, member) Dim returnStr As String = list.FirstOrDefault(Function(x) x.MemberDescriptionPk.Language = si.Culture).Description Return returnStr
T_Kress
OneStream Employee
6 months agoIn the POV of the cube view you can either define a parameter and let the user pick a culture/language or you can pick current, which I believe will pick up users culture setting descriptions, if they are available:
Hatim_Elhaouma
6 months agoNew Contributor II
I tried using the Current option for the culture setting, but it doesn’t work because the XFBR generates a :Name() function, which seems to take precedence over the global culture settings.
Related Content
- 10 months ago
- 3 years ago