將 Reporting Services 內容類型新增至 SharePoint 文件庫Add Reporting Services content types to a SharePoint library

適用於:APPLIES TO: 是SQL Server Reporting Services (2016)SQL Server Reporting Services (2016) 是SharePointSharePoint 否Power BI 報表伺服器Power BI Report Server是SQL Server Reporting Services (2016)SQL Server Reporting Services (2016) 是SharePointSharePoint 否Power BI 報表伺服器Power BI Report Server

如需舊版 SQL Server Reporting Services (SSRS) 的相關內容,請參閱 SQL Server 2014 Reporting ServicesFor content related to previous versions of SQL Server Reporting Services (SSRS), see SQL Server 2014 Reporting Services.

Reporting ServicesReporting Services 會提供預先定義的 SharePoint 內容類型,可用來管理共用資料來源檔案 (.rsds)、報表模型檔案 (.smdl),以及報表產生器的報表定義檔案 (.rdl)。provides predefined SharePoint content types that are used to manage shared data source (.rsds) files, report models (.smdl), and Report Builder report definition (.rdl) files. [報表產生器報表][報表模型][報表資料來源] 內容類型加入至文件庫會啟用 [新增] 命令,讓您能夠建立該類型的新文件。Adding a Report Builder Report, Report Model, and Report Data Source content type to a library enables the New command so that you can create new documents of that type.

注意

SQL Server 2016 後即不再提供 Reporting Services 與 SharePoint 的整合。Reporting Services integration with SharePoint is no longer available after SQL Server 2016.

若要將內容類型加入至文件庫,您必須是網站管理員或具有「完整控制」等級的權限。To add content types to a library, you must be a site administrator or have Full Control level of permission.

系統會針對從下列網站範本類型建立的現有網站集合,在所有文件庫中自動啟用 Reporting ServicesReporting Services 內容類型與內容類型管理:The Reporting ServicesReporting Services content types and content type management will automatically be enabled in all document libraries for existing site collections created from the following site template types:

  • 商業智慧中心Business Intelligence Center

Reporting ServicesReporting Services 整合之後建立的網站將不會啟用 Reporting ServicesReporting Services 內容類型。Sites created after the Reporting ServicesReporting Services integration will not have the Reporting ServicesReporting Services content types enabled.

提示

如果您先前 沒有 設定文件庫的內容類型,請先啟用內容類型的管理,然後再啟用 Reporting ServicesReporting Services 內容類型。If you have not previously configured content types for a library, first enable management of content types, then enable the Reporting ServicesReporting Services content types. 請參閱在單一文件庫中啟用內容類型管理的程序。See the procedures on enabling content type management in a single document library.

