More in this section

Forums / General Discussions / Show Latest Documents Uploaded

Show Latest Documents Uploaded

2 posts, 1 answered
  1. Greg
    Greg avatar
    82 posts
    08 Aug 2012
    23 Aug 2010
    Link to this post
    Hi -

    We've got a site that is currently displaying the latest/upcoming evens successfully. We are wondering if we can do the same with recent file uploads? We've got a document library called 'Documents' that we'd like to pull from on the home page to show new documents that have been uploaded (say the last 5). Is this possible with Sitefinity?


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    23 Aug 2010
    Link to this post
    Hello Greg Delorey,

    Add a new metakey  - User Manual page 214 which will be of type DateTime and you should set it when you create or/end edit an item through Images and Documents module

    1. Use DownloadList control and set SortExpression property to "MyCustomFiled DESC". Set ItemsPerPage property to 5. Then you can hide the pager with css.

    2. Programmatically you can use GetContent method and its overloads - you can use contentManager.GetContent(0, 4, " MyCustomFiled ASC");

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 1 answered