在 SharePoint Server 中規劃變化Plan for variations in SharePoint Server

摘要: 了解如何進行變化的規劃、識別來源與目標變化網站,並決定如何使用 SharePoint Server 2016、SharePoint Server 2013 與 SharePoint Online 在目標變化網站上同步處理內容。Summary: Learn how to plan for variations, identify the source and target variation sites, and decide how content will be synced on target variation sites in SharePoint Server 2016, SharePoint Server 2013, and SharePoint Online.

SharePoint Server 與 SharePoint Online 中的變化功能可將來源變化網站上的內容同步處理至每個目標變化網站,使內容可供不同網站上的特定對象使用。目標變化網站上的內容可先翻譯成其他語言,再行發佈。只有使用其中一個「發佈」網站範本建立的網站,或是已啟用 SharePoint Server 發佈基礎結構功能的網站,才能使用變化。The variations feature in SharePoint Server and SharePoint Online makes content available to specific audiences on different sites by syncing content from a source variation site to each target variation site. Content on a target variation site can be translated into other languages before it is published. Variations can be used only on sites that are created by using one of the Publishing site templates, or on a site for which the SharePoint Server Publishing Infrastructure feature was activated.

本文將提供您在發佈網站集合中使用變化時所應考量之重要事項的相關資訊,並說明您規劃在 SharePoint Server 中使用變化的解決方案時所須執行的相關工作。本文將不提供變化的概觀、說明變化的使用方式,或解說變化標籤與階層的建立方式。如需變化的詳細資訊,請參閱SharePoint Server 中的變化概觀This article contains information about important items that you should consider when you use variations in a publishing site collection, and it describes the tasks that are involved in planning a solution that uses variations in SharePoint Server. This article does not provide an overview of variations, describe how to use variations, or explain how to create variation labels and hierarchies. For more information about variations, see Variations overview in SharePoint Server.

關於規劃變化About planning variations

在本文說明的規劃程序中,首先會說明您在計劃將變化用於 SharePoint Server 解決方案時所應考量的重要事項。接著將會說明您計劃將變化用於 SharePoint Server 時所需執行的步驟。這些步驟包括:The planning process that is described in this article starts with describing important items that you should consider when you plan to use variations with a SharePoint Server solution. The remainder of the article describes the steps that are required to plan for using variations with SharePoint Server. These steps include the following:

  • 確認所需的變化及選取變化根網站。Determine the variations that are needed and select the variations root site.

  • 指定來源變化網站及規劃目標變化網站。Specify the source variation site and plan the target variation sites.

  • 決定如何在目標與來源網站上建立網站、清單與頁面。Decide how sites, lists, and pages will be created on the target source sites.

  • 規劃如何排程變化計時器工作。Plan how variations timer jobs will be scheduled.

您可以將這項資訊記錄在變化規劃工作表中。You can record this information in the Variations planning worksheet.

計劃使用變化時所應考量的重要事項Important items to consider when planning to use variations

在您計劃將變化用於 SharePoint Server 解決方案之前,應留意變化與其他 SharePoint Server 功能之間的互動。本節將提供您計劃將變化用於 SharePoint Server 解決方案時所應考量之重要事項的相關資訊。Before you plan to use variations with a SharePoint Server solution, you should be aware of the interaction between variations and other SharePoint Server features. This section contains information about important items to consider when you plan to use variations with a SharePoint Server solution.

內容核准Content approval

內容核准是具有核准者權限的網站成員據以控制內容發佈的方法。在進行內容核准時,若核准了新的主要版本,則會將內容視為已發佈的內容,因為主要版本可供具有讀取權限的使用者檢視。在變化網站上進行內容核准時,必須在來源與目標變化網站上的頁面庫中進行主要與次要版本設定。如需內容核准的詳細資訊,請參閱規劃內容核准與排程 (SharePoint Server 2010)Content approval is the method by which site members with approver permissions control the publication of content. In content approval, content is considered published when a new major version is approved, because major versions are viewable by users who have read permissions. Content approval in variation sites requires major and minor versioning in the Pages libraries on the source and target variation sites. For more information about content approval, see Plan content approval and scheduling (SharePoint Server 2010).

