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 […]
Posts Tagged ‘.net’
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 […]
Team Build 2010: XML Transforms on Team Build 2010 for Non-Web Application Projects
One of the cool new features of Visual Studio 2010 Web Application projects are web.config transforms which allow you to use different settings in your web.config file without needing to remember to change them every time you compile the project. More information can be found here: http://msdn.microsoft.com/en-us/library/dd465326.aspx. In a nutshell, you can provide additional settings […]
Prevent IIS from Terminating Your Debugging Session
One of the most irritating things that can happen while you’re debugging is this message: When you sit at any one breakpoint for too long (longer than the ping maximum response time), this error will appear and terminate your session. If you’re anything like me and my fellow team members, you’ll blindly click “OK” and […]
Creating and Defining ProfileSubtypes Programmatically
ProfileSubtypes allow administrators to create alternate views for different user to display or hide different user profile properties. However, going through the process of manually changing each profile property could be substantial if there are numerous profile properties on your UserProfileServiceApplication. Therefore, being able to automate the process with a feature, service, or console application […]
Team Build 2010: Deploying a Database with MSBuild on Team Build 2010
If you missed my last post on automating deployments across domains with Team Build 2010, you can find it here. The Problem In this post, I’m going to discuss automating deployment of a database project to a database using Team Build 2010. Out of the box, you can build the database project, but that […]
Limitation of programming vCalendar Meeting Requests using System.Net.Mail
Programmatically creating Outlook meeting request has been a hot topic for me over the past few weeks. I found myself in a scenario that required me to send a meeting request from a user and was using the System.Net.Mail namespace to do the job.While creating the meeting request, a limitation surfaced as result of the […]
Speed up Development with Exchange Web Services Managed API
We’ve all experienced it before, those “Wow, I can’t believe it’s that easy” moments. Exchange Web Services Managed API makes sending emails, creating appointments, querying folders/calendars, and generating meeting requests extremely simple.When it comes to programmatically duplicating Outlook functionality (given Exchange is running the show), the Exchange Web Services Managed API is definitely worth looking […]