如何从SharePoint 2013中以分号csv文件导出报告。
我在SharePoint 2010中通过更改报表服务器来做到这一点,但是SharePoint 2013中的报表服务与SharePoint 2010不同。
如果您需要它: -我有2台服务器,一台用于SharePoint 2013,另一台是数据库服务器(mssql 2014)。
答案 0 :(得分:0)
For Pipe delimited text format
-Sharepoint managemnt shell as Admin
-Run Get-SPRSServiceApplication to get GUID ID
-Run New-SPRSExtension -identity YOUR GUID ID -ExtensionType "Render" -name "TxtPipeDelimited" -TypeName "Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering" -ServerDirectives "<OverrideNames><Name Language='en-US'>TXT Pipe Delimited</Name></OverrideNames>" -ExtensionConfiguration "<DeviceInfo><FieldDelimiter>|</FieldDelimiter><NoHeader>true</NoHeader><FileExtension>txt</FileExtension><ExcelMode>False</ExcelMode><Encoding>ASCII</Encoding></DeviceInfo>"
-Run iisreset in Cmd line as admin(development server not production)
如果您需要删除标题,则将导出不包含标题的数据
<NoHeader>true</NoHeader>