problem with StiWebDesigner1_GetPreviewDataSet
problem with StiWebDesigner1_GetPreviewDataSet
I have problem with : StiWebDesigner1_GetPreviewDataSet
when I use : e.Report.RegData("Beop3Project", "Portfolio", company); I can not visualise my report from my Web Designer:
Company is an Object.
The same Code is work with last version ! (04/2011)
When I updat the "prerelease builds" (13/10/2011) : Thats not work !
protected void StiWebDesigner1_GetPreviewDataSet1(object sender, StiWebDesigner.StiPreviewDataSetEventArgs e)
{
...............
e.Report.RegData("Beop3Project", "Portfolio", company);
...............
}
I noticed when I updat "the prerelease Builds" the StimulSoft.Design is not changed there is not a new version of this file
Thanks in advance for help
when I use : e.Report.RegData("Beop3Project", "Portfolio", company); I can not visualise my report from my Web Designer:
Company is an Object.
The same Code is work with last version ! (04/2011)
When I updat the "prerelease builds" (13/10/2011) : Thats not work !
protected void StiWebDesigner1_GetPreviewDataSet1(object sender, StiWebDesigner.StiPreviewDataSetEventArgs e)
{
...............
e.Report.RegData("Beop3Project", "Portfolio", company);
...............
}
I noticed when I updat "the prerelease Builds" the StimulSoft.Design is not changed there is not a new version of this file
Thanks in advance for help
problem with StiWebDesigner1_GetPreviewDataSet
Hello.
Please, describe your Company object.
Thank you.
If Company is an object then you should use RegBusinessObject() method.sofiane wrote:I have problem with : StiWebDesigner1_GetPreviewDataSet
when I use : e.Report.RegData("Beop3Project", "Portfolio", company); I can not visualise my report from my Web Designer:
Company is an Object.
The same Code is work with last version ! (04/2011)
When I updat the "prerelease builds" (13/10/2011) : Thats not work !
protected void StiWebDesigner1_GetPreviewDataSet1(object sender, StiWebDesigner.StiPreviewDataSetEventArgs e)
{
...............
e.Report.RegData("Beop3Project", "Portfolio", company);
...............
}
I noticed when I updat "the prerelease Builds" the StimulSoft.Design is not changed there is not a new version of this file
Please, describe your Company object.
Thank you.
problem with StiWebDesigner1_GetPreviewDataSet
Hello,
Company is an object composed from portfolios
Portfolio is an object composed from projects
Project is an object composed from Tasks
When I try to vidsualise the projects list by the Call of RegData Method thats worked with (04/2011) version.
e.Report.RegData("Beop3Project", "Portfolio", company);
when I try to visualise the list project by the call of RegBusinessObject() method thats not worked with (04/2011) version nor the (21/10/2011)
e.Report.RegBusinessObject("Beop3Project", "Portfolio", company);
In the report I used data Band company as master component of portfolio dataBand
The portfolio dataBand is master Component of project DataBand
The Project dataBand is master Component of Tasks Lis
can you explain where is the problem ?
Thanks
Company is an object composed from portfolios
Portfolio is an object composed from projects
Project is an object composed from Tasks
When I try to vidsualise the projects list by the Call of RegData Method thats worked with (04/2011) version.
e.Report.RegData("Beop3Project", "Portfolio", company);
when I try to visualise the list project by the call of RegBusinessObject() method thats not worked with (04/2011) version nor the (21/10/2011)
e.Report.RegBusinessObject("Beop3Project", "Portfolio", company);
In the report I used data Band company as master component of portfolio dataBand
The portfolio dataBand is master Component of project DataBand
The Project dataBand is master Component of Tasks Lis
can you explain where is the problem ?
Thanks
problem with StiWebDesigner1_GetPreviewDataSet
Hello,
Please try to use the following code:
if it not help, can you please send us a sample project with test data for analysis.
Thank you.
Please try to use the following code:
Code: Select all
report.RegBusinessObject();
report.Dictionary.SynchronizeBusinessObjects()
Thank you.
problem with StiWebDesigner1_GetPreviewDataSet
Hello,
The problem with report.RegBusinessObject() : is that we cannot find the components of the object in Dictionnary.
When we pass component as parameter to report.RegBusinessObject() : I do'nt find the components of company : portfolio, project and tasks in Dictionnary!
But with report.RegData() we find them in DataSource and we can use Master Data Band and its childs
It is to be noted that the same code work with "04/2011" version but do not work in "21/10/2011" version
There is no problem with WebviewerFx nor Webviewer in both versions. thats work
The problem is only when we try to preview the report from WebDesigner in only last version "21/10/2011"
I need to work with last version because it takes into acount (params.allowscriptaccess = "always");
Thank you
The problem with report.RegBusinessObject() : is that we cannot find the components of the object in Dictionnary.
When we pass component as parameter to report.RegBusinessObject() : I do'nt find the components of company : portfolio, project and tasks in Dictionnary!
But with report.RegData() we find them in DataSource and we can use Master Data Band and its childs

It is to be noted that the same code work with "04/2011" version but do not work in "21/10/2011" version
There is no problem with WebviewerFx nor Webviewer in both versions. thats work
The problem is only when we try to preview the report from WebDesigner in only last version "21/10/2011"
I need to work with last version because it takes into acount (params.allowscriptaccess = "always");
Thank you
- Attachments
-
- 1381.Test_Business Object.rar
- (1.51 MiB) Downloaded 372 times
problem with StiWebDesigner1_GetPreviewDataSet
Hello.
We need more time to prepare an answer for you.
Thank you.
We need more time to prepare an answer for you.
Thank you.
problem with StiWebDesigner1_GetPreviewDataSet
Hello,
Please check the modified project in attachment also please check the last prerelease build.
Thank you.
Please check the modified project in attachment also please check the last prerelease build.
Thank you.
- Attachments
-
- 1391.Test_Business Object.zip
- (1.72 MiB) Downloaded 1905 times
problem with StiWebDesigner1_GetPreviewDataSet
THANK YOU very much for your help
Sofiane
Sofiane
problem with StiWebDesigner1_GetPreviewDataSet
I think that the filter not wok with Business Object please is is to be verified
problem with StiWebDesigner1_GetPreviewDataSet
Hello,
We have checked the filters, in the latest prerelease build it should work correctly. If filters do not work correctly in your report, please describe the issue in more detail - what are filters to which you apply objects?
Thank you.
We have checked the filters, in the latest prerelease build it should work correctly. If filters do not work correctly in your report, please describe the issue in more detail - what are filters to which you apply objects?
Thank you.