Determine if specific business object is used in report

Stimulsoft Reports.Silverlight discussion
Locked
LeleDiEdo
Posts: 5
Joined: Fri Jan 31, 2014 10:42 am

Determine if specific business object is used in report

Post by LeleDiEdo »

Hi,

I placed in the dictionary some Business Objects so users can design reports in different scopes.

When the report will be displayed, I need to know which Business Objects are used so I can populate only these avoiding to populate all.

Is that achievable?

Any help you can provide will be greatly appreciated.

Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Determine if specific business object is used in report

Post by Alex K. »

Hello,

You can use the following code:

Code: Select all

StiBusinessObjectHelper.GetUsedBusinessObjectsNames(StiReport);
Thank you.
Locked