views:

87

answers:

1

I created a new SharePoint wiki library and I added additional columns to the wiki library to use as metadata to organize the pages into different views. The issue is now when I create a new wiki page, the added columns appear on the bottom of the page. Anyone know how to hide these columns from appearing on the wiki pages?

Thanks

A: 

Each field has a property "ShowInEditForm", which, as its title says, hides the field from editing when the value is set to false.

However, you cannot change the value of this property through web interface. What you can do, is create a PowerShell script, which should look something like this:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")

$site = new-object Microsoft.SharePoint.SPSite("http://yourserver.com")   
$siteweb = $site.OpenWeb()   
$list = $siteweb.Lists["YourWikiLibrary"]  
$list.Fields["YourNotEditableField"].ShowInEditForm = false;
$list.Fields["YourNotEditableField"].Update();
naivists