SharePoint

Working with lookup values in SharePoint Lists

Working with SharePoint lists I often use lookup values. But when I write C# solutions for lists I have some difficulties with LookUp Values. Trying to get LookUp Value as string it looks like “213;#lookup value”. 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

Run Visual Studio as administrator for SharePoint development

If you made a developer machine for SharePoint on Windows 7 (x64), you must remember – run visual studio only “Run as administrator” even if your account is administrator for developing SharePoint solutions. Or you can turn off ULC but I don’t recomend it. Read more»

SharePoint

Delete all items in SharePoint List using PowerShell

While testing SharePoint solution with SPLists I often need empty list. I’d like to have analog for “Truncate” in SQL, but there’s nothing for SharePoint. So I wrote a short PowerShell script for deleting all items in SharePoint List. Here it is Read more»

SharePoint

Delete SharePoint sites recursively

Today I tried to delete a SharePoint site (SPWeb) with child sites inside. I tried to delete it form administrator interface but I got an error. Something was wrong with templates or site structure. So I decided to use PowerShell for SharePoint. Read more»

SharePoint

Correct way to delete all SPListItems

SharePoint 2016 Logo

Today while coding a Sharepoint timer job I needed to clean my SPList. I tried common ways of deleting using “foreach” and “for i++ …” but I got the error. I couldn’t delete list and create it again in timer job because of custom views. As usually for SharePoint solution is not ordinary 🙂 Read more»

SharePoint

Popular Posts