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);