.REP and/or .WID Runtime Engine - Business Objects?
-
12-01-2021 - |
Question
Is there any kind of runtime engine for Business Objects .REP and/or .WID files? I have been searching, but I have not found anything.
NOTE: I am not referring to .RPT and/or Crystal Reports
For example, if I wanted to open a .REP report within in a .Net application, how would this be done?
Solution
The processing will happen on the server for WID files, but there is a ReportEngine for processing them.
I am not familiar with .NET but the Java code is as such:
// acquire your enterpriseSession via your preferred route.
IEnterpriseSession enterpriseSession;
// begin retrieval of ReportEngine
ReportEngines engines = (ReportEngines)enterpriseSession.getService("ReportEngines");
ReportEngine webiReportEngine = engines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
// Use the ReportEngine to open a document
DocumentInstance docInstance = webiReportEngine.openDocument(obj.getID());
Hopefully this helps.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow