Category Archives: SharePoint

How to pass parameters/config data into custom Expiration formula

When developing a custom Expiration formula in SharePoint you may want to pass in parameters/config data for the formula, e.g. only expire items where field X has value Y. The method that you needs to implement for your formula has … Continue reading

Posted in Information Management Policy, SharePoint | 2 Comments

Where is that damn FormServerTemplates web folder?!?!

I am starting out on creating and deploying InfoPath forms to SharePoint 2010. I search around on the web and they all talk about the FormServerTemplates web folder or the Form Templates library, as this is where the form should … Continue reading

Posted in InfoPath, SharePoint | 1 Comment

How to “unexpire” an item so that it will be processed again by the Expiration Information Management Policy

In SharePoint, when an Information Management Policy is executed on an item and Expiration is enabled, and that item is deemed to be expired, then the item will not be evaluated for Expiration again at the next evaluation time. When an item … Continue reading

Posted in Information Management Policy, SharePoint, SharePoint 2010 | 6 Comments

Developing SharePoint workflows for MOSS 2007 x64 in Visual Studio 2010

There are a couple of postings about this on the web, but none seem to be complete. These are the steps I took to get this to work: Ensure WSS 3.0 SDK is installed. Remember to restart VS 2010 after … Continue reading

Posted in SharePoint, Workflow | Leave a comment

List attribute of Lookup field schema – Using URL versus GUID

There has been a lot of research about the List attribute of the XML schema of Lookup fields. In this post I will summarise their findings and add my 2cents about the pros and cons of each approach. Some recommended … Continue reading

Posted in Lookup Columns, SharePoint, SharePoint 2010, Uncategorized | Leave a comment

How to create cross-web Lookup fields through XML schema

By “cross-web” Lookup fields, I mean a Lookup fields that refers to a source list that is in a different subweb than where it is currently being used. So ListA has a Lookup field that points to ListB. ListB however … Continue reading

Posted in Lookup Columns, SharePoint, SharePoint 2010 | 4 Comments

Strategy for maintaining isolation and source code manageability for Framework libraries in SharePoint

Wow what a long post title! Let me explain.. Overview SharePoint apps on the same server shares a common GAC. How do we reuse Framework libraries across these apps, yet: Keep the Framework runtime code isolated for each client system to: Reduce risk and … Continue reading

Posted in Practices, SharePoint | Leave a comment

Jazzing up your list in SharePoint 2010

In SP2010, out-of-the-box list views use the XsltListViewWebPart and this gives you a lot more flexibility in customising the look and feel of your list, for example you can apply Conditional Formatting to your list using SharePoint Designer. In this … Continue reading

Posted in SharePoint, SharePoint Designer, XsltListViewWebPart | Leave a comment

Cannot make a cache safe URL for “1033/sp.js”, file not found

I was playing around with writing WebParts and using the SharePoint Javascript Client Object Model (COM – I wish people would standardise this acronym soon!). I added a ScriptLink to SP.js but got this error: Cannot make a cache safe … Continue reading

Posted in Client Object Model, SharePoint | Leave a comment

Getting class name of variables in SharePoint’s Javascript client object model

Have you suffered from the pain of debugging SharePoint Client Object Model (COM) in Javascript? If you haven’t.. I think you soon will. The SP COM introduces lots of classes in Javascript. Although you can add some basic intellisense for … Continue reading

Posted in Client Object Model, SharePoint | Leave a comment