內容核准具有某些特殊因素是您在規劃變化時所應考量的:Content approval has unique factors that you should consider when you are planning variations:

  • 在來源變化網站上提交頁面以供核准時,會使用下列欄中儲存的值 (依照下列順序) 產生電子郵件訊息,並傳送至頁面的連絡人:On the source variation site, when a page is submitted for approval, an e-mail message is generated and sent to the contact of the page by using the values stored in the following columns, in the following order:

    • 連絡人Contact

    • 連絡人電子郵件地址Contact E-Mail Address

    • 修改者Modified By

      注意

      系統會從 [連絡人]**** 欄位開始檢查每個欄位,看其中是否含有可用來傳送通知的連絡人資訊。若第一個欄位是空的,則會嘗試下一個欄位,直到找到連絡人資訊為止。Starting with the Contact field, each field is checked for contact information to which the notification can be sent. If the first field is empty, the next field is tried until contact information is found.

      頁面經核准可發佈後,將可同步處理至目標變化網站。您可以設定變化設定,讓內容以手動或自動方式同步處理至變化網站。After the page is approved for publication, it is enabled for syncing to the target variation sites. You can configure the variations settings so that content is either manually or automatically synced to the variation sites.

  • 在目標變化網站上,同步處理自來源變化網站的頁面一律會被次要版本號碼。如果對目標網站而言是新頁面,則會指派 0.1 版。若該頁面已存在於目標變化網站上,則會為同步處理的頁面指派下一個可用的次要版本號碼。例如,若目標變化網站上有某個頁面的 2.1 版,當該頁面的新變化同步處理至目標網站時,新頁面將會是 2.2 版。On target variation sites, a page that is synced from the source variation site is always assigned a minor version number. If the page is new to the target site, it is assigned version 0.1. If the page already exists on the target variation site, the synced page is assigned the next available minor version number. For example, if a target variation site has version 2.1 of a page and a new variation of that page is synced to the target site, the page becomes version 2.2.

  • 若在來源變化網站上發佈了某個頁面,當頁面同步處理至目標變化網站時,[核准] **** 狀態會設為 [草稿]*。若在目標變化網站上的頁面庫中啟用了 [內容核准]* 與 [文件版本歷程記錄]*,則必須先在每個目標變化網站上核准頁面,讀取者才能使用頁面。If a page is published on the source variation site, when the page is synced to target variation sites, the *Approval status is set to Draft. If Content Approval and Document Version History are enabled in the Pages library on target variation sites, the page must be approved on each target variation site before the page is available to readers.

注意

對源自來源變化網站上的內容所做的變更,可取代對目標變化網站上的內容所做的變更。例如,若來源變化網站使用某一語言,而目標變化網站使用另一種語言,則可能發生下列情況:編輯者變更了目標變化網站上的當地語系化頁面,而為其指派新的次要版本 1.1。接著,來源變化網站上的作者對相同頁面做了不同的變更,並將其同步處理至目標變化網站,成為 1.2 版。此變更會取代頁面的 1.1 版變更。在此範例中,目標變化網站的編輯者將必須從 [版本歷程記錄]**** 還原頁面的上一個版本、接受新版本,或使用 [檢視變更]**** 按鈕檢視頁面的目前版本與上一個版本之間的差異,然後手動將新、舊版本合併為新版本。如需版本設定的詳細資訊,請參閱在 SharePoint Server 2013 中規劃文件版本設定、內容核准和取出控制Changes made to content that originates on the source variation site can supersede changes made to the content on the target variation site. For example, if the source variation site is in one language and the target variation site is in another, the following situation might occur: An editor changes a localized page on the target variation site, assigning it a new minor version, 1.1. Then, a writer on the source variation site makes different changes to the same page, which is synced to the target variation site as version 1.2. This supersedes the version 1.1 changes to the page. In this example, an editor for the target variation site would have to restore the previous version of the page from the Version History, accept the new version, or use the View Changes button to view differences between the current version and previous versions of the page, and manually merge the new and previous versions into a new version. For more information about versioning, see Versioning, content approval, and check-out planning in SharePoint Server 2013.

