Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[BUG] Get-PnPSiteTemplate does not honor the includeItems parameter for the Lists handler

オープン
#5,392 コメント 7 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@gautamdsheth がすでに取り組んでいます。

2026年8月7日 から。

評価

この issue はまだ評価されていません。

説明

bug

When exporting a PnP Provisioning template using Get-PnPSiteTemplate the config schema says that we can ask for list items to be included in the template. Here is the section from the schema:

              "includeItems": {
                "description": "If set to true list items will be included as datarows in the template",
                "type": "boolean"
              },

In my usage, list items are never exported and thus are also not added to target sites.

My guess is the <pnp:DataRows /> concept was only partially implemented. The documentation stops at DataRows, with DataRow missing.

When exporting with the following config section, I'd expect to see a <pnp:DataRows /> section within the <pnp:ListInstance/> for the Events list, but it is not present.

    "lists": {
        "lists": [
            {
                "title": "Site Pages"
            },
            {
                "title": "Site Assets",
                "includeItems": true
            },
            {
                "title": "Events",
                "includeItems": true
            }
        ]
    },
主要言語
C#
スター
905
フォーク
409
平均マージ
2日 9時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pnp/powershell のほかの issue

pnp/powershell の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。