【仅供内部供应商使用,不提供对外解答和培训】

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

主要针对内容为填报模板, 可以做到类似原生FR直接一键下载并缓存到数据库. 然后在调用的暂存界面中查看.

 

流程如下: 

  1. 首先在整个应用中使用FRSDK.init(context), 初始化FR需要的一些基础信息.

2. 然后调用IFIntegrationUtils.cacheServerInfo(this, "test", "http://xxx:8075/WebReport/ReportServer", "x", "x", x); 

存储目标服务器信息到数据库, 便于后续的数据库操作下载模板.

3.调用下载模板接口. IFIntegrationUtils.downloadAndCacheReports 批量或者单个下载IFIntegrationUtils.downloadAndCacheReport

4.调用暂存界面查看下载的暂存模板 IFIntegrationUtils.loadCacheReportView(context);

  • No labels