在使用網站變化時,您必須謹慎規劃您的網站導覽體驗。在 SharePoint Server 中,目前網站之對等網站的網站導覽連結會自動產生並顯示在網頁的 [全域導覽] 與 [目前導覽] 功能表中。在變化網站中,目前網站的對等網站會是相同網站的變化,因此您可能不會想讓網站使用者能夠以此方式瀏覽其他網站。您可以使用 [導覽設定]**** 頁面變更 [全域導覽] 與 [目前導覽] 功能表的設定,如此對等網站就不會顯示出來。If you use site variations, you must plan your site navigation experience carefully. In SharePoint_Server, site navigation links to the current site's peer sites are automatically generated and displayed in the Global Navigation and Current Navigation menus of a web page. In variation sites, where the current site's peers are variations of the same site, you might not want to give site users the ability to browse to other sites in this manner. You can use the Navigation Settings page to change the settings of the Global Navigation and Current Navigation menus so that peer sites are not displayed.

注意

在來源變化網站上對網站導覽所做的變更,不會同步處理至目標變化網站。若要讓目標變化網站上的網站導覽與來源變化網站上的網站導覽相符,您必須手動變更目標變化網站上的網站導覽設定。Changes to site navigation on the source variation site are not synced to the target variation sites. If you want the site navigation on target variation sites to match the site navigation on the source variation site, you must manually change the site navigation settings on the target variation sites.

如需網站導覽的詳細資訊,請參閱 SharePoint Server 中的網站導覽概觀For more information about site navigation, see Overview of site navigation in SharePoint Server.

內容部署Content deployment

內容部署會將來源網站集合中的內容複製到目的地網站集合。Content deployment copies content from a source site collection to a destination site collection.

在 [變化建立階層工作定義] 執行時,建議您停用任何包含來源變化網站的內容部署工作。若在 [變化建立階層工作定義] 計時器工作執行期間同時執行內容部署,僅部分建立的目標變化網站可能會同步處理至目的地伺服器上的目標變化網站。We recommend that you disable any content deployment jobs that include the source variation site while Variations Create Hierarchies Job Definition runs. If content deployment runs while the Variations Create Hierarchies Job Definition timer job is also running, a target variation site that is only partially created may be synced to the target variation site on the destination server.

如需內容部署規劃的詳細資訊,請參閱規劃內容部署For more information about content deployment planning, see Plan content deployment .

跨網站發佈Cross-site publishing

不同於會將來源變化網站中的內容同步處理至目標變化網站的變化功能,跨網站發佈功能只會使用搜尋索引顯示其他網站上的內容。您可以將清單或文件庫當作以搜尋服務編製索引的共用目錄,然後在其他頁面與其他網站集合的網頁組件中顯示查詢結果中的內容。Unlike the variations feature, which syncs content from a source variation site to a target variation site, the cross-site publishing feature uses the search index to only show content on other sites. You can share a list or library as a catalog, which is indexed by the search service, and then show the content in query results in Web Parts on other pages and in other site collections.

變化功能只能同步處理單一網站集合內的內容。但您可以將清單與文件庫當作變化網站中的共用目錄。接著,您可以建立不限數量的網站集合以顯示您的變化標籤,以及顯示這些網站集合中的內容。此可以讓您不同的變化標籤具有不同的國碼頂層網域。例如,您可以有 contoso.co.uk 或 contoso.mx。The variations feature is limited to syncing content within a single site collection. However, you can share lists and libraries as catalogs in variation sites. Then you can create any number of site collections to represent your variation labels, and display content in these site collections. This enables you to have different country code top-level domains for different variation labels. For example, you can have contoso.co.uk or contoso.mx.

注意

跨網站發佈僅適用於 SharePoint Server。Cross-site publishing is available only in SharePoint Server.

如需跨網站發佈的相關資訊,請參閱規劃 SharePoint Server 的跨網站發佈For information about cross-site publishing, see Plan for cross-site publishing in SharePoint Server.

如需如何規劃要在多語系跨網站發佈網站上使用變化時之網站架構的詳細資訊,請參閱SharePoint Server 中多語系跨網站發佈網站的規劃變化For information about how to plan your site architecture when you want to use variations on a multilingual cross-site publishing site, see Plan variations for multilingual cross-site publishing site in SharePoint Server.

網頁組件Web Parts

網頁組件是頁面中以 SharePoint Server 為基礎的建置區塊之一。網頁組件大多是用來顯示特定資料類型的,例如文字、HTML 或影像。SharePoint Server 包含一組預設的網頁組件,而您也可以開發或匯入自訂網頁組件。A Web Part is one of the building blocks of pages based on SharePoint Server. Most Web Parts are designed to display a specific type of data, such as text, HTML, or images. SharePoint Server includes a default set of Web Parts, and you can also develop or import custom Web Parts.

