Add users to SharePoint group from text CSV file with PowerShell
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.
Escape curly brackets in ID in jQuery
Create and fill hash of arrays in Powershell
You can initialize and fill multidimension hashes (arrays) in powershell this way:
Array in PowerShell – create and read
This is an manual how to work with arrays in PowerShell - how to create them, fill and read.
You can initialize array this way:
C# WebClient return an error (401) Unauthorized. Easy fix
My code in C# console application used to download an image from web service and store it in SharePoint library. But some why the code always returned an error "(401) Unauthorized". The requested URL has been successfully opened in browser on the same machine.
Click this or that element in jQuery
If you want to set the same action for several elements, you can write IDs of elements separated by comma. This way:
Element and CSS class to highlight the required field in SharePoint form
The red star in SharePoint form for required fields can be written as <span> control with class "ms-formvalidation":
<span class="ms-formvalidation"> *</span>
Prepare to install Microsoft SharePoint 2016
I'm preparing to install Microsoft SharePoint Server 2016 to machines in the VLAN without access to Internet. All the distibutives of SharePoint ask for prerequisites which must be downloaded and installed. Unfortunately, you should get them by yourself. If you have internet access, than it's not a problem. But if you don't have it?
How to get index of selected option in Select control
It took me some time to get the index of selected value of <select> html control. I tried to use 'attr', but 'prop' should be used for this.