查询报表模板ID
select ID as '策略中使用的ID',*
from dbo.UBF_MD_ASRPT_Category
where cname like '%管理库龄分析报表%'--报表模板容器名称
模板与策略绑定
ReportID:报表容器ID。Type:策略类。Assembly:策略所在DLL
<UserReportStrategy ReportID="238BE065-8197-49AB-ABD6-DBEB3B9009B1"
Type="UFIDA.U9.UserDefine.CA.RptProcessStrategy.ManuPlanStrategy"
Assembly="UFIDA.U9.UserDefine.CA.RptProcessStrategy" />
策略文件部署
策略文件位置
把策略文件部署到文件夹:U9\Portal\UILib
找到配置文件U9\Portal\UserReportStrategyConfig.xml
若没有则新建
格式为:
<UserReportStrategyConfig>
…配置节…
</UserReportStrategyConfig>
添加配置节
ReportID:报表容器ID。Type:策略类。Assembly:策略所在DLL
<UserReportStrategy
ReportID="4652225b-8b46-4bd4-a347-d5751c05acc7"
Type="UFIDA.U9.UserDefine.CA.RptProcessStrategy.ManuPlanStrategy"
Assembly="UFIDA.U9.UserDefine.CA.RptProcessStrategy" />
报表属性
- 模板描述:在Portal导航栏显示的名称
- 策略类型全称:报表策略类命名空间+类名
- 策略程序集:策略类所在的程序集dll名称,不需要写程序集后缀.dll
评论 (0)