SharePoint

SharePoint 2010. Fix error Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file 

In SharePoint 2010 once I had found a lot of errors in time of execution or publishing workflow processes: “(-1, -1) Type System.CodeDom.CodeBinaryOperatorExpression is not marked as authorized in the application configuration file.)”. It happened right after installation of Windows updates on server. Read more»

SharePoint

Save SharePoint List as template and create new one

SharePoint list (SPList) has grown up to immense size and started to decrease performance. To solve this, I decided to cut this SPList to pieces – to create archives and save items there by year. Read more»

SharePoint

Remove all the permissions for SharePoint SPWeb, SPList or SPListItem

SharePoint 2016 Logo

I’m trying to remove all permissions from a list item in SharePoint 2010. There was a lot of permissions because of the “Limited access”. I couldn’t check all items because of the constraint of maximum selected items. This script is 100% compatible with SharePoint 2013 and SharePoint 2016. Read more»

SharePoint

iLoveSharePoint Advanced Workflow Actions  and fix the Error while executing PowerShell Script: Cannot invoke this function because the current host does not implement it

SharePoint 2016 Logo

I used Advanced Workflow Actions for SharePoint Designer 2010 from iLoveSharePoint for Workflows in SharePoint site. And one of used by me activities was “Execute PowerShell Script Action”. Read more»

SharePoint

Custom Add Attachments control in custom NewForm SharePoint Form

SharePoint 2016 Logo

If you want to customize a NewForm for SharePoint list so, that users can add attachements in the same interface as other form fields, you should place control for adding attachments to a form. The problem is that this is not described and you really have to rewrite already half-prepared control. Read more»

SharePoint

Fix error Could not find file ‘ExportSettings.xml’ in Import-SPWeb

SharePoint 2016 Logo

I have copied exported site to another farm and tried to restore. After executing of cmd-let for restoring spweb (Import-SPWeb -Identity http://spdev/forums/ -Path D:\Backups\forums.bak) I’ve got an error: Import-SPWeb : Could not find file ‘C:\Users\spadmin\AppData\Local\Temp\3\b386a19c-48bd-4a3a-b019-129ca9be4c5e\ExportSettings.xml’. Read more»

SharePoint

Get data and stats about files in document libraries in SharePoint site from SQL Server

SharePoint 2016 Logo

Information about files in document libraries is strored in the table “AllDocs” of Site’s content database. Of course, Microsoft doesn’t allow to make queries to SharePoint databases directly. But I can’t but agree with inserts and updates are not allowed, but select query in the worst case will make just some locks in database. So […] Read more»

SharePoint

Popular Posts