Skip to Content
0
Former Member
Apr 07, 2011 at 06:57 AM

crystal report refresh based on document ID

47 Views

Hi All,

i am able to do webi report refresf based on document id but i am not able to find crystal report refresh based on document ID BO SDK API on JAVA.

please help me on this?

the below code is for webi report refresh :

ReportEngines engines = (ReportEngines) Esession.getService("ReportEngines");

ReportEngine widocRepEngine = (ReportEngine) engines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);

widocRepEngine.setLocale("en_US");

DocumentInstance doc = widocRepEngine.openDocument(documentId);

doc.refresh();