newsItems = attributes.elementInfo.elementData.propertyValues; // Check that we have data and this is only a single record if ( ArrayLen(newsItems) ) newsItem = newsItems[1]; else newsItem = StructNew(); // Get the News Category data categoryData = application.ptNews.newsDAO.getNewsCategoryList(categoryIDList=newsItem.Values.categories);

#newsItem.Values.title#

Date: #DateFormat(newsItem.Values.publicationDate, "long")#

By: #newsItem.Values.byLine#

Categories: #Replace(catListDisplay, ",", ", ", "all")#

#newsItem.Values.body#