geekoncode.com
Geek On Code: August 2009
http://www.geekoncode.com/2009_08_01_archive.html
Saturday, August 1, 2009. Using the calendar control on a public facing SharePoint Publishing Site. Our solution turned out to be two web parts, one to present the calendar and one to display the detail of the calendar event. String.IsNullOrEmpty(calendarName) { base.Controls.Add(calview); } else { lit.Text = The Calendar Presentation web part is not properly configured. base.Controls.Add(lit); } } } }. MyObjToString() : string.Empty); } catch { return string.Empty; } } } }. Posted by Mike Mayer.
geekoncode.com
Geek On Code: March 2009
http://www.geekoncode.com/2009_03_01_archive.html
Monday, March 2, 2009. Handle Network Availability Changes. I have recently been working on an application that has multiple instances of a WPF application that interfaces with a database. Each of the applications relies on SQLDependency notifications to stay in sync when a change is made by one. The database notifies all applications that are subscribed to notifications when one of the applications makes an update. Void NetworkChange NetworkAvailabilityChanged(object sender, NetworkAvailabilityEventArgs...
geekoncode.com
Geek On Code: SharePoint Workflow – Parallel Replicator
http://www.geekoncode.com/2010/09/sharepoint-workflow-parallel-replicator.html
Wednesday, September 1, 2010. SharePoint Workflow – Parallel Replicator. My solution was to write a custom SequenceActivity. This is nothing more than a class file that inherits SequenceActivity. My custom sequence activity did nothing more than register a DependencyProperty that I could set in the OnChildInitilized method of the replicator. My CreateTask MethodInvoking method the reads the information from the sequence property to populate it’s fields. Using this method, the appropriate number of unique...
geekoncode.com
Geek On Code: Update InfoPath field value from SharePoint Workflow
http://www.geekoncode.com/2010/09/update-infopath-field-value-from.html
Wednesday, September 1, 2010. Update InfoPath field value from SharePoint Workflow. I wrote a few methods to update the InfoPath form correctly. The primary method that we call from our code is UpdateInfoPathField. . Public void DeleteNil(XPathNavigator node) { if (node.MoveToAttribute(nil, http:/ www.w3.org/2001/XMLSchema-instance) node.DeleteSelf(); }. Posted by Mike Mayer. Subscribe to: Post Comments (Atom). Send reminder emails from SharePoint Workflow for . View my complete profile.
geekoncode.com
Geek On Code: September 2009
http://www.geekoncode.com/2009_09_01_archive.html
Sunday, September 27, 2009. Updated Custom SharePoint Membership/Role Provider. Note: This is an update to my previous post describing a custom SharePoint Membership/Role Provider. I have left the other post intact in the event you need to see what I did that didn’t work. This solution seems to work better. Null) return base.GetUser(username, userIsOnline); else return FBALDAPProvider.GetUser(username, userIsOnline); } public override MembershipUser GetUser(object providerUserKey, bool userIsO...Now t...
geekoncode.com
Geek On Code: January 2010
http://www.geekoncode.com/2010_01_01_archive.html
Sunday, January 24, 2010. Ensure a user is registered at a site and is at least a visitor. Private SPUser EnsureSiteUser( string username ) { SPUser user = null; / Get User from workflowProperties object. using( SPWeb web = workflowProperties.Web ) { / Ensure user will check to see if user is in site and if not add them. user = web.EnsureUser( username ); / DoesUserHavePermissions will check if user has permission to ViewPages in this case. if(! Posted by Mike Mayer. Subscribe to: Posts (Atom).
geekoncode.com
Geek On Code: Send reminder emails from SharePoint Workflow for overdue tasks
http://www.geekoncode.com/2010/09/send-reminder-emails-from-sharepoint.html
Wednesday, September 1, 2010. Send reminder emails from SharePoint Workflow for overdue tasks. My solution was to basically develop a “multi-threaded” workflow. To do this I used a ConditionedActivityGroup workflow object. Below is the structure of one of the Sequences in my CAG. I’m going to explain what each of the activities in this leg of the CAG are doing but I have also included the code for each of them below. The DelayActivity is initialized with a time span defined in a settings file but could b...
geekoncode.com
Geek On Code: September 2010
http://www.geekoncode.com/2010_09_01_archive.html
Wednesday, September 1, 2010. Send reminder emails from SharePoint Workflow for overdue tasks. My solution was to basically develop a “multi-threaded” workflow. To do this I used a ConditionedActivityGroup workflow object. Below is the structure of one of the Sequences in my CAG. I’m going to explain what each of the activities in this leg of the CAG are doing but I have also included the code for each of them below. The DelayActivity is initialized with a time span defined in a settings file but could b...