網頁組件會與變化網站的頁面同步處理。若啟用了 [更新目標頁面網頁組件]*,當包含網頁組件的頁面同步處理至目標變化網站時,該網頁組件將只會在目標變化網站上更新。若網頁組件出現在不同目標變化網站上的多個目標頁面上,當來源變化網站上的頁面同步處理至目標變化網站時,該網頁組件的所有執行個體都將會更新。例如,若某個頁面包含媒體網頁組件,而該網頁組件依設定指向在變化階層外的網站上所儲存的視訊 A。當此頁面發佈於來源變化網站上時,頁面將會同步處理至所有的目標變化網站。目標變化網站上的頁面會在媒體網頁組件中顯示視訊 A。若來源變化網站上的頁面有所更新,而媒體網頁組件轉而指向視訊 B,目標變化網站上的頁面仍將指向視訊 A,直到來源變化網站上的頁面發佈並同步處理至目標變化網站為止。此外,若目標變化網站上的讀取者無權檢視儲存在變化階層外的視訊檔,他們將無法檢視視訊。若要預防這種非預期的網頁組件行為,您可以適當設定變化設定,讓網頁組件更新不會同步處理至目標變化網站。Web Parts are synced with pages of variation sites. If *Update Target Page Web Parts is enabled, Web Parts are updated only on the target variation site if a page that contains that Web Part is synced to the target variation site. If the Web Part appears on multiple target pages on different target variation sites, all instances of the Web Part are updated when the page from the source variation site is synced to the target variation sites. For example, if a page contains a Media Web Part, and the Web Part is configured to point to video A that is stored on a site outside the variations hierarchy, when the page is published on the source variation site, the page is synced to all target variation sites. The pages on the target variation sites display video A in the Media Web Part. If the page on the source variation site is updated and the Media Web Part is changed to point to video B, the pages on the target variation sites continue to point to video A until the page on the source variation site is published and synced to the target variation sites. Also, if readers on the target variation sites do not have permission to view the video file that is stored outside the variations hierarchy, they cannot view the video. To prevent unintended Web Parts behavior such as this, you can configure the variations settings so that Web Part updates are not synced to target variation sites.

多語系網站Multilingual sites

SharePoint Server 具有數項功能可供您支援位於不同地區或使用不同語言的使用者。您可以利用這些功能建立使用不同語言的網站,以及讓使用者能夠以網站建構語言以外的語言,檢視網站的使用者介面。若您想將變化用於多語言網站上,您必須另行執行其他步驟,以啟用變化網站的多語言支援。如需如何規劃多語言網站的詳細資訊,請參閱在 SharePoint Server 中規劃多語系網站SharePoint Server has several features that enable you to support users in different regions or users who speak different languages. You can use these features to create websites in different languages and to enable users to view the user interface of a site in a language other than the one in which a site was created. If you plan to use variations with multilingual sites, there are additional steps that you must follow to enable multilingual support for the variation sites. For more information about how to plan multilingual sites, see Plan for multilingual sites in SharePoint Server.

確認所需的變化Determine the variations needed

變化可用來建立多語言網站和以地區差異為基礎的網站。請確認您的解決方案需要哪些變化,並列出屬於變化階層的網站清單。Variations are used to create multilingual sites, and sites based on regional differences. Determine which variations are needed for your solution, and make a list of the sites that will belong to the variations hierarchy.

若您要使用變化在 SharePoint Server 中建立多語言網站,且您要以其他語言顯示目標變化網站的網站管理頁面,您必須為每個對應於變化網站的語言安裝語言套件。如需如何安裝語言套件的相關資訊,請參閱安裝或解除安裝 SharePoint 2016 的語言套件。如果您要使用變化在 SharePoint Online 中建立多語言網站,所有語言套件都將自動安裝,並可供使用。If you will be using variations for creating multilingual sites in SharePoint Server, and if you want the site administration pages of the target variation sites to be displayed in another language, you must install the language pack for each language that corresponds to a variation site. For information about how to install language packs, see Install or uninstall language packs for SharePoint Server 2016. If you will be using variations for creating multilingual sites in SharePoint Online, all language packs are installed and available for use.

