すべてのリストのダイアログボックスをグローバルに無効にしますか?
-
16-10-2019 - |
質問
SharePoint 2010では、アイテムの挿入と更新用のモーダルダイアログウィンドウを開くようにリストが設定されています。これらのダイアログボックスをリストごとに無効にすることができることを知っています。[ダイアログ]オプションの[[起動]フォームを[[再起動]]オプションを[詳細]と解選択することにより、リストごとに無効にすることができます。すべてのリスト、現在および将来のモーダルダイアログウィンドウをグローバルに無効にする方法はありますか?
解決
PowerShellで変更できます。これはあなたを助けるかもしれません:
get -spscripts:PowerShellを使用してSharePointリスト設定を変更 - パート2:高度な設定
この記事は、リストの高度な設定をプログラムで変更する方法を示しています。「ダイアログ」というタイトルの記事の下部にあるテーブルの列は、興味のあるプロパティを提供します。
#Change these variables to your site URL and list name
$site = Get-SPSite http://portal
$listName = "Shared Documents"
#Walk through each site in the site collection
$site | Get-SPWeb | ForEach-Object {
#Get the list in this site
$list = $_.Lists[$listName]
#Launch forms in dialog?
#Setting this to $true will set it to 'No' in the UI
$list.NavigateForFormsPages = $true
#Update the list
$list.Update()
}
#Dispose of the site object
$site.Dispose()
所属していません sharepoint.stackexchange