1

Resolved

NewsTicker should (optionally) filter out Expired Announcements

description

Ideally, the NewsTicker should either:
 
 
only show Announcements that have not yet expired, or
optionally, perhaps via a configuration checkbox, only show Announcements that have not yet expired, or
optionally allow user to select a list view to be used by the web part that could be filtered to accomplish the same.
 
I found where in NewsTickerWebPart.cs the code needs to be modified to accomplish my first solution (see below) but have no idea how to rebuild the solution such that it can be reinstalled on the server and actually work.
 
camlQuery.Query = "<Where><Geq><FieldRef Name='Expires' /><Value Type='DateTime'><Today/></Value></Geq></Where><OrderBy><FieldRef Name='Created' Ascending='True' /></OrderBy>";
 
You have built a fantastic control. I think adding this option in some way would make it much better.
 
Thank you for you work on this.
 
--Robert

comments