指定來源變化網站Specify the source variation site

來源變化網站是所有網站所要共用的內容進行編輯與發佈的網站,也是用來將變更同步處理至目標變化網站的網站。您所建立的第一個變化標籤,會自動指定為來源變化網站。變化階層中只能有一個來源變化網站。來源變化網站一經指定,即無法變更。The source variation site is the site where content to be shared by all sites is authored and published, and it is the site that is used to sync changes to the target variation sites. The first variation label that you create is automatically specified as the source variation site. There can be only one source variation site for a variations hierarchy. After a source variation site is specified, it cannot be changed.

請檢閱變化解決方案的網站清單,並決定要以哪個網站作為來源變化網站。請在 [變化規劃工作表]**** 中,將解決方案的來源變化網站記錄在 [變化資料表] 索引標籤的頂層列中。請輸入下列幾欄的資訊:Review the list of sites for your variations solution, and decide which site will be the source variation site. Record the source variation site for your solution in the top row of the Variations data sheet tab in the Variations planning worksheethttps://go.microsoft.com/fwlink/p/?LinkId=279753. Enter the information for the following columns:

  • 網站範本語言 要作為預設使用者介面語言 (例如英文) 之語言套件的名稱。若您不在目標網站上使用多語言使用者介面,請將此欄保留為空白。Site template language The name of the language pack to use as the default user interface language. For example, English. If you are not using the multilingual user interface on the target sites, leave this column empty.

  • 地區設定 標籤所顯示的地區設定。例如英文 (美國)。Locale The locale that the label represents. For example, English (United States).

  • 變化首頁將會建立來源與目標變化的位置。變化首頁網站會提供所有變化網站的 URL,並包含會將使用者重新導向至正確變化網站的登陸頁面。首頁網站可以是網站集合中位於任何層級上的網站,包括頂層網站在內。但在指定首頁網站後,您將無法在點選 [建立階層]**** 後變更此網站,且您無法在網站集合中的任何其他位置使用變化。Variations home The location where the source and target variations will be created. The variation home site provides the URL for all variation sites and contains the landing page that redirects users to the correct variation site. The home site can be a site at any level in a site collection, including the top-level site. However, after you specify the home site, you cannot change it after you click Create Hierarchies, and you cannot use variations anywhere else in the site collection.

    若要指出網站集合的頂層網站,請輸入斜線 (/)。To indicate a top-level website of the site collection, type a slash (/).

    注意

    若首頁網站中包含網站階層,或包含您要在來源變化網站中加入的清單或頁面庫內容,您必須在來源變化網站建立後,手動將階層或內容複製到該網站。If the home site contains a site hierarchy, or list or Pages library content that you want to include in the source variation site, you must manually copy them to the source variation site after it is created.

  • 標籤名稱 將出現在 URL 中的名稱。Label name The name as it will appear in the URL.

  • 標籤說明 標籤的說明。Label description A description for the label.

  • 顯示名稱 將出現在網站導覽中的名稱。Display name The name as it will appear in the site navigation.

  • 發佈網站範本 用來建立來源變化網站的網站範本。請輸入 [具有工作流程的發佈網站] 或 [發佈網站]。Publishing site template The site template that is used to create the source variation site. Type Publishing Site with Workflow or Publishing Site.

  • 標籤連絡人 變化網站的一或多個連絡人。Label contact One or more contacts for the variation site.

規劃目標變化網站Plan target variation sites

