I adapted the "News" library to allow the user to attach media files to the NewsItem.
I created a widget template to display the news item (and news list). Rendering of the news items works fine. Now I want to query the model in code behind to see whether any news were attached or not.
I am able to navigate to the NewsItem (with the above code). I am seeing the Content of the NewsItem there but I don't see the custom attributes. Any hints?