Speed up widget development with Sitefinity MCP server. Learn more...

Display manually reordered media files in the backend

In Sitefinity CMS backend, you can reorder media files - Images, Videos, and Documents. However, in the backend grid, you cannot see the newly created order. The order applies only to the frontend widgets, for example, the Image Gallery widget. 

To change this, you can add the filter to the configuration, by performing the following:

  1. Open your ~/App_Data/Sitefinity/Configuration/ContentViewConfig.config file.
  2. Inside the <sortingExpressionSettings> section, add the following lines:
  3. Restart your application.
    You can see the reorder you have made in the backend grid.

    NOTE: If you are running Sitefinity CMS version 7.x and above, the system creates an automatic label in the Sort by: dropdown box labeled As manually ordered. Otherwise, you must manually add three labels with KeyAs manually ordered and TypeImagesResources, VideosResources, and DocumentsResources, respectively.

  4. Refresh the backend page that displays the grid.
NEW TO SITEFINITY?

Want to learn more?

Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.

Get started with Integration Hub | Sitefinity Cloud

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting your Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.

Was this article helpful?