檢閱變化階層的網站清單,然後將每個目標變化網站記錄在變化規劃工作表中。請為每個網站輸入下列幾欄的資訊。Review the list of sites for your variations hierarchy, and record each target variation site in the Variations planning worksheet. For each site, enter the information for the following columns.

  • 網站範本語言 要作為預設使用者介面語言 (例如德文) 之語言套件的名稱。若您不在目標網站上使用多語言使用者介面,請將此欄保留為空白。Site template language The name of the language pack to use as the default user interface language. For example, German. If you are not using the multilingual user interface on the target sites, leave this column empty.

  • 地區設定 標籤所顯示的地區設定。例如德文 (德國)。Locale The locale that the label represents. For example, German (Germany).

  • 標籤名稱 將出現在 URL 中的名稱。Label name The name as it will appear in the URL.

  • 標籤說明 標籤的說明。Label description A description for the label.

  • 顯示名稱 將出現在網站導覽中的名稱。Display name The name as it will appear in the site navigation.

  • 階層建立 來源階層中將會同步處理至目標變化網站的部分。請輸入下列其中一項:Hierarchy creation The portion of the source hierarchy that will be synced to the target variation site. Type one of the following:

    • 發佈網站、具有變化的清單,和所有頁面Publishing Sites, Lists with Variations, and All Pages

    • 僅限發佈網站Publishing Sites Only

    • 僅限根網站Root Site Only

  • 允許人工翻譯 目標標籤上是否允許人工翻譯。請輸入 Y 或 N。Allow human translation Whether to allow human translation on the target label. Type Y or N.

  • 譯者語言 允許人工翻譯時要在目標標籤上使用的譯者語言。Translator language The translator language to use on the target label if human translation is allowed.

  • 允許機器翻譯 目標標籤上是否允許機器翻譯。請輸入 Y 或 N。Allow machine translation Whether to allow machine translation on the target label. Type Y or N.

    注意

    如果伺服器上未啟用機器翻譯服務,機器翻譯選項即無法使用。If the Machine Translation Service is not enabled on the server, the machine translation option is not available.

  • 機器翻譯語言 允許機器翻譯時要在目標標籤上使用的機器翻譯語言。Machine translator language The machine translation language to use on the target label if machine translation is allowed.

  • 標籤連絡人 變化網站的一或多個連絡人。Label contact One or more contacts for the variation site.

注意

SharePoint Server 最多可支援 209 個變化標籤。SharePoint Online 最多可支援 50 個變化標籤。SharePoint Server supports up to 209 variation labels. SharePoint Online supports up to 50 variation labels.

規劃自訂主版頁面、配置頁面或樣式表Plan custom master pages, layout pages or style sheets

您可以決定在變化網站上使用自訂主版頁面、頁面配置或樣式表。例如,若網站上使用的語言是由右至左讀取,您可能需要不同的主版頁面與頁面配置。主版頁面、頁面配置與樣式表皆由網站集合的頂層網站所管理。因此,這些資源的所有變更皆必須在頂層網站上的其中一個位置進行,如下表所示。You can decide to use custom master pages, page layouts, or style sheets for variation sites. For example, you might need different master pages and page layouts for sites where the language is read right-to-left. Master pages, page layouts, and style sheets are managed only in the top-level site of a site collection. Therefore, you must make all changes to these resources in one of the locations in the top-level site as shown in the following table.

表格:資源進行變化自訂的位置Table: Resource locations for variations customization

資源Resource 位置Location
主版頁面Master Page
主版頁面圖庫Master Page Gallery
配置頁面Layout Page
主版頁面圖庫Master Page Gallery
XSL 樣式與階層式樣式表XSL styles and cascading style sheets
樣式庫Style Library

目標頁面可獨立於來源變更網站外使用不同的頁面配置。當來源網站的頁面配置變更時,目標頁面的頁面配置並不會隨之變更。Target pages can have different page layouts independent of the source variation site. If the page layout on the source site changes, the page layout of the target page is not changed.

規劃自訂內容類型Plan custom content types

對於來源變化網站的頁面庫中儲存的所有頁面,您必須使用相同的內容類型 (頁面內容類型,或是以頁面內容類型為基礎的內容類型)。若要這麼做,最簡單的方式就是使用網站集合之頂層網站中的 [網站內容類型]**** 頁面上定義的內容類型。You must use the same content type (either the Page content type, or a content type based on the Page content type) for all pages that are stored in the Pages library of the source variation site. The easiest way to do this is to use a content type that is defined on the Site Content Type page in the top-level site of the site collection.

若變化網站上有一或多個頁面必須要有自訂欄,請將這些欄新增至您在頁面庫中使用的內容類型。例如,您可以新增一個指出頁面是否已當地語系化的欄。如需如何規劃內容類型與欄的詳細資訊,請參閱Plan content types and workflows in SharePoint 2013If you must have custom columns for one or more pages on the variation sites, add them to the content type that you are using in your Pages libraries. For example, you can add a column that indicates whether the page was localized. For more information about how to plan content types and columns, see Plan content types and workflows in SharePoint 2013.

決定如何在目標變化網站上建立網站、清單與頁面Decide how sites, lists, and pages will be created on target variation sites

