Showing posts from 2013

Lync 2010 Skill Search Configuration with SharePoint 2010 People Search

In this post I want to show you how to configure the skill search in Lync 2010. Lync uses the SharePoint Search Web Service to search after user skills.The skills are stored in the SharePoint User Profile Store.

RequirementsLync Server (min. Standard)SharePoint Server 2007 or later (No WSS or SharePoint Foundation)Lync Client (No OCS) Result The final result looks like that:

Enter a skill you want to search, here "SharePoint".

Now click on Skill tab.

You'll get a list of users who entered SharePoint as skill in their profile.

1. How to edit your skills. The skills are stored in the SharePoint User Profile Store. For that you have to enable and configure MySite in SharePoint. If MySite is enabled you can enter your profile page and edit your skills field.

First open your MySite. Then go to the top right corner on a SharePoint page and open the personal menu. Click on "My Profile"

Now you enter the "My Profile" page in the MySite web application.


SharePoint 2013 Cumulative Update Error - The expected version of the product was not found on the system

I got this error while I was trying to install the Cumulative Updates August 2013. The reason for this error is that the baseline for all updates is the first Cumulative Update in March.

I checked my build version of the farm

and found out that I've installed the RTM version.

If this doesn't solve your problem you can try to start the ubersrv2013-kbxxxxxx-fullfile-x64-glb.exe with the parameter PACKAGE.BYPASS.DETECTION.CHECK=1 like:

ubersrv2013-kbxxxxxx-fullfile-x64-glb.exe PACKAGE.BYPASS.DETECTION.CHECK=1

( Do not forget to start the command as farm administrator )

This bypassed all checks so that you can force the installation.


SharePoint 2013 Build Numbers and CU's

Nintex Workflow 2010 - Multiple Dynamic E-Mail Attachments

We have a Nintex Workflow and I need to send a list of documents in a folder to a customer as email attachment. Sound easy !!

Although this could be an easy tasks unfortunately I couldn't find an easy way to do this, because the "Attachment" input element only takes a full path to a single file.

That means you can't loop through a folder and collect all files with a seperator in a variable and give it to the attachment control. Or better would be to collect all paths in the "Collection" variable and give this variable to the attachment control. This also does not work in my Nintex version. Maybe the Nintex guys already added this feature.

The only way I found is to save each file in a separate variable. So I had to make a restrictions like, "I've maximum 5 attachments".

So in my Workflow I've 3 variables (you can have more):

fileAttachPath: Contains the path to the folder like http://sharepoint/sites/projectX/docsfileAttach1: is initialize…

Ways to redirect http requests in SharePoint

The are multiple szenarios when you need a redirect in SharePoint:

You've migrated SharePoint into a new URL (e.g http://sp2010 to http://sp2013)You moved a site collectionYou moved a sub site into a new site collection
If you want to redirect in SharePoint without custom solutions you have the following options:

Redirect with XML Viewer or Content Editor WebPart
You can redirect with JavaScript by inserting a WebPart into the site and adding simple JavaScript. This is easy to configure but redirects only the site in which the WebPart sits (Probably the Mainsite). If users have saved links the their document libraries this method fails, unless you put the same WebPart into the document library.
So go to the site you want to redirect and the XML Viewer WebPart. Open the WebPart settings and add the following line of code:
<script type="text/javascript"> location.href = "<<the url you want to redirect>>"; </script>

One drawback of this way to…

Move a SharePoint Team Wiki Library between SharePoint Sites or Site Collections

In this post I describe how you can move a team wiki from one site to another. The difficulties here are:

The "Save as Template" option in the list settings does not exist. This is because this type of list is deprecated. In SharePoint 2010 you should use Enterprise Wikis.After copying the list, the links in the wikis site must be adapted to the new site.
Ways to copy the Wiki Library The are three "easy" ways to copy the Wiki Library from one site to the other. The "Save As Template" Link does not exist in the Library Settings but the option still exists.
SharePoint Designer Open the site with the SharePoint Designer. Click on your wiki and go the the library settings. You'll find a "Save as template" button there.

