Document Manager - Sorting libraries list

Posted by Community Admin on 05-Aug-2018 22:43

Document Manager - Sorting libraries list

All Replies

Posted by Community Admin on 29-Mar-2012 00:00

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?

Thanks,
Antoine

Posted by Community Admin on 02-Apr-2012 00:00

Hello,

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:
Telerik.Sitefinity.Modules.Libraries.Web.UI.Designers.MediaContentSelectorView
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.

Regards,
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

Posted by Community Admin on 10-Aug-2012 00:00

Thanks! This works perfectly :)
Does exactly what I was looking for.
O.

This thread is closed