简体   繁体   English

Visual Studio数据工具中用于SSRS的文档结构图报表-返回选项

[英]Document Map in Visual Studio Data Tools for SSRS report - back option

I have a question on how to use Document Map for for a SSRS report. 我对如何将文档结构图用于SSRS报告有疑问。 I'm able to get the map using a group called Name which is what I want, but I also want the ability to go back to the main page of the report using back in the document map or by clicking somewhere in the page that the user is on. 我可以使用名为Name的组来获取地图,但这是我想要的,但我也希望能够使用文档映射中的返回或单击页面中某处的位置返回报表的主页。用户已开启。 The tricky part is that it has to work when exported to PDF. 棘手的部分是它必须在导出为PDF时才能工作。

You can do this by adding a parent group to your report. 您可以通过将父组添加到报告中来实现。

Select the highest level group in your report and then add a parent group. 在报告中选择最高级别的组,然后添加一个父组。 You can group by any value so just type 1 in the group by expression and this will be OK. 您可以按任何值分组,因此只需在表达式分组中键入1,就可以了。 Then right-click the group and set the document map value to something like ="Top" or whatever you want to show in the map. 然后,右键单击该组,然后将文档结构图值设置为="Top"或要在结构图中显示的任何值。

You can hide the column that is created if required. 如果需要,您可以隐藏创建的列。

"Top" will now appear at the top of the map and users will be able to use this when rendered to PDF if bookmarks are showing. 现在,“顶部”将出现在地图的顶部,如果显示书签,则用户在将其呈现为PDF时将能够使用它。

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

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