Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Latest Event List View modes: 
User avatar
Member
Member
webadmin-bozeman - 6/16/2010 7:26:29 PM
   
Latest Event List
I have a Latest Event webpart that will list CMS.BookingEvents ORDERED by EventDate ASC. I have selected the to N documents to be 5. However the Events showing are past the current date Also the Publish to: date has expired. I want them to stay current How can I do that?


Thank you in advance ,

Marina


User avatar
Member
Member
Mercer - 6/17/2010 12:33:46 AM
   
RE:Latest Event List
You should be able to set the WHERE clause and use a marco to pass the current date. Also, check the Select Only Published checkbox to exclude expired items.

DocumentPublishTo < '{%currentdatetime%}'