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.
You may often need to remove HTML tags from some random text block and just display the raw text content. For example you may want to just display the text content of a multi-line rich text value using XSL. But since a multi-line rich text value is internally formatted with html, the html tags will be presented as part of the output.
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.