Determine if business object is used in Report

Stimulsoft Reports.WEB discussion
Post Reply
Metusariel
Posts: 9
Joined: Wed Sep 04, 2013 3:39 pm

Determine if business object is used in Report

Post by Metusariel »

Hi,

I have this new scenario:

Im building a report manager in asp .net using Reports Web. End user will be able to:
1 Create a report (report x)
2 select datasources (via business objects previously coded). Example: business objects A, B
3 Design report

All 3 previous steps work fine, but i want to give the posibility that, once report x is created, user can return and edit point number 2, (select additional business objects: C, D, etc.) or remove A or B.

To do so, i need to:
1. be able to determine if a Business object is already included in the report and remove it programatically.
2. Add C or D, without affecting existing objects.

Is that achievable?

Any help you can provide will be greatly appreciated.

Regards.
Metusariel
Posts: 9
Joined: Wed Sep 04, 2013 3:39 pm

Re: Determine if business object is used in Report

Post by Metusariel »

Ok, nevermind, i just found StiReport.Dictionary.BusinessObjects to list existing BO.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Determine if business object is used in Report

Post by HighAley »

Hello.

we are very glad to work with such customers.
Let us know if you need any additional help.

Thank you.
Post Reply