Page 1 of 1

Determine if specific business object is used in report

Posted: Fri Jan 31, 2014 5:21 pm
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

Re: Determine if specific business object is used in report

Posted: Mon Feb 03, 2014 6:01 am
by Alex K.
Hello,

You can use the following code:

Code: Select all

StiBusinessObjectHelper.GetUsedBusinessObjectsNames(StiReport);
Thank you.