Restricted Editors cannot replace or delete a file that someone else uploaded; however, they can replace or delete an image or document if they uploaded the original document. To do this follow these steps. 



How to Replace a File

Reminder: Restricted editors can only replace Documents they originally uploaded.
  1. Go to Content > Files
  2. Search for the file by Name
  3. You will see a "Used In" column, click on the link

  4. Now click on the Entity link

  5. You will be taken to the page where you can edit the Media, remove the old file and add the new file. 


This will update existing links created within through Drupal , e.g., /media/99999

This will NOT update external links, e.g., https://publichealth.jhu.edu/my-document.pdf .


If you'd like to create redirects for external links, you will need to contact the Web Team.






How to Delete a File

Restricted Editors can only delete Documents they originally uploaded.
Before you delete a document, be sure to remove any instance where you are using it.



This is a two-step process. First, delete the document, then delete the media entity and the file itself. 

Step1

  • Go to contents-->Media
  • Find your media
  • Go to Operations and use the dropdown
  • Select Delete
  • Confirm the delete

Step 2

  • Go to Content --> Files
  • Find your file
  • Go to Operations and use the dropdown

  • Select Delete

  • Confirm the delete
Documents are cached by the server, and may continue to show up after deletion until the cache is automatically cleared. If you need an item immediately removed, please contact the Web Team.
This approach will NOT work on form submitted content, but form responses get deleted within the form interface. If this is the case, you will need to contact the Web Team.