Posts

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.

"Access Denied" when editing a page as site owner

I am in the site owners group and have full permissions. But when I try to edit a page an access denied error occures. I can checkin and checkout but cannot edit the page. If I put me into the site collection admin group, the page can be edited. This happened to me today and it took me 2 hours to find the problem. I was aware that the problem was not that I have not the correct rights, in fact I assumed that there is something in the page that was not published or something I don't have the rights to edit. Following could be possible: I have a WebPart on the page, that tries to read an item or site to which I don't have access. I have a link on the page to an unpublished item I have problems with an unpublished page layout Problems with the master page Point 1 was not the issue, because I didn't has custom or any webparts. Point 2 was also not the problem. I took everything out of the page, but the problem still occured Point 3 was also not the reason for t...

MatchPoint - Configuration of Tag-Icons

Image
Each Tag in MatchPoint can have its own icon. The configuration of the icons can be found in the MatchPoint Administration sitecollection, which hosts the MatchPoint instance. MatchPoint Instance Administration in the Site Settings The icons for the tags must be located in the images subfolder of 14hive folder in each web frontend server . The easiest way to open the images folder is to paste the following command line into the explorer bar: " %COMMONPROGRAMFILES%\microsoft shared\web server extensions\14\Template\Images " The images will not be resized so if you create your own images please ensure that they have the right format, 16x16 I think. Within the images folder you can create your own subfolder structure for your images. Images folder in 14hive As an example we have the following Tag structure. Sprache (Language) is a toplevel tag. It has 3 other child tags : German (Deutsch), French (Französisch) and Italian (Italienisch). Taxonomy After you...

Visual upgrade error in SharePoint 2010

I got following error when I made a visual upgrade: "One or more field types are not installed properly." (in German: Mindestens ein Feld ist nicht richtig installiert. Wechseln Sie zur Listeneinstellungsseite, um diese Felder zu löschen.) The error occurs due to a problem in the hidden relationshiplist. The entries are not updated properly. See  Problems with visual upgrade . The solution for this problem is easy: Install the newest Cumulatives Updates.

Most viewed documents in SharePoint 2010

Image
The Task You want to see the top 10 most viewed documents in a library The Answer 1. Enable the two reporting features in your site collection features. Enable the reporting features 2. Go to the list and click on "Library Settings" in the ribbon Library Settings 3. Click on "Information management policy settings" under "Permission and Management" Information management policy settings 4. Click on document 5. Activate the checkbox "Enable Auditing" and select "Opening or downloading documents, viewing items in lists, or viewing item properties" Enable Auditing Now the auditing is enabled and each time when an item in the doclib is viewed a log entrie is generated. You can limit the size of the lib in the site collection settings under "Site collection audit settings" in the group "Site Collection Administration". Here you can specify that the log should be holded for a period ...