Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

SSRS report viewer webpart - export- rename/append(file name) in Shareport 2010

$
0
0

Can anybody had renamed the file name while export SSRS report from report viewer webpart to excel/pdf in Sharepoint 2010?

I have a SSRS report viewer webpart on sharepoint page.. In actions - export- file download dialog box I would like to rename or append the file name with the report parameter value. Since I am not using custom code to create SSRS report viewer webpart, Is there any way we can do change in elements.xml file(below).

below is the code
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="Pages" List="101" Url="Pages">
    <File Path="Pages\Page.aspx" Url="Page.aspx" Type="GhostableInLibrary">
      <Property Name="Title" Value="Page"/>
      <AllUsersWebPart WebPartZoneID="MainZone">
        <![CDATA[
<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
  <FrameType>None</FrameType>
  <Description>Use the Report Viewer to view SQL Server Reporting Services reports.</Description>
  <IsIncluded>true</IsIncluded>
  <ZoneID>MainZone</ZoneID>
 
    <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
  <PartImageLarge>/_layouts/images/ReportServer/ReportWebPart.gif</PartImageLarge>
  <IsIncludedFilter />
  <Title>SQL Server Reporting Services Report Viewer</Title>
  <Assembly>Microsoft.ReportingServices.SharePoint.UI.WebParts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</Assembly>
  <TypeName>Microsoft.ReportingServices.SharePoint.UI.WebParts.ReportViewerWebPart</TypeName>
  <ReportPath xmlns="urn chemas-microsoft-com qlServerReportViewer">/Reports/Reports/Sample.rdl</ReportPath>
   <DockToolBar xmlns="urn chemas-microsoft-com qlServerReportViewer">Top</DockToolBar>
  <HyperlinkTarget xmlns="urn chemas-microsoft-com qlServerReportViewer">_top</HyperlinkTarget>
  <KeepSessionAlive xmlns="urn chemas-microsoft-com qlServerReportViewer">true</KeepSessionAlive>
  <AutoGenerateTitle xmlns="urn chemas-microsoft-com qlServerReportViewer">false</AutoGenerateTitle>
  <AutoGenerateDetailLink xmlns="urn chemas-microsoft-com qlServerReportViewer">false</AutoGenerateDetailLink>
  <AsyncRendering xmlns="urn chemas-microsoft-com qlServerReportViewer">true</AsyncRendering>
  <ToolBarMode xmlns="urn chemas-microsoft-com qlServerReportViewer">Full</ToolBarMode>
   <ToolBarItemsDisplayMode xmlns="urn chemas-microsoft-com qlServerReportViewer">Back Find PageNavigation Refresh Zoom AtomFeed Print Export</ToolBarItemsDisplayMode>
  <DocumentMapMode xmlns="urn chemas-microsoft-com qlServerReportViewer">Displayed</DocumentMapMode>
  <DocumentMapAreaWidth xmlns="urn chemas-microsoft-com qlServerReportViewer">200px</DocumentMapAreaWidth>
  <PromptAreaMode xmlns="urn chemas-microsoft-com qlServerReportViewer">Displayed</PromptAreaMode>
  <OverrideParameters xmlns="urn chemas-microsoft-com qlServerReportViewer" />
  <Title xmlns="urn chemas-microsoft-com qlServerReportViewer">Page</Title>
</WebPart>
]]>
      </AllUsersWebPart>
    </File>

We included Sql Server Reporting Services ReportViewer webpart in sharepoint aspx page in Elements.xml file



Viewing all articles
Browse latest Browse all 28687

Latest Images

Trending Articles



Latest Images