短片: (SSRS) 啟用 SharePoint2010.wmv 中的內容類型 (https://www.youtube.com/watch?v=yqhm3DrtT1w) 。Short video: (SSRS) Enabling Content Types in SharePoint2010.wmv (https://www.youtube.com/watch?v=yqhm3DrtT1w).

本主題內容:In this topic:

在現有 BI 中心的所有文件庫中啟用內容類型Enable content types in all document libraries in an existing BI center

  1. 若要在現有 商業智慧中心 網站的所有文件庫中啟用內容類型與內容管理,您可以切換 Reporting ServicesReporting Services 整合功能。To enable the content types and content management in all document libraries in an existing Business Intelligence Center site, you can toggle the Reporting ServicesReporting Services integration feature.

  2. 前往 [網站設定]Go to Site settings.

    • 在 SharePoint 2013,按一下 [設定] 圖示。In SharePoint 2013, click the Settings icon. SharePoint 設定SharePoint Settings

    • 在 SharePoint 2010,按一下 [網站動作] ,然後按一下 [網站設定]In SharePoint 2010, click Site Actions, then click Site Settings.

  3. 按一下 [網站集合功能]Click Site collection features.

  4. 尋找 [報表伺服器整合功能] 並按一下 [停用]Find the Report Server Integration Feature and click Deactivate.

    rs_reportserver_integration_activers_reportserver_integration_active

  5. 重新整理瀏覽器,然後按一下 [報表伺服器整合功能][啟動]Refresh the browser then click Activate for the Report Server Integration Feature.

啟用單一文件庫的內容類型管理 (SharePoint 2013)To enable content type management for a single document library (SharePoint 2013)

  1. 開啟要啟用多個內容類型的文件庫。Open the library for which you want to enable multiple content types.

  2. 在功能區中,按一下 [文件庫]Click Library in the ribbon.

    rs_SharePoint2013_LibraryRibbonrs_SharePoint2013_LibraryRibbon

  3. [文件庫] 功能區中,按一下 [文件庫設定]On the Library ribbon, click Library Settings. 如果看不到 [文件庫設定] 或按鈕已停用,表示您沒有設定文件庫設定 (包括內容類型) 的權限。If you do not see Library Settings or the button is disabled, you do not have permission to configure library settings, including content types.

    rs_SharePoint2013_LibrarySettingsrs_SharePoint2013_LibrarySettings

  4. 按一下 [一般設定] 區段中的 [進階設定]In the General Settings section, click Advanced settings.

    rs_SharePoint2013_LibrarySettings_AdvancedSettingsrs_SharePoint2013_LibrarySettings_AdvancedSettings

  5. [內容類型] 區段中,選取 [是] 允許內容類型的管理。In the Content Types section, select Yes to allow management of content types.

  6. 按一下 [確定] 。Click OK.

加入 Reporting Services 內容類型 (SharePoint 2013)To add Reporting Services content types (SharePoint 2013)

  1. 開啟要加入 Reporting Services 內容類型的程式庫。Open the library for which you want to add Reporting Services content types.

  2. 在功能區中,按一下 [文件庫]On the ribbon, click Library.

  3. 按一下 [文件庫設定]Click Library Settings.

  4. [內容類型] 底下,按一下 [從現有的網站內容類型新增]Under Content Types, click Add from existing site content types.

  5. [從下列位置選取網站內容類型] ,選取 [SQL Server Reporting Services 內容類型]In Select site content types from, select SQL Server Reporting Services Content Types.

  6. [可用的網站內容類型] 清單中,按一下 [報表產生器] ,然後按一下 [加入] 將選取的內容類型移至 [要新增的內容類型] 清單。In the Available Site Content Types list, click Report Builder, and then click Add to move the selected content type to the Content types to add list.

  7. 若要加入 [報表模型][報表資料來源] 內容類型,請重複上一個步驟。To add Report Model and Report Data Source content types, repeat the previous step.

  8. 當您完成新增內容類型後,按一下 [確定]When you finish adding content types, click OK.

    注意

    如果在 [新增內容類型] 頁面上看不到 Reporting ServicesReporting Services 內容類型群組 [SQL Server Reporting Services 內容類型] ,表示下列有一條件成立:If the Reporting ServicesReporting Services content type group SQL Server Reporting Services Content Types is not visible on the Add Content Types page, one of the following conditions is true:

    • 尚未安裝適用於 SharePoint 產品的 Reporting ServicesReporting Services 增益集。The Reporting ServicesReporting Services add-in for SharePoint products has not been installed. 如需詳細資訊,請參閱 安裝或解除安裝 SharePoint 的 Reporting Services 增益集For more information, see Install or Uninstall the Reporting Services Add-in for SharePoint. 本主題包含安裝增益集的資訊,並逐步帶領您進行增益集中僅檔案部分的安裝,以解決問題。The topic includes information on installing the add-in and stepping through a files only installation of the add-in to work around issues.

    • 安裝了增益集,但網站集合功能的 [報表伺服器整合功能] 未啟用。The add-in is installed but the site collection feature Report Server Integration Feature is not active. 請確認 [網站設定] 中的網站集合功能。Verify the site collection feature in Site Settings.

    • 所有 Reporting ServicesReporting Services 內容類型已經加入至文件庫。All of the Reporting ServicesReporting Services content types have already been added to the library. 如果所有內容類型是文件庫的一部分,則該群組已從 [新增內容類型] 頁面中移除。If all the content types are part of a library, then the group is removed from the Add Content Types page. 如果您刪除一個或多個 Reporting ServicesReporting Services 內容類型,就會在 [新增內容類型] 頁面上看到群組 [SQL Server Reporting Services 內容類型]If you delete one or more of the Reporting ServicesReporting Services content types, then the group SQL Server Reporting Services Content Types will be visible on the Add Content Types page.

啟用單一文件庫的內容類型管理 (SharePoint 2010)To enable content type management for a single document library (SharePoint 2010)

  1. 開啟要啟用多個內容類型的文件庫。Open the library for which you want to enable multiple content types. 在文件庫功能表列上,您應該會看見下列功能表: [新增][上傳][動作][設定]On the library menu bar, you should see the following menus: New, Upload, Actions, and Settings. 如果您看不到 [設定] ,表示您沒有加入內容類型的權限。If you do not see Settings, you do not have permission to add a content type.

  2. [文件庫工具] 功能區中,按一下 [文件庫]On the Library Tools ribbon, click Library.

    rs_SharePoint2010_LibraryRibbonrs_SharePoint2010_LibraryRibbon

  3. 按一下 [設定] 功能區群組的 [文件庫設定]On the Settings ribbon group, click Library Settings.

  4. [一般設定] 底下,按一下 [進階設定]Under General Settings, click Advanced settings.

  5. [內容類型] 區段中,選取 [是] 允許內容類型的管理。In the Content Types section, select Yes to allow management of content types.

  6. 按一下 [確定] 。Click OK.

若要加入報表伺服器內容類型 (SharePoint 2010)To add report server content types (SharePoint 2010)

  1. 開啟要加入 Reporting Services 內容類型的程式庫。Open the library for which you want to add Reporting Services content types.

  2. 按一下 [文件庫工具] 功能區索引標籤的 [文件庫] 索引標籤。On the Library Tools ribbon tabs, click the Library tab.

  3. 按一下 [設定] 功能區群組的 [文件庫設定]On the Settings ribbon group, click Library Settings.

  4. [內容類型] 底下,按一下 [從現有的網站內容類型新增]Under Content Types, click Add from existing site content types.

  5. [選取內容類型] 區段的 [從下列位置選取網站內容類型] 中,按一下箭號選取 [SQL Server Reporting Services 內容類型]In the Select Content Types section, in Select site content types from, click the arrow to select SQL Server Reporting Services Content Types.

  6. [可用的網站內容類型] 清單中,按一下 [報表產生器] ,然後按一下 [加入] 將選取的內容類型移至 [要新增的內容類型] 清單。In the Available Site Content Types list, click Report Builder, and then click Add to move the selected content type to the Content types to add list.

  7. 若要加入 [報表模型][報表資料來源] 內容類型,請重複上一個步驟。To add Report Model and Report Data Source content types, repeat the previous step.

  8. 當您完成新增內容類型後,按一下 [確定]When you finish adding content types, click OK.

啟用多個 BI 網站的內容類型與內容管理To enable content types and content management for multiple BI sites

  1. 對於 SQL Server Reporting Services 2008 及 2008 R2 報表伺服器,您可以啟用多個商業智慧中心網站的內容類型與內容管理:For SQL Server Reporting Services 2008 and 2008 R2 report servers, you can enable content types and content management for multiple Business Intelligence Center sites:

  2. 在 [SharePoint 管理中心],按一下 [一般應用程式設定]In SharePoint Central Administration, click General Applications settings. 在 [SQL Server Reporting Services (2008 和 2008 R2)] 區段中,按一下 [Reporting Services 整合] 。In the SQL Server Reporting Services (2008 and 2008 R2) section, click Reporting Services Integration.

    rs_general_app_settingsrs_general_app_settings

  3. 按一下 [所有現有網站集合中的啟動功能]Click Activate feature in all exciting site collections.

    rs_general_app_settings_old_integrationsrs_general_app_settings_old_integrations

  4. 按一下 [確定]Click Ok.

另請參閱See also

報表伺服器項目的 SharePoint 網站和清單權限參考 SharePoint Site and List Permission Reference for Report Server Items
啟動報表產生器Start Report Builder