Designer fx - Data from other Datasource problem

Stimulsoft Reports.WEB discussion
Post Reply
beotic
Posts: 11
Joined: Thu Nov 12, 2015 2:56 pm

Designer fx - Data from other Datasource problem

Post by beotic »

Hi,

it is not possible to create in designer fx a data from other dataSource (BusinessObject), the new datasource is create but data are not connected. Is it possible to do it?

Thanks,
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Designer fx - Data from other Datasource problem

Post by HighAley »

Hello.

Could you specify what product do you use?
What component?
It's possible to use business objects if you use StiWebDesigner.

Thank you.
beotic
Posts: 11
Joined: Thu Nov 12, 2015 2:56 pm

Re: Designer fx - Data from other Datasource problem

Post by beotic »

We use StiWebDesigner with a aspx page which inject business object via RegBusinessObject fonction. The business objects are visibled in deisgner, the data databand which use it are ok. But when we want to draw a charts from a data from other datasource (in order to use group by), the new datasource is created but it contains no informations when we connect it on a data band.
beotic
Posts: 11
Joined: Thu Nov 12, 2015 2:56 pm

Re: Designer fx - Data from other Datasource problem

Post by beotic »

I join an asp project. Put the file datasource.mrt in C:, or modify the Impression.aspx code.
Call the page http://localhost/StimulsoftSupport20151/Impression.aspx
In the template, i create a data from an other datasource in ordre to create a data with the groupName and the count of line by group.
In the first data band the projects are listed
In the second data band the data from other datasource is listed but nothing is displayed...
Can you help me?

PS : I try it with 2013.3 and 2015.2 version.

Thanks in advance
Attachments
StimulsoftSupport20151113.zip
(1.21 MiB) Downloaded 233 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Designer fx - Data from other Datasource problem

Post by HighAley »

Hello.

Unfortunately, it's impossible to create Data source from Business objects.
You could try to register your business objects with RegData() method.

Thank you.
beotic
Posts: 11
Joined: Thu Nov 12, 2015 2:56 pm

Re: Designer fx - Data from other Datasource problem

Post by beotic »

Is it so diffcult to manage it in your source code?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Designer fx - Data from other Datasource problem

Post by HighAley »

Hello.

It's more easy to get necessary data with LINQ and register it in the report.

Thank you.
Post Reply