Skip to main content
Expert
Apr 27, 2023 3:02 PM UTC
Solved

Suppress culture code prompt for XFString

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

Employee - Sage
Apr 27, 2023 3:55 PM UTC
  1. Populate that parameter with an XFBR
  2. in the XFBR, use SI.Culture to look up the user's culture.

3 replies

Employee - Sage
Apr 27, 2023 3:55 PM UTC
  1. Populate that parameter with an XFBR
  2. in the XFBR, use SI.Culture to look up the user's culture.
MarcusHAuthor
Expert
Apr 27, 2023 4:17 PM UTC

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