若在網站階層中,來源變化網站在其下將會有其他網站,您就必須規劃如何在目標變化網站上建立這些網站。有兩種方式可在目標變化網站上建立網站:自動與手動。根據預設,任何在來源變化網站下新增的新網站,都將在所有目標變化網站上自動建立。但若您停用自動為變化建立網站與頁面的功能,則您對於每個建立在來源變化網站下的新網站,都必須以手動方式指定要用來建立網站的目標變化網站。雖然讓新網站可自動建立在目標變化網站上,有利於減少網站管理員的工作量,但手動建立網站卻可讓您指定哪些網站應建立在哪些目標變化網站上。若您只想在部分 (而非全部) 目標變化網站上加入網站,這將有所幫助。If the source variation site will have other sites below it in a site hierarchy, you must plan for how those sites will be created on the target variation sites. There are two ways in which sites can be created on target variation sites: automatically and manually. By default, any new sites that are added below the source variation site will be automatically created on all target variation sites. However, if you disable automatic site and page creation for variations, for each new site that you create below the source variation site, you must manually specify the target variation sites on which the site should be created. Although enabling new sites to be created automatically on the target variation sites has the advantage of reducing tasks for the site administrator, the advantage to manual site creation is that you can specify which sites should be created on which target variation sites. This can be useful if you want a site to be included only on some, but not all, target variation sites.

對於清單與頁面內容,您必須決定兩個有關於如何傳播內容的事項。For list and page content, there are two decisions that you must make about how the content is propagated.

  1. 就來源的觀點而言,發佈新內容後將會如何?您可以選擇執行下列其中一項:From the source perspective, what happens when new content is published? You can choose to do one of the following:

    • 自動在所有目標變化網站中建立內容複本。此為 [建立於每一處]**** 選項,依預設會啟用。Automatically create a copy of the content in all target variation sites. This is the Create Everywhere option, and it is enabled by default.

    • 手動在選取的目標變化網站中建立內容複本。該內容後續的更新將自動提供給指定的目標變化網站使用。此為 [選擇性建立]**** 選項。Manually create a copy of the content in selected target variation sites. Subsequent updates to that content will be available automatically for the specified target variation sites. This is the Create Selectively option.

  2. 就目標的觀點而言,新內容可供使用後將會如何?您可以選擇執行下列其中一項:From the target perspective, what happens when new content is available? You can choose to do one of the following:

    • 自動同步處理來自來源變化網站的變更,並將其新增為目標變化網站上的新草稿版本。Automatically sync the change from the source variation site, and add it as a new draft version on the target variation site.

    • 通知目標標籤擁有者有可用的變更。標籤擁有者可決定是否要手動同步處理內容。Notify the target label owner that a change is available. The label owner decides whether to manually sync the content.

根據預設,任何在來源變化網站的頁面庫中發佈的新頁面,都將在所有目標變化網站上自動建立。 但若已啟用 [選擇性建立]*,則您對於每個建立在來源變化網站上的新頁面,都必須以手動方式指定要用來建立頁面的目標變化網站。若您只要在部分 (而非全部) 目標變化網站上加入特定頁面,則可以使用 [選擇性建立]* 選項。By default, any new pages that are published in the Pages library of the source variation site will automatically be created on all target variation sites. However, if Create Selectively is enabled, for each new page that you create on the source variation site, you must manually specify the target variation site on which the page should be created. The Create Selectively option can be useful if you want certain pages to be included only on some, but not all, target variation sites.

清單必須在變化階層建立之前即已建立於來源變化網站上,才能夠自動建立在目標變化網站上。若清單是在變化階層設定之後建立的,則必須在來源變化網站的清單功能區上,使用 [變化]**** 索引標籤上的 [設定]**** 按鈕,在目標變化網站上手動建立該清單。Lists can be created automatically on target variation sites only if they are created on the source variation site before the variation hierarchy is created. If a list is created after the variations hierarchy is set up, a list must be created manually on the target variation sites by using the Settings button on the Variations tab on the ribbon for the list on the source variation site. However, new list items can be created automatically on a target variation site.

