In this week’s release, we introduced the ability to save content with empty required fields. Let’s understand this feature in detail.
What Is an In-Progress Entry?
An entry is a piece of content that you create using a content type. An in-progress entry is an entry that includes one or more mandatory fields with no set value. Previously, Contentstack did not allow saving entries if the required fields were left blank. While it was helpful for validation, such an implementation made it impossible for content managers to navigate away from content entry midway, for example, to edit content later or to create entry references.
Note that the “mandatory” field validation is checked when publishing the entry.
Why Allow Saving In-Progress Entries?
The following lists some situations where saving in-progress entries is beneficial.
Avoid data loss: The ability to save entries with no values in mandatory fields allows you to save data at any time while editing. Being able to save data helps guard against data loss that may arise to a sudden power outage or a system crash.
Edit in multiple sessions: You may want to work on an entry over a long period of time, due to the size or complexity of the entry. In such cases, you can save the entry as incomplete and come back later for further editing.
Create references on the go: While creating an entry, you may want to create reference entries on the go. However, to do that, you have to navigate away from the parent entry page. Saving in-progress entries makes this easier and helps ensure content is up to date without any loss of data.
How to Save In-Progress Entries
Saving in-progress entries is not different than saving a normal, complete entry. To save an in-progress entry:
- Go to the entry page
- Add content (you can choose to skip adding values to the mandatory fields)
- Click "Save"
This saves the entry as being in progress.
There are, however, certain limitations on the actions that you can perform on in-progress entries. Read more about them below.
Note: This feature is not available by default. To enable in-progress entries for your organization, contact us a firstname.lastname@example.org.
What You Cannot Do with In-Progress Entries
An important point to note is that entries cannot be published until they are complete. In fact, all the actions related to publishing the entry cannot be performed for in-progress entries. This means that the in-progress entries:
- Cannot be published
- Cannot be added to release
- Cannot be scheduled for publishing
- Cannot be part of bulk publishing
- Cannot be sent for publishing as reference
So all rules that were applicable to publishing are still the same, ensuring that only complete content can go live.
Read more about saving in-progress entries.Read More