Posts

Showing posts from October, 2011

Limiting the SharePoint People Picker with PowerShell

Image
We had the problem that the searching after people in the Active Directory took very long. If you don't limit the people picker in SharePoint it searches the whole domain and all forests within. This can be very time consuming when the picker tries to resolve the names ( In out company about 1 minute). Therefore we decided to limit the people picker by domain. The problem is that you can define this limitation only on sitecollection level. This means that you have to do that each time you create a new sitecollection. I wrote a powerhell script which loops throught alle sitecollections and restricts the one, which do not already have a limitation. #Powershell for Changing People Picker Settings #Author I.Bikmaz #Add SharePoint SnapIn $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'} if ($snapin -eq $null) { Write-Host "Loading SharePoint Powershell Snap-in" Add-PSSnapin "Microsoft.SharePoint.

Drill Down with the SharePoint Chart WebPart

Image
There is a new webpart in SP 2010, the chart webpart, which is very impressing. You can connect it to SharePoint List and WebParts. Today I wanted to drill down the pages when I click an element of the webpart. It seems that Microsoft bought this webpart from Dundas, so you have to look the syntax there http://support2.dundas.com/Default.aspx?article=1132 http://support2.dundas.com/Default.aspx?article=1205 Follow the steps: Step I Step II In step 3 click "next" also in step 4. In step 5 click on the "Hyperlinks and Tooltips" tab. Enter following Url to the fiels: http://yourdomain.com/yoursite/yourlist/allitems.aspx?Filterfield1=Title&FilterValue1=#LABEL whereas #LABEL is a keyword mentioned in the support links above

Hiding the title Field in SharePoint the simple way

Image
I find these two ways as the simplest: Using the SharePoint Manager Every SharePoint Admin should have the Sharepoint Manager . Just download it to you SharePoint Server and open it. No installation is needed. Drill down to the list you want to modify. If you click on the list all fields are show. You will see 4 Title fields. Select the Title field with the Internal Name "Title". You can check the internal name in the properties window on the right if you click on a field. Now change the values for "Hidden" to true and "Required" to false. Using Powershell I don't reinvent the wheel so look at " Phil Childs " site. There is a simple PowerShell script you can use to modify each field and of course also the title field.