Forum Discussion
jcapezzuto
Resolver I
7 years agoSetting language and locale for embedded report
We are using the Javascript API to embed reports in our web app. We need to control the report language and locale settings for our users based on settings in our app. In the example below, we are ...
- 7 years ago
We were able to make this work by directly adding &language and &formatlocale parameters to the embed URL.
jcapezzuto
Resolver I
4 years agoYes this will work with slicers but you have to select the date formats that are locale sensitive (they begin with an *)
Anonymous
4 years agoNot applicable
Thanks! Tried adding it to the url as below but still doesn't work.
reportLoadConfIg.embedUrl = `${embedData.reportConfig[0].embedUrl}&language=en&formatLocale=en-AU`; How were you able to add the parameters directly?
Thank you.
- jcapezzuto4 years ago
Resolver I
Sorry I don't know how to code it, here is how the result should look. Maybe check your syntax.