SharePoint Web パーツ ページに Web パーツまたは Web フォーム コントロールを表示できない (KB5029605)

適用先
SharePoint Server Subscription Edition SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SP1

現象

Web パーツ ページ上の Web パーツまたは Web フォーム コントロールを表示できません。 さらに、Web パーツまたは Web フォーム コントロールは、SharePoint 統合ログ システム (ULS) ログに次のエラー メッセージと "6ipo0" イベント タグを生成します。

unsafe PropertyName が見つかりました: <UnsafePropertyName>

原因

この問題は、Web パーツでサポートされていない DataFormParameter プロパティに安全でないプロパティ名が設定されているために発生します。

回避策

ファーム管理者の場合は、次のコマンドを実行してプロパティ名を WebPartSupportedSimplePropertyNames リストに追加することで、この問題を回避できます。

add-pssnapin *
$f=get-spfarm
$f.AddGenericAllowedListValue("WebPartSupportedSimplePropertyNames","<UnsafePropertyName>")
$f.update()