Hello. I am getting an unexpected behavior in 2020.2.1, when trying to use report.globalizationStrings.
In the 2019.4.2 version, when adding in report designer a Culture in Globalization Editor, in code I was able to get the report.globalizationStrings.list.items (the list of Cultures, and the items in those cultures), and manually do some actions with them.
However, in 2020.2.1, the report.globalizationStrings.list.items comes empty [], although there is a Culture, and items in the report as well.
And another interesting behavior - the reports that were created in the 2019.4.2 version - work well in the new version. But if a new Culture is added to the old report - the list comes empty.
My question is: what changed in the working process of Globalization Strings in the new versions (2020.1, 2020.2) compared with 2019.4.2?
And how to get the labels (report.globalizationStrings.list.items) in the new versions(2020.1, 2020.2)?
Thank you.
Globalization Strings behavior differ in 2020.2.1 compared with 2019.4.2
-
- Posts: 7292
- Joined: Tue Mar 20, 2018 5:34 am
Re: Globalization Strings behavior differ in 2020.2.1 compared with 2019.4.2
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
Re: Globalization Strings behavior differ in 2020.2.1 compared with 2019.4.2
Hello. I've got an update on the subject.
So in the latest version, in order to get the globalizationStrings.list[0].items - you have to interact with the fields. That is if you type the value for a given field - it appears in the globalizationStrings.list[0].items.
The difference between the older version and the latest is that the 2019.4.2 was giving all the list regardless if a value was added via Globalization Editor - it just used the default values from the report itself.
The latest version only shows the values that were edited via Globalization Editor.
Let me know if this behavior is intentional, and was done for optimization, or it's something that will be changed in the next releases.
Thank you.
So in the latest version, in order to get the globalizationStrings.list[0].items - you have to interact with the fields. That is if you type the value for a given field - it appears in the globalizationStrings.list[0].items.
The difference between the older version and the latest is that the 2019.4.2 was giving all the list regardless if a value was added via Globalization Editor - it just used the default values from the report itself.
The latest version only shows the values that were edited via Globalization Editor.
Let me know if this behavior is intentional, and was done for optimization, or it's something that will be changed in the next releases.
Thank you.
-
- Posts: 7292
- Joined: Tue Mar 20, 2018 5:34 am
Re: Globalization Strings behavior differ in 2020.2.1 compared with 2019.4.2
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.