依預設會啟用 [建立於每一處]**** 選項。您應審慎考量決定啟用 [選擇性建立]**** 選項後可能會增加的管理工作。您可以在 [網站集合管理] 中的 [變化設定]**** 頁面上,設定網站、清單與頁面建立行為的設定。如需相關資訊,請參閱建立多語言網站By default, the Create Everywhere option is enabled. You should carefully consider the potential increase in administrative tasks if you decide to enable the Create Selectively option. You can configure the settings for site, list, and page creation behavior on the Variations Settings page in Site Collection Administration. For information, see Create a multi-language websitehttps://go.microsoft.com/fwlink/p/?LinkId=279696.

規劃變化計時器工作排程Plan variations timer job scheduling

變化功能會使用計時器工作,執行諸如建立及傳播網站與頁面之類的工作。計時器工作會在 OWSTIMER 內執行,此為 SharePoint Server 的 Windows 服務之一。每項計時器工作在工作執行時間方面,都有其本身的預設排程。您可以在管理中心網站的 [工作定義]**** 頁面上變更每項工作的執行頻率。The variations feature uses timer jobs to perform tasks such as creating and propagating sites and pages. A timer job runs inside OWSTIMER, a Windows service for SharePoint. Each timer job has its own default schedule for when the job runs. You can change the frequency with which each job runs on the Job Definitions page on the CentralAdmin_2nd website.

注意

無法在 SharePoint Online 中設定計時器工作。Timer jobs are not configurable in SharePoint Online.

下表列出變化計時器工作和每項工作的預設排程。The following table lists the variations timer jobs and the default schedule for each job.

表格:變化計時器工作與預設排程Table: Variations timer jobs and default schedules

工作名稱Job name 預設排程Default schedule
變化建立階層工作定義Variations Create Hierarchies Job Definition
每小時Hourly
變化傳播清單項目工作定義Variations Propagate List Items Job Definition
每 15 分鐘Every 15 minutes
變化傳播頁面工作定義Variations Propagate Page Job Definition
每 15 分鐘Every 15 minutes
變化傳播網站與清單工作定義Variations Propagate Sites and Lists Job Definition
每 30 分鐘Every 30 minutes

您可以設定以分鐘、每小時、每日、每週或每個月為間隔的週期性排程,以指定每項工作的執行時間。若您選取每日、每週或每個月,您將可指定工作所應執行的時間範圍,而伺服器將會在要開始執行工作的指定範圍內隨機選取一個時間。此選項最適用於在伺服器陣列的多部伺服器上執行的高負載工作。請注意,同時在伺服器陣列中的所有伺服器上執行此類工作,可能會加重伺服器負載並影響效能。若要避免此狀況,您可以為工作指定確切的開始時間。You can specify when each job will run by setting a recurring schedule in minutes, hourly, daily, weekly, or monthly intervals. If you select daily, weekly, or monthly, you can specify a window of time for when the job should run, and the server will randomly select a time within the specified range in which to start to run the job. This option is most appropriate for high-load jobs that run on multiple servers in a farm. Be aware that running this type of job on all servers in the farm at the same time might increase the server load and affect performance. To avoid this possibility, you can specify an exact starting time for a job.

您應謹慎規劃變化計時器工作在伺服器上的執行時機,並據以設定週期性排程。例如,若要決定 [變化傳播清單項目工作定義]**** 或 [變化傳播頁面工作定義]**** 的執行頻率,或是將清單項目或頁面同步處理至目標變化網站的頻率,請考量在來源變化網站上將會建立多少清單項目或頁面,以及這些清單項目或頁面的更新頻率將為何。You should carefully plan when the variations timer jobs should run on your servers, and set the recurring schedule accordingly. For example, to determine how often the Variations Propagate List Items Job Definition or the Variations Propagate Page Job Definition should run and sync list items or pages to target variation sites, consider how many list items or pages will be created on the source variation site, and how often those list items or pages will be updated.

若您想變更變化計時器工作的預設排程,請將每項計時器工作的新排程記錄在 [變化規劃工作表] 中的 [變化計時器工作]**** 索引標籤上。If you plan to change the default schedule of the variations timer jobs, record the new schedule for each timer job on the Variations Timer Jobs tab in the Variations planning worksheethttps://go.microsoft.com/fwlink/p/?LinkId=279753.

變化規劃工作表Variations planning worksheet

下載 Excel 版的變化規劃工作表Download an Excel version of the Variations planning worksheet.

另請參閱See also

概念Concepts

SharePoint Server 中的變化概觀Variations overview in SharePoint Server