The following code snippet shows how to create a SharePoint 2013 workflow using C#. While the code itself is pretty self explanatory, here are some hints:
I was working on a project today and one of the requirements was, using a Timer Job, run an Export of an existing site collection and then Import it as a new site collection. The code to do this was…
Ever have a need to open a page or external URL from your SharePoint site within a modal window? With the dialog framework provided by SharePoint, it is pretty easy to do so.
Here is an example:
Every time I work with event receivers in SharePoint, I keep going back to these two tables as a reference. So I thought I would post it here to make it easier for me (and you) to find.
When trying to retrieve values from a list item in an event receiver, you sometimes need to get the values from the ListItem, sometimes the AfterProperties, sometimes the BeforeProperties. These tables show what each property should return for each type of event.
I ran into an issue today. I have a site Content Type that defines several list fields and I have a specific order for those fields to be displayed. Today I added a new site column to this content type and I updated the order of my fields in the content type as usual. However, the lists that use this content type became all out of whack in regards to the order of the fields. I tried to update the order in the Content Type again and push down the changes, but never had any luck.
So, being a developer, I wrote up a simple console app that will iterate through my sites (about 40 webs) and find my particular list and content type and reset the order of the fields to match the parent content type.
SharePoint contains list and libraries which allows you to store and organize your content. At first glance, this content seems fairly static, it just sits there until someone makes changes to it. What if you want your content to trigger actions that take place in your system? Here are a few examples:
The Secure Store Service in SharePoint 2010 is a shared service that provides a secure storage and mapping of credentials such as account names and passwords which can be used for accessing external systems.
In this article, I’ll demonstrate how to setup a new Target Application in SharePoint 2010 as well as demonstrate how to access this information through code. We will use the Secure Store to store information needed to access an external database which will be used by..
I have a Content Type Hub where I created about 10 Content Types using several Site Columns. One of the Site Columns was set as a DateType type rather than a Person or Group type. The Content Types were already…
I thought I would share the tools that I use everyday in my SharePoint 2010 development environment. Visual Studio 2010 Visual Studio now has some great enhancements for SharePoint developers, particular around the packaging and deployment of SharePoint solutions. CKS:…