Archive for November, 2011

Periodically upload files to SharePoint using Powershell

Periodically upload files to SharePoint using Powershell

You can use Powershell to upload files to a SharePoint document library. Let’s say some application is generating reports in C:\Reports and you want to periodically upload them to a document library Shared Documents. By sheduling a PowerShell script and uploading all files in a certain directory to SharePoint you can access of all your important reports via SharePoint.

(more…)

Changing the Window Title programmatically in SP2010

Changing the Window Title programmatically in SP2010

SharePoint uses a placeholder with the name “PlaceHolderPageTitle” to influence the window title. You can set the window title by putting text in this placeholder. But if you want the window title to be based on other parameters, let’s say the current user, it is also possible to change the window title programmatically. (more…)

Displaying the filename in the SharePoint search results

Displaying the filename in the SharePoint search results

By default the SharePoint search web part ‘Core Search Results Web Part’ displays the document’s title as a hyperlink to the document (or list item). While this is fine for most cases, recently a customer explained to me:

We are crawling all our old file shares using the SharePoint Search. Our end users are used to finding documents by their filename, however the SharePoint search is displaying the document’s title which confuses our end-users

(more…)

Error TF218017 ‘Access is denied’ while creating a Team Project with TFS2010

Error TF218017 ‘Access is denied’ while creating a Team Project with TFS2010

A colleague of mine, who is in charge of the Team Foundation Server, couldn’t create new Team Projects anymore using Visual Studio Team explorer. He received an error message:

Server was unable to process request. —> Access is denied. (Exception from HRESULT: 0x800700005 (E_ACCESSDENIED))

(more…)