简体   繁体   English

您应该在SSRS中分离报表部件吗?

[英]Should you separate Report Parts in SSRS?

I'm designing some reports in SSRS 2008 R2. 我正在设计SSRS 2008 R2中的一些报告。 When I publish these reports to my SSRS server, it stores my assets, variables and etc in a directory called "Report Parts". 当我将这些报告发布到SSRS服务器时,它将我的资产,变量等存储在名为“报告部件”的目录中。 It seems SSRS does this for every report even though I can specify separate folders per report. 即使我可以为每个报告指定单独的文件夹,似乎SSRS也会为每个报告执行此操作。

SO the question is: should I separate my report parts per report OR is it safe to jam all my report parts into one directory? 所以问题是:我应该将每个报告的报告部分分开,还是将所有报告部分都塞进一个目录中是否安全?

I do a lot of programming. 我做了很多编程。 My gut says to separate them always, but I figured I would ask before I find myself with a load of report parts that have the same names. 我的直觉说要始终将它们分开,但是我想我会问自己,发现自己的报告部分带有相同的名称。

No, If you have report parts that are going to be used in multiple reports, it is bad practice to have duplicates (in my opinion). 不,如果您有要在多个报告中使用的报告部件,则重复(按我的观点)是不好的做法。 If you have to make an update, then you will have to update each report part separately and run the risk of missing updating one, plus it will take you a lot longer. 如果必须进行更新,则必须分别更新每个报告部分,并冒丢失更新部分的风险,而且这将花费更长的时间。

For shared report parts you should put them all in a shared folder(s). 对于共享报表部件,应将它们全部放在共享文件夹中。 It does make sense to separate them into different folders though if you're going to have a lot of them, so they are easier to manage. 将它们分成不同的文件夹确实很有意义,但是如果要使用很多文件夹,则更易于管理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM