More in this section
Forums / Sitefinity UX / Document Manager - Sorting libraries list

Document Manager - Sorting libraries list

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Antoine
    Antoine avatar
    45 posts
    13 Jul 2012
    29 Mar 2012
    Link to this post
    When working in a content block and using the Document Manager to insert a document from already uploaded documents, a list of document libraries is presented.

    We have a large number of document libraries and would like to sort the list of libraries alphabetically. Is there a configuration option to have this list sorted by the Title of the document libraries?

  2. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    31 May 2017
    02 Apr 2012
    Link to this post

    To sort the list of libraries alphabetically you should follow the steps below:
    1. Go to your SDK folder.
    2. Select Content -> Resources -> WidgetTemplates -> Designers -> Libraries.
    3. Copy the control MediaContentSelectorView to a new folder.
    4. Open it and add this sorting field:

    <DefaultSortExpression ="Title ASC">

    5. Open your project
    6. Go to Administration -> Settings -> Advanced -> Controls -> View map
    7. In the field HostType add:
    8. In the LayoutTemplatePath write: ~/MediaContentSelectorView.ascx
    9. Save the changes
    10. Go to you project in Visual Studio and add the updated control
    11. Right click and select Include In Project
    12. Build the project

    For your inconvenience I have recorded a sample video demonstration.Please do not hesitate to get back to me if any problems persist, I'll be glad to assist you further.

    Stefani Tacheva
    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
  3. Owain
    Owain avatar
    110 posts
    17 Jan 2012
    10 Aug 2012
    Link to this post
    Thanks! This works perfectly :)
    Does exactly what I was looking for.

3 posts, 0 answered