The Media Library stores documents (like forms and PDFs) used on your website. When a document needs to be updated, it's best to replace the existing file in the Media Library. This ensures the latest version appears everywhere the file is already linked - whether it's used in one place or multiple - and helps avoid broken links. Any details you’ve added - like the title or teaser - will stay the same.
- Log into Sitecore.
- Click the Media Library
icon.
- Navigate to the folder where the current document is stored.
- Click the document file to open its properties.
- If a yellow message bar appears, select Lock and Edit.
- Scroll down to the Media section and click Detach.
- Confirmation dialog will appear - click OK.
- Then, click Attach.
- In the popup window, click Choose File to browse for the updated document.
- Once selected, click Attach to upload it.
- In the popup window, click Choose File to browse for the updated document.
- Click the Save
icon to save your changes.
- Click the Edit
icon and select
Check In to finish.
The document file has now been replaced. Any pages that link to this file will now display the updated version, and existing document properties will remain unchanged.
WARNING: Publish the Updated File
To make the updated version visible on the live website, the file must be published.