logo
logo

Public collections

Public collections are collections of assets that are publicly available through media delivery.

Public collections are configured in the Sitecore Content Hub instance but are served by the media delivery service (MDS). This means, the collection is shared with a public link and each asset contained in the public collection is served by the MDS with a delivery link.

Theming

Public collections use the theme provided by the Content Hub instance so users have the same look and feel on the new application as on the Content Hub instance.

The web application fetches information about the theme from Content Hub and caches the theme until notified to refresh it. When you start the application the first time, the Content Hub portal must be running, or the new application cannot find the relevant CSS. Otherwise, the application retrieves the latest theme configuration from an ini file.

If a superuser changes or modifies the current default theme, the change is automatically applied to the new web application.

Note

The CSS comes from Content Hub directly or from a CDN.

The admin API also lets you clear the cache. This can be useful if you do not want to wait for the cache to expire before seeing your applied changes.

To clear the cache, you must send an HTTP POST request to {base public collections address}/api/media-delivery/admin/v1/{tenantId}.

Can we improve this article ? Provide feedback