Dear support,
I have migrated from Stimulsoft Reports.JS 2019 to Stimulsoft 2021.2.2.
When I open the Report Designer, I have written some code that automatically creates a datasource so that I do not need to perform this action manually; I can use my Postgre database and its tables in the Dictionary tab.
[url = https://www.casimages.com/i/210412051901468606.jpg.html][/url]
The problem occurs when I try to create a new Standard Report (using the Stimulsoft wizard); the Datasource panel is completely empty in the wizard pop-up. It used to be filled with the datasources that can be seen in the Report designer Dictionary tab (the ones I get programatically when I initialize the report designer).
[url = https://www.casimages.com/i/21041205193539521.jpg.html][/url]
Could you please give me some assistance with this?
Thank you.
Datasources have disappeared from new report wizard
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Datasources have disappeared from new report wizard
Hello,
You need to set the NewReport=MergeDictionary option.
Thank you.
You need to set the NewReport=MergeDictionary option.
Thank you.
- Attachments
-
- Annotation 2021-04-12 233327.png (160.17 KiB) Viewed 2190 times
Re: Datasources have disappeared from new report wizard
Thank you for your swift answer.
Is it possible to set this NewReport parameter in our code, so that it is already set to "Merge Dictionary" when we try to create a new standard report?
If yes, how should we proceed?
Is it possible to set this NewReport parameter in our code, so that it is already set to "Merge Dictionary" when we try to create a new standard report?
If yes, how should we proceed?
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Datasources have disappeared from new report wizard
Hello,
For web, that option is stored in cockies. Please check the following code:
Thank you.
For web, that option is stored in cockies. Please check the following code:
Code: Select all
<script>
jsStiWebDesigner1.onready = function () {
jsStiWebDesigner1.SetCookie("StimulsoftMobileDesignerNewReportDictionary", "DictionaryMerge");
jsStiWebDesigner1.options.newReportDictionary = "DictionaryMerge";
}
</script>