SharePoint UI You can use the standard "Save As Template" UI by modifying the URL
Go to the Wiki Library. Normally you browse the first wiki site, but go to the wiki library page by typing  /wikilibname/Forms/AllPages.a…

How to create a FAQ in SharePoint with OOB features

There are lots of stuff in the web around how to create a FAQ in SharePoint.

In this post I'll show you some tricks what you can do with additional OOB SharePoint tools to have also some search and some style within your FAQ to impress your customer. It also shows you the power of SharePoint as a developer platform.
The requirements for our FAQ are: Easy to maintainEasy to search contentAdd documents as links in FAQGrouped FAQ contentExport FAQ when needed into a report
To understand this post you should have some basic know-how about:
SharePoint ListsSharePoint List ViewsHTML, CSSJavaScript (SharePoint Client API)SharePoint WebPartsCAML or you just follow the instructions.

The following image shows us the final page.

Our FAQ page has a FAQ list and a document library. This is useful if you want to link on some documents in your FAQ. The page has a list WebPart with a special grouped view and also2 quick searches for documents and for the FAQ list.

I also use a category for my FAQ…

SharePoint Installation Claims Error: Failed to create instance of cookie value handler type / handler object

I got this error while installing SharePoint 2013 with AutoSPInstaller.

STS Call Claims Windows: Failed to get cookie value handler type / object
Opening the logs I saw following error messages:

This error was also caused when I tried to use Get-SPSite -Limit All

As the error says that it is a claims problem I first checked the SharePoint Security Token Service but the web service was fine. When I browse the web service, the page is rendered without errors:

Check if Windows Web Services Pool has startedCheck if "Claims To Windows Token Service" has startedCheck if IIS checkbox "enable for 32bit Applications" is checkedProvisioning the Security Service againCheck if the "Claims To Windows Token Service" is running under Localsystem accountCheck if in IIS > Windows Authentication "Enable Kernel Mode Authetication" is enabledAnd Reinstalling SharePoint I got still the same error.

Then I decided to debug the code and searched after the er…

SharePoint 2013 Installation Endless Reboot Loop

For the last SharePoint 2013 Installation I used the AutoSPInstaller. After putting all required files into the PrerequisiteInstallerFiles folder and starting the Installation the .Net 4.5 Framework installed continuously and rebooted the server.

After some digging I found out that SharePoint requires .Net 4.5 Version 4.5.50709 but I had a lower version installed.

You can see the installed version number in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full

Just download the newest .Net 4.5 installer here and install it manually or put the offline installer into the PrerequisiteInstallerFiles folder.

Lync and the "Cannot Generate SSPI Context" error

If you have this error, it is probable a Kerberos issue. Try to set the SPN of you SQL Service Account.

Find out which user runs the SQL Service on your database server.Find out the port (Standard 1433)FQDN of the database serverUse SetSpn -a MSSQLSvc/
"Cannot Generate SSPI Context" error message, Poisoned DNS on MSDN

SharePoint PowerShell: Delete all list items in one line

Short & handy

(Get-SPWeb http://yoursite).Lists["Listname"].Items | % { $_.ParentList.GetItemById($_.ID).Delete() }

SharePoint Alternate Access Mapping (AAM) for Dummies

I've never really understood Alternate Access Mapping called AAM. But when I started to use UAG and the SharePlus App it was necessary to understand the concept of AAM better.

I will not talk about how to configure AAM or the bindings in the IIS. There are lots of stuff out there. I want you to undestand the concept.

So I want to tell you how I made me understand AAM. There are three features of  AAM
Internal URLPublic URLZoneThe internal URL is the URL that the SharePoint Server understands & acceptsThe public URL is the URL that the clients outside in the world knowsA Zone is a logical container for a public URL with a name like "Interner" or "Extranet". It does nothing really special. You have 5 zones in SharePoint, means a max. of 5 public urls.
Explain AAM with some analogies
My name is Ihsan Baris. So when someone calls me "Baris" or "Ihsan" I'll respond to him. Some friends and my brother are calling me also "Biggy".…