SharePoint

JavaScript function EnableDisableChekboxes to set constraint of maximum allowed quantity checked checkboxes

There’s a common constraint in votes or surveys like “choose no more than 3 items”. And it’s not a good idead to allow user control the checked items quantity. You can easily set constraint to a quantity of checked checkbox items with JavaScript and jQuery. You can just disable unchecked checkbox items if user checked […] Read more»

TypeScipt / Javascript

Console.log() function stops JavaScript executing in Internet Explorer 10

jQuery logo

Strange behavior of console.log() I have noticed when I created a JS code for SharePoint page. My code used jQuery and SPServices library. The code used to get items from a list and render options for “select” control. Below I post a part of my function which fills a JS array and renders options for […] Read more»

TypeScipt / Javascript

How to get assembly strong name in Visual Studio

Fig.1. Create external tool for Visual Studio to get assembly strong name

When I was developing a web service for SharePoint 2010 I had to fill in “assembly strong name” in .asmx file. Below I repost a very nice method how to get an “assembly strong name” in Visual Studio. Read more»

.Net & C#

Add users to SharePoint group from text CSV file with PowerShell

SharePoint 2016 Logo

Once I had to add about 3 thousand users to SharePoint group. Usually when I have to add about 100 users, I use Excel function ‘CONCATENATE’ to add user login and “;” separator to generate a list of users. And then I manually enter them. But 3 thousand users – it’s too much for manual. Read more»

SharePoint

Migrate managed metadata to new SharePoint farm. Fix cannot bulk load error

Managed metadata is very good and powerful tool in SharePoint. But it has some not very comfortable specialties during migration data from one farm to another, for example, from test environment to productive. You can export your managed metadata from one site and import it into another one. But here’s the problem that each termset and […] Read more»

SharePoint

How to find out the type of SharePoint installation

SharePoint 2010 can be installed as a Farm installation or as Standalone one.  Standalone installations means that all the components are on the same machine (SharePoint, SharePoint services and built-in database) and this type of installation is not extensible. Read more»

SharePoint

How to create .Ashx solution for SharePoint 2010 in Visual Studio 2010

Figure 1. Add Generic handler via Application page template

Generic handlers have an extension .ASHX. It’s a good solution to render documents or images for user on server-side after user requests, not web page. Generic Handlers solution (.ashx files) are not directly supported by Visual Studio 2010 for SharePoint projects. But there’s a little trick for this. Read more»

.Net & C#

Popular Posts