Quickly Unpublish an Article from a Live Site - CMCC 10

Last updated 15 days ago

From time to time, you may need to remove content from your live site fast and without much complexity. Learn how to configure the visibility of a content item and use this as a workaround when time is of the essence.

This guide applies to CMCC 10

This how-to guide has yet to be updated for the most recent product release. Some of the elements in this guide might not work as described, if you are on the latest version.

Thank you for your patience!

LightbulbWhat you'll learn

  • Quickly depublish an article that may be linked to several pages on your live site

Person reading a bookPrerequisites

  • CoreMedia Studio
  • Knowledge about the CoreMedia system's file structure, configuration and operation

WristwatchTime matters

Editing and checking the visibility of a content item will take 3-5 minutes

Person in front of a laptopShould I read this?

This guide is for Editors.
Table of Contents

As an editor, you sometimes need a quick solution to ensure that a specific content item is no longer visible on a live site. Instead of using the Withdraw function, you can use the Validity settings – not to remove the content, but to make it invisible for the public – instantly.

The following steps are not a permanent solution but a workaround.

Steps

  1. Go to the content that you want to remove. In our example, we want to depublish the article titled Chef Corp BBQ Cookout, indicated by the red frame below: Quickly Depublish Step 1

  2. Just for reference, if you want to remove an article, you would usually go to the article, open the Library and use the Withdraw button: Quickly Depublish Step 2

    In this example, using the Withdraw function is not a quick or easy option. Perhaps because one of your editor colleagues is out of the office and they cannot assist you.

    As you can see in the following screenshot, using the Withdraw function can also fail because an article may be linked or referenced on several pages: Quickly Depublish Step 2b Therefore, by performing the following steps you can simply edit the visibility settings for this article when time is of the essence and the content needs to be invisible on your live site immediately.

  3. Scroll down to the property Validity and click on the calendar symbol in the Valid To field. Quickly Depublish Step 4

  4. Assuming today is May 17th, 2021. If you enter any date before today, the article will not be visible anymore. Quickly Depublish Step 4b

  5. In the preview, you are then notified that this content is invalid, and you need to click on the icon to Finish editing and apply all changes: Quickly Depublish Step 5

    If you want, you can now go ahead and check if the article has really disappeared from the site, but if you picked a date in the past, it should now be “gone”.

    Now that you have reached your initial goal, you have all the time in the world to withdraw the article permanently. In the next step, you therefore need to publish the changes in regards to this article.

  6. Open the Library and select your article. When the article is highlighted in the list of content items in the Library, click on the Publish button. The Publication Workflow dialog appears. Click on Start. Quickly Depublish Step 6

  7. Now, even though the content is no longer visible, the content is still on the server and is still linked on several pages. To find out, where exactly it is still linked and must be removed, open the System tab. Quickly Depublish Step 7

  8. The list in the property Content Items Linking to This Content Item provides an overview and you can now open all Content Items by double-clicking on them. Tip: you can also select all and double-click once, this will also open all content items in a new tab. Quickly Depublish Step 8

  9. Now you go on each page and delete the article. Go to the property Content Items linking to this Content item field. Open all Content Items in Studio.

    As you can see in the screenshot for our example below, it is marked as Invalid since […]. Click on the Remove icon. Quickly Depublish Step 9

  10. For all content items: check on all tabs, if there is a link to the target content item. If you find a link, remove it. Approve your changes.

  11. Go to the property Content items linking to this Content item of your target content item once more and check if the list is empty. If there are still content items in this list, check for these items again and make sure to remove them. Finally, publish all your changes. Then: depublish your target content.

  12. Once you have removed the article on all pages, make sure you click on Apply All Changes one more time. Now you’re done!

Copyright © 2024 CoreMedia GmbH, CoreMedia Corporation. All Rights Reserved.
Loading...