More in this section

Forums / Developing with Sitefinity / How to query last modified video across libraries

How to query last modified video across libraries

2 posts, 0 answered
  1. Parimal
    Parimal avatar
    9 posts
    Registered:
    09 Apr 2013
    09 Apr 2013
    Link to this post
    Hi,
    Please help me to query last modified video across libraries.

    Thanks,
    Parimal
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    30 Oct 2017
    12 Apr 2013
    Link to this post
    Hi Parimal,

    You can use our Videos API to achieve the desired functionality, for example:

    var allVideos = App.WorkWith().Videos().Get();
                if (allVideos != null)
                {
                    var lastModifiedVideo = allVideos.OrderBy(v => v.LastModified).First();
                }


    All the best,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested 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, 0 answered