A very common requirement for SharePoint developers is to assign out of the box and/or custom SharePoint permission levels to sites (SPWeb objects) or lists and document libraries (SPList objects) or even list items (SPListItem objects).
This is where I log all things SharePoint. I have worked on various versions of SharePoint. So, each post will usually specify what version I'm talking about (some times, the post will apply to pretty much all versions). Beyond SharePoint, this section may also hold content pertaining to other related Microsoft technologies like Office 365, Azure, C# (C Sharp), PowerShell, etc.
The idea here might look really crazy. But on a few occasions, I’ve had to loop through an entire SharePoint Farm in search of a list with a unique title (and then create the corresponding SPList object). One time I’ve had to do this was when passing control to an aspx page in the layouts folder from a modal dialog that was just closed.
I wrote this post as a follow up to my last post: Add Custom Action To SharePoint Edit Control Block. Just like with the edit control block, SharePoint Developers often need to add a custom action to the SharePoint Ribbon.
SharePoint Developers often need to add a custom action to the SharePoint edit control block (ECB). I have had to do this many times myself and since there isn’t a lot of resources available on the subject, I decided to write this post for those who might want to do this sometime, and for myself as a future reference.
A while ago, I noticed a peculiar behavior with one of my custom SharePoint workflows. Tasks were getting locked out after the first edit. The first edit proceeds fine but when we attempt to edit the task a second time, we get an error like this:
This task is currently locked by a running workflow and cannot be edited.