Skip to main content
Expert
April 27, 2023
Solved

Suppress culture code prompt for XFString

  • April 27, 2023
  • 1 reply
  • 0 views

We are using XFString to present text on Cube Views in different languages. It is documented here: 

https://femsadev.onestreamcloud.com/OneStreamWeb/Help/Content/Design%20and%20Reference/Presentation/Reference%20Alias%20via%20XFString.htm

I don't want to prompt the user for their language - is there a way to use the user's culture code and suppress the prompt?

Thanks

Best answer by JackLacava
  1. Populate that parameter with an XFBR
  2. in the XFBR, use SI.Culture to look up the user's culture.

1 reply

OneStream Employee
April 27, 2023
  1. Populate that parameter with an XFBR
  2. in the XFBR, use SI.Culture to look up the user's culture.
MarcusHAuthor
Expert
April 27, 2023

That does not prompt for the user culture so that solves my problem. For some reason it's getting the wrong culture but that is a different problem.

Thank you Jack