Skip to content

Commit c074fc1

Browse files
Bulk Publish improvements (#1795)
* Update documentation for Bulk Publish v2 * Display more levels in secondary TOC to show H4 titles * Fix typos after review
1 parent dc129fb commit c074fc1

File tree

1 file changed

+31
-12
lines changed

1 file changed

+31
-12
lines changed

docusaurus/docs/user-docs/content-manager/saving-and-publishing-content.md

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Saving, publishing, and deleting content
33
description: Instructions to manage content throughout its whole lifecycle, from the draft version to the deletion of the obsolete content.
4+
toc_max_heading_level: 4
45

56
---
67

@@ -26,7 +27,9 @@ Your contents can have 2 statuses: draft or published. You can see the current s
2627

2728
By default, each newly created content is a draft. Drafts can be modified and saved at will, using the **Save** button on the top right corner of the edit view, until they are ready to be published.
2829

29-
### Publishing a draft
30+
### Publishing and unpublishing
31+
32+
#### Publishing a draft
3033

3134
To publish a draft, click on the **Publish** button in the top right corner of the content editor.
3235

@@ -48,28 +51,44 @@ When a content is not a draft anymore, but has been published, it is indicated o
4851
To schedule publication, i.e. convert a draft to a published entry at a given date and time, you can follow [this technical guide](https://forum.strapi.io/t/schedule-publications/23184) which requires adding custom code to the Strapi application.
4952
:::
5053

51-
### Unpublishing content
54+
#### Unpublishing content
5255

5356
Published contents can be unpublished, switching back to being drafts again.
5457

5558
To unpublish content, click on the **Unpublish** button in the top right corner of the content editor.
5659

57-
### Bulk publish and unpublish
60+
### Bulk publishing and unpublishing
61+
62+
Selecting multiple entries from the Content Manager's list view will display additional buttons to publish or unpublish several entries simultaneously. This is what is called "bulk publishing/unpublishing".
5863

59-
Selecting multiple entries from the Content Manager's list view will display additional buttons to publish or unpublish several entries simultaneously.
64+
:::caution
65+
If the [Internationalization plugin](/user-docs/plugins/strapi-plugins.md#-internationalization-plugin) is installed, the bulk publish/unpublish actions only apply to the currently selected locale.
66+
:::
6067

6168
![Selecting entries for bulk publish/unpublish](/img/assets/content-manager/bulk-publish.png)
6269

63-
To publish or unpublish several entries:
70+
#### Bulk publishing drafts
6471

65-
1. From the list view of the Content Manager, select your entries to publish or unpublish by ticking the box on the left side of the entries' record.
66-
2. Depending on what you want to achieve, click one of the **Publish** or **Unpublish** buttons located above the header of the table. When selecting only published entries, only the **Unpublish** button is shown, while when selecting only draft entries, only the **Publish** button is shown.
67-
3. In the confirmation dialog box, confirm your choice by clicking on the **Publish** or **Unpublish** button.
72+
To publish several entries at the same time:
6873

69-
:::caution
70-
* If an error occurs, a red message overlay will appear with additional information, and none of your selected entries will be published or unpublished.
71-
* If the [Internationalization plugin](/user-docs/plugins/strapi-plugins.md#-internationalization-plugin) is installed, the bulk publish/unpublish actions only apply to the currently selected locale.
72-
:::
74+
1. From the list view of the Content Manager, select your entries to publish by ticking the box on the left side of the entries' record.
75+
2. Click on the **Publish** button located above the header of the table.
76+
3. In the *Publish entries* dialog, check the list of selected entries and their status:
77+
78+
- ![Success icon](/img/assets/icons/CheckCircle.svg) Ready to publish: the entry can be published
79+
- ![Fail icon](/img/assets/icons/CrossCircle.svg) "[field name] is required", "[field name] is too short" or "[field name] is too long": the entry cannot be published because of the issue stated in the red warning message.
80+
81+
4. (optional) If some of your entries have a ![Edit icon](/img/assets/icons/CrossCircle.svg) status, click the ![Edit icon](/img/assets/icons/edit.svg) edit buttons to fix the issues until all entries have the ![Success icon](/img/assets/icons/CheckCircle.svg) Ready to publish status. Note that you will have to click on the **Refresh** button to update the *Publish entries* dialog as you fix the various entries issues.
82+
5. Click the **Publish** button.
83+
6. In the confirmation dialog box, confirm your choice by clicking again on the **Publish** button.
84+
85+
#### Bulk unpublishing content
86+
87+
To unpublish several entries at the same time:
88+
89+
1. From the list view of the Content Manager, select your entries to unpublish by ticking the box on the left side of the entries' record.
90+
2. Click on the **Unpublish** button located above the header of the table.
91+
3. In the confirmation dialog box, confirm your choice by clicking again on the **Unpublish** button.
7392

7493
## Deleting content
7594

0 commit comments

Comments
 (0)