Posts

Showing posts with the label SharePoint

SharePoint Discussion List Threading view Rating System:

Image
I wanted to do a Rating system for the email threads we have in our SharePoint system. I have written an email thread synchronizer for SharePoint. Of course, SharePoint synchronizes the email but doesn’t thread it properly. I will write a separate blog for it. This rating system is like this: Figure 1: So a user who needs to rate the email message just clicks a star and the average rating will be shown. So how did I achieve it? I haven’t used any c# code (except a web service). What I did was kind of changed the schema.xml file that SharePoint creates for each List. This Schema.xml file is in the appropriate folder in the 12 hive. (12\template\features\customdiscussionboard\schema.xml). So how and where to change the Schema.xml file? Since, I know, I need to display my star rating images before View Properties, I was curious to know where and how this is displayed. That is why, I went to Schema.xml file and fiddling it with. I saw a Status Bar field. There I saw this ...

Date Filter Range Control for SharePoint/ASP.NET

Image
Figure 1 Figure 2 Folks, though I am good in talking with the processor, I am bad at high level languages like “English”. So please don’t mind my literature and jump into the juice part of it. I was searching for a Date range filter control with a Start Date and End Date and hit a submit button and filter for those date ranges. May be I didn’t query well in “google” or “bing”, I didn’t find one. Even that is cool, because, it prompted me to write my own control and here I am. This is a control, where you can use it in your ASP.NET pages or SharePoint web parts. I wrote it for SharePoint web parts. It has two different Delegates that can be passed in during the initialization time. Based on the delegate, the appropriate control will be shown. I have two different types of date filter control that needs to be used in my application. One is filter for a week, month, quarterly, half-yearly and yearly. Please Refer Figure 2 For the above control usage, you need to pass in the method void Si...