Skip to main content

Posts Tagged ‘.net’

Sitecore Rendering Parameter Templates

Both Sitecore and ASP.NET MVC both provide a development model that allows for distinct boundaries to be created between data, application logic, and presentation logic.  The purpose of this post is to describe the manner in which these capabilities can be utilized within a Sitecore MVC solution to provide content authors with the ability to […]

Exploring C#: Literals

This is the first post in a new series called “Exploring C#”. The purpose of this series is to explore areas of the language, and the .NET framework in general, that are very useful, easily overlooked, or that I perceive are not well known. Virtually all applications have literals in them. It is best practice […]

Programmatically Setting the Value of a SharePoint Choice Column

I was recently working on some code that added items to a SharePoint list based on a user’s input from an InfoPath form. It was an easy task until I got to a choice column. I wasn’t sure of the syntax for setting the value of a choice column, and for some reason, all of […]

I’m speaking at Cloud & Virtualization Live!, Dec. 10-14 in Orlando – will you be there?

I’ll be speaking at a brand new cloud & virtualization conference for IT professionals, systems administrators, developers and consultants – Cloud & Virtualization Live!, December 10-14 in Orlando, FL. http://bit.ly/CVSPEAK25 I’ll be presenting the following sessions: · Developing Mobile Solutions with Azure and Windows Phone · Pushing Data to and from the Cloud with SQL […]

Creating a Reusable Pin Pad using ASP.NET MVC 3

I was recently asked to develop a PIN Pad for an ASP.NET MVC3 mobile web application for users to use to log into the application.  I had to use the PIN Pad in three locations in the application: 1) register the PIN for a new user, 2) confirming the PIN registration, and 3) logging in […]

SharePoint hosted Apps with “Napa” & Visual Studio 2012

As discussed in the post earlier, SharePoint 2013 allows you to write Apps which can extend the functionalities your SharePoint website provides. Primarily an App can be divided into two categories depending upon where its components reside: SharePoint hosted App – Major pieces of an App are on SharePoint server with business logic and presentational […]

SharePoint 2010: Closing a ModalDialog Manually from Code (C# and JavaScript)

Situation If you’ve worked with SharePoint 2010 at all, I’m sure you’ve seen a ModalDialog popup at some point. This popup most often occurs when you’re creating or editing a list item. The item’s edit or create form is displayed by ModalDialog in an HTML iFrame. This frame allows for the nifty, AJAX-like popup, but […]

Nintex Workflow and SharePoint 2010: Start a Workflow on Each Item in a List

Situation Wouldn’t it be nice to start a specific SharePoint list workflow on each item in a list? Unfortunately, there’s no simple way to do this out of the box in SharePoint or Nintex, even though it’s just a few lines of code. You could always grab all of the list items and then loop […]

SharePoint 2010: Site Collection Scrubber

Situation You’re looking for a way to semi-automate the back-loading of of scrubbed data from your production environment to your development/test/staging/whatever environments. There are several reasons you’d want to do this that I don’t need to get into here. The problem is that your production environment is well-used and full of a bunch of data, […]

Cannot modify SharePoint list views with tracing enabled

I was debugging an issue with a heavily customized SharePoint site where users were unable to save any changes they made to SharePoint list views. Since this was a heavily customized site with several custom list definitions, my initial thought was that we may have botched a list definition or two and made these lists […]

403 Forbidden Error with iPhone When Accessing SharePoint 2010 in Claims Mode

If you’re looking to support iPhone on a SharePoint 2010 site that is configured to use an external identity provider like Ping Federate, ADFS 2.0, or a custom STS, you will likely run into this issue. However, you may notice everything works just fine with iPad. Fortunately, the issue can be reproduced on the desktop […]

SharePoint 2010: Calling SPPersistedObject.BaseUpdate() from a Content Web Application Results in “Access Denied”

SPPersistedObject is an important element in SharePoint 2010. It’s SharePoint’s main way of storing information across servers and acts as sort of the central brain of the application. Any data stored in it is guaranteed to be there in perpetuity. This makes SPPersistedObject a very useful class, but it’s not without its drawbacks. One of […]

Load More