Once I need to install more memory on my server. The server was installed long ago and nobody knows what memory is installed there and whether there are free slots for memory. (read more...)
Once I need to install more memory on my server. The server was installed long ago and nobody knows what memory is installed there and whether there are free slots for memory. (read more...)
For example, I need to make list like this:
My list items
- item1
- item2
- item3
Here's a nice way to make list with dashes. (read more...)
Create a table with cells width exactly you need is some more difficult than it may be seemed at once. So, if you need to make a table 300 pixels width with 5 cells same width, than cell width should be no more than 60 pixels. Of course, you should remember about borders and paddings in cells. (read more...)
Sometimes you may need to show information in SharePoint list only how you want it but not users. You create a list view and hope than other users will not change anything. But to be more assured that list view will be the same as you created it, you need to disable a change of list view in SharePoint list. (read more...)
In SharePoint site you can see usually a lot of groups. Sometimes administrator gets a task to add user to several groups. If it’s 3-5 groups you can do it manually, but if you need to add user to 30 groups? I’m too lazy to do it manually and too smart not do it at all. (read more...)
While migration system and its data to SharePoint application there was a task to save logs of change from old system data. Some authors of changes have already retired - some of them are disabled in Active Directory, others – deleted at all. (read more...)
Today I wanted to execute PowerShell ISE on one of SharePoint Server, but I couldn’t find it. I searched for it but on this server I haven’t installed it. I have already forgotten how to add PowerShell ISE to Windows Server 2008R2. It’s not included in default settings because PowerShell ISE is not necessary for Windows Server. And I think it’s true. (read more...)
Not so long ago when I was very tired I wrote an SQL-query in my C# application in Visual Studio, but I got error on build. The error was " Index (zero based) must be greater than or equal to zero and less than the size of the argument list.". (read more...)
Once one friend of mine was making s SharePoint web-part with a lot of available filters. He couldn’t make it with only list so webPart was the only way. (read more...)
The task is to select all the records where parent equal ‘1’ and parent of parent equal ‘1’ etc. Our datatable is:
EntityId |
Name |
ParentId |
1 |
Dep1 |
0 |
2 |
Dep2 |
1 |
3 |
Dep3 |
1 |
4 |
Dep4 |
1 |
5 |
Dep5 |
2 |