2017-03-07 41 views
1

在Sharepoint中,我們在文檔庫(Image of content type column setting)的視圖中有一個隱藏的colomn。當用戶使用Harmon.ie連接到該文檔庫時,它會在查看/編輯文檔/消息的屬性時顯示隱藏的文檔。當我轉到SharePoint中的文檔庫時,colomn被正確隱藏。此行爲已通過版本企業版版本5.1.0.8306和 的版本5.7.1.1167進行了測試。Harmon.ie在查看/編輯文檔/消息的屬性時顯示隱藏的共享點colomn

任何幫助表示讚賞。

回答

0

我建議你在PowerShell腳本的幫助下隱藏列。在此,這些腳本的示例如下(以在SharePoint服務器端運行)

#Get the web and site column objects 
$web = Get-SPWeb http://portal 
$column = $web.Fields["Test Column"] 
#Change the ShowInEditForm and other properties and update objects 
$column.ShowInEditForm = $false 
$column.ShowInNewForm = $false 
$column.ShowInDisplayForm = $true 
£column.ShowInViewForms = $true 
$column.Update() 
$web.Update() 
$web.Dispose() 
+0

它的SharePoint在線......和SharePoint列是隱藏;-) –

0

隱藏在網絡界面中的列harmon.ie也行

enter image description here

+0

列被隱藏在SharePoint ...在harmon.ie不起作用.... –

0

我建議你下載並安裝HTTP像Fiddler這樣的嗅探器。事實上,在我這邊,一個隱藏的專欄在線上榮獲harmon.ie和SharePoint。 作爲客戶端應用程序,harmon.ie會調用有效的標準Web服務來連接SharePoint。 請確保與提琴手在SharePoint架構中返回的列確實標記爲確實(請參閱我的以下答案的「帳戶名稱」列)

我還建議您從harmon.ie網站下載並安裝最新版本6.0。

POST https://ravenwooddemo.sharepoint.com/sandbox/_vti_bin/lists.asmx HTTP/1.1 
 
User-Agent: harmon.ie 6.0.0.41373 
 
Content-Type: text/xml; charset=utf-8 
 
SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetListContentType" 
 

 
No hidden 
 
<Field Type="Text" DisplayName="Account Name" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" MaxLength="255" Group="harmonie custom columns" ID="{ae591ade-2902-44ea-9bbf-80902d74f6d6}" SourceID="{79bb1ae3-c801-4c46-93fc-7a9cb4ef5dda}" StaticName="Account_x0020_Name" Name="Account_x0020_Name" Version="5" Customization="" ColName="nvarchar14" RowOrdinal="0" Hidden="FALSE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node=""><Default>CocaCola</Default></Field> 
 

 

 
Hidden 
 
<Field Type="Text" DisplayName="Account Name" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" MaxLength="255" Group="harmonie custom columns" ID="{ae591ade-2902-44ea-9bbf-80902d74f6d6}" SourceID="{79bb1ae3-c801-4c46-93fc-7a9cb4ef5dda}" StaticName="Account_x0020_Name" Name="Account_x0020_Name" Version="5" Customization="" ColName="nvarchar14" RowOrdinal="0" Hidden="TRUE" ReadOnly="FALSE" PITarget="" PrimaryPITarget="" PIAttribute="" PrimaryPIAttribute="" Aggregation="" Node=""><Default>CocaCola</Default></Field>here