Q: How do I create a custom rendering template that only affects one calendar view on the site? A: In Microsoft Office SharePoint Server 2007 and WSS 3.0 it is possible to use a custom view styl...
http://geek.hubkey.com/2010/02/custom-rendering-template-for-calendar.html
Today Twitter rolled out some changes to the user interface on the “Following” and “Followers” sections of their website. The following code is a Firefox Greasemonkey script for the ne...
http://geek.hubkey.com/2009/06/twitter-greasemonkey-following-script.html
We've been getting quite a few similar requests from our Microsoft Dynamics CRM clients, many of whom have expressed at an interest in improving the entry of NAICS and SIC codes for business user...
http://geek.hubkey.com/2009/05/naics-code-lookup-sic-code-finder-for.html
Working on that demo app , this came up - I wanted a number rounded to the nearest 1000. This is easy enough in Excel - the ROUND function takes negative values, so that =ROUND(2009,-3) will give...
http://geek.hubkey.com/2009/02/rounding-to-nearest-1000-in-c.html
Back in November we released HubKey's Client-side API for SharePoint. This API wraps many of SharePoint Server 2007's Web Services (Lists Web Service, Webs Web Service, etc.) to provide a famili...
http://geek.hubkey.com/2009/02/sharepoint-api-client-side-object-model.html
One feature commonly requested by users of Microsoft Dynamics CRM is a total of the number of records in a view or advanced find. Out-of-the-box, MS CRM 4.0 displays both a count of the number ...
http://geek.hubkey.com/2009/02/ms-dynamics-crm-40-record-counter-page.html
Following on from Part II which went over setting up a Visual Studio project to customize the out-of-the-box edit attribute form in Microsoft Dynamics CRM 4.0, here's the last installment in thi...
http://geek.hubkey.com/2009/01/copy-and-paste-crm-picklist-values-part_14.html
In Part I , I posted a screen capture demonstrating customization of the out-of-the-box edit attribute form in Microsoft Dynamics CRM 4.0. A custom "Edit All" button is displayed when a picklist ...
http://geek.hubkey.com/2009/01/copy-and-paste-crm-picklist-values-part_09.html
The web based GUI for MS CRM 4.0 offers essentially the same user interface to edit picklist attribute values as version 3. There's a tidy web form with all the buttons you'd expect in order to m...
http://geek.hubkey.com/2009/01/copy-and-paste-crm-picklist-values-part.html
Here's another code example using HubKey's Client-side API for SharePoint . In this case 2 lists are created, a document library and a generic list. A lookup field (Subject) is added to the docum...
http://geek.hubkey.com/2008/12/get-distinct-lookup-values.html
One common issue (see question #2) that developers using Microsoft's SharePoint platform are faced with is that the SharePoint object model can only be used when the application is run on a serv...
http://geek.hubkey.com/2008/11/sharepoint-api-client-side-object-model.html
If you're programatically uploading files to a SharePoint document library or creating folders, the file or folder name must not contain certain invalid characters. If it does, you'll get an erro...
http://geek.hubkey.com/2008/11/get-valid-sharepoint-file-or-folder.html
We've rolled up some of the ideas in previous posts about FrontPage Server Extensions RPC methods into a free CC licensed c# code library. You can download the source code along with a demo c...
http://geek.hubkey.com/2008/07/programatically-manage-remote-documents.html
By overriding the HandleFault method and using the SPWorkflowActivationProperties.Workflow.CreateHistoryEvent method, it's possible to write unhandled exceptions (without much coding overhead) to...
http://geek.hubkey.com/2008/05/logging-workflow-errors-in-workflow.html
Following on from Part I that showed a simple way to give users some feedback on the progress status of long running jobs - here is the same code, this time running in an .aspx page. To run ASP....
http://geek.hubkey.com/2008/03/provide-status-updates-for-long-running.html
Here's a quick way to impersonate a built-in service account (NT AUTHORITYNETWORK SERVICE or NT AUTHORITYLOCAL SERVICE) or for that matter the Local System account (NT AUTHORITYSYSTEM) in a conso...
http://geek.hubkey.com/2008/02/impersonating-built-in-service-account.html
Here's a list of recommended reading by a well known MOSS MVP. For help rationalizing poor decision making, I recommend Mistakes Were Made (But Not by Me).
Following on from this post on moving or copying SharePoint files with FrontPage Remote Procedure Calls (RPC), and this older post on remotely saving files to a SharePoint document library, the...
http://geek.hubkey.com/2008/02/delete-sharepoint-document-library.html
It's sometimes handy to know that the Person or Group SharePoint column data type is stored internally as a SPFieldUserValue. This in turn is derived from SPFieldLookupValue which is serialized a...
http://geek.hubkey.com/2008/01/searching-for-users-or-groups-using.html
In this post I published some code that took a look at using FrontPage Server Extentions to upload a file to a document library where the requirement was to be able to save metadata along with t...
http://geek.hubkey.com/2007/12/move-sharepoint-document-library-files.html
The SPUtility.TransferToErrorPage method is a convenient way to redirect users to an error page in the event that an unhandled exception occurs. This post (from Wellington no less!) covers this...
http://geek.hubkey.com/2007/12/redirecting-to-error-page.html
In Part I I posted code that used the SharePoint lists service to help in uploading files with meta data to a sharepoint document library. Here is another variation, this time using FrontPage Se...
http://geek.hubkey.com/2007/11/upload-file-to-sharepoint-document.html
A simple way to give users some feedback on the progress status of long running jobs is provided by the Microsoft.SharePoint.Publishing assembly. When a class that inherits from the LongRunningOp...
http://geek.hubkey.com/2007/11/provide-status-updates-for-long-running.html
The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You d...
http://geek.hubkey.com/2007/10/upload-file-to-sharepoint-document.html
In Part I and Part II I posted about the problem caused by the static size of the InfoPath Forms Services multi-line text box. Generally the workaround is to use the rich text control, and in f...
http://geek.hubkey.com/2007/10/multi-line-text-box-and-its-malcontents_18.html