Are you a .NET Developer or Contractor interested in working with Sitecore or Dynamics CRM?

Apply for our Mentorship Program. If accepted, we will mentor you on Sitecore and provide you with project to help you build your skills and make some money at the same time. If you are interested send your resume with details on why you want to work with Sitecore or Dynamics CRM to: Chris Williams - or Dennis Augustine - We look forward to working with you to achieve your goals.

Thursday, January 7, 2010

WebPart Parameter Binding to a static value

It took me a while to find this out myself so I thought I would post it here. Sometimes you want to use a webpart and bind the parameters to a static value rather than to the querystring.

I had to use this for the sites in category web part since I had to place two on the same page with different filtervalues for the same field. The way to do this is to find the filtervalue parameter binding entry and add an extra property called "DefaultValue" set this to the proper value and voila.

I hope this saves you some time when you are trying to perform the same task.

If you have any tips, tricks, resources you would like to share with the group please post them as comments or email them to Susan Fischer at and we will post them in an article.