Page 1 of 1

Determine if business object is used in Report

Posted: Wed Sep 25, 2013 2:38 pm
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.

Re: Determine if business object is used in Report

Posted: Wed Sep 25, 2013 2:46 pm
by Metusariel
Ok, nevermind, i just found StiReport.Dictionary.BusinessObjects to list existing BO.

Re: Determine if business object is used in Report

Posted: Thu Sep 26, 2013 12:09 pm
by HighAley
Hello.

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

Thank you.