Development

Save List<T> to XML file

So we need to save our List<T> to XML file for something. For example, for work with it in Access. C# is great for this with using System.Xml.Serialization. There are only 4 strings of code to save an XML-file. Read more»

.Net & C#

Количество элементов в списке SharePoint с помощью PowerShell

Недавно понадобилось узнать, сколько элементов содержит список SharePoint. Почему-то SharePoint пишет о количестве элементов только тогда, когда их очень много, предупреждая о том, что надо быть внимательней и не превысить пороговое значение. Read more»

SharePoint

How to remove SharePoint User Groups with PowerShell

For deleting SharePoint groups you can use SharePoint Designer. For this you should open site in SPDesigner, in left column goto “Site Groups”, select groups for deleting and press Delete button on keyboard or in ribbon. But this process doesn’t always work. And when I wanted to remove user groups SPDesigner hanged and reported error […] Read more»

SharePoint

How to sort Modx Ditto documents ID when using &documents?

I found very nice extender for Ditto Modx. When using snippet Ditto with custom page Ids, you have strange sorting – I haven’t even understood which one. For sorting documents as you write in &documents=`[x, xx, xxx, xxxx]` you shoul use the ditto-extender below. Write Ditto callout this way: [[Ditto? &tpl=`razdel200` &documents=`[1,4,3,5,212,23,44]` &extenders=`customsort`  ]] You should […] Read more»

ModX

Popular Posts