Content Hub Tip #12: Force asset to be downloaded

Content Hub Tips logo

When uploading assets in the Content Hub DAM, you want to use them across your digital ecosystems. Most of the time you want the asset to be displayed within the browser. But sometimes, you want to force the browser to download the file. In the case of a PDF file for instance. The Content Hub has got you covered.

You can easily force the browser to download the file by appending the following part to the query string: &download=true

For example
https://mysite/api/public/content/b2f7bfc7756b4e8891dd9ec54453024a?v=7dbfe11b&download=true

For more information check out the documentation.

Until next time!