Posts

Showing posts from June, 2012

Colorful SharePoint Calender

Never knew that you can combine multiple calenders in SharePoint 2010 to a single calender view. The function is called overlaying. Moreover you can define a color for each view, all OOB. I found this great post how you can colorize your SharePoint calender: http://davidlozzi.com/2012/01/26/color-code-your-sharepoint-calendar/ One drawback, which happened to me after overlaying was that the overlayed calender items could not be opened in the new SP 2010 Dialog style but only as new browser window. Tip: If you have embeded the calender as webpart somewhere in your site, you have to actualize the view in the WebPart settings to view the colored calender.

Replace row numbers from copied code

Image
This has nothing to do with SharePoint but I wanted to share the trick. When you copy code from some pages sometimes you have to copy the ugly row numbers, like 1: function XYZ 2:{ 3:     var a = b; You can delete these numbers easily with NotePad++ or another higher TextEditor. I use NotePad++ so I'll show you have I do that with NP. Copy the code into the editor Open the "Replace" dialog Check "Regular Expression" Enter the regular expression in "Find What" = \d*: (This can be any other regex) Enter nothing into "Replace String"

Check Ports for Extranet SharePoint Farms with PowerShell

When you create a SharePoint Farm within an extranet you usually have to check ports to other servers within other security layers behind firewalls. Here is a simple script for a quick check. Copy this script to every SharePoint Server and modify the ip addresses. Run the script on the server to see if a port is blocked. <# These values can be modified Enter the IPS of the server Ports from http://technet.microsoft.com/en-us/library/cc262849.aspx #> $SERVER_APP = "xxx.xxx.xxx.xxx" $SERVER_WEBAPPS = @("xxx.xxx.xxx.xxx", "xxx.xxx.xxx.xxx") $SERVER_DB = "xxx.xxx.xxx.xxx" $SERVER_AD = "xxx.xxx.xxx.xxx" $SERVER_DNS = "xxx.xxx.xxx.xxx" $SERVER_SMTP = "xxx.xxx.xxx.xxx" $CLIENT = "xxx.xxx.xxx.xxx" #IP of a client which should access SharePoint $USE_KERBEROS = $false $USE_NETBIOS = $false $USE_SMTP = $true # bi = bidirectional # out = outbound $CONNECTIONS = @( #SQL ( "out", $SERVER_APP, $S