View Settings: Enable Edit Locking in GravityView

Sometimes two people are editing the same entry at the same time. Gravity Forms has a system for that called Entry Locking. In Version 2.6 of GravityView, we have implemented Entry Locking.

How to enable and disable Entry Locking

In GravityView 2.7, a View Setting was added to allow you to enable or disable Entry Locking. When you are editing a View, scroll down to View Settings. Click on the Edit Entry tab, and you will see a setting named "Enable Edit Locking".

Screenshot of the Enable Edit Locking setting in GravityView View Settings box

To enable Entry Locking, check the "Enable Edit Locking" checkbox. To disable Entry Locking, uncheck the "Enable Edit Locking" checkbox. Then click the Update button near the top of the screen to save the View settings.

When an entry is being edited in Gravity Forms and a user tries to edit the entry in GravityView, they will be shown a notice with options to request control over the entry.

Requests may take around 15 seconds

When a lock is requested by either user, it will take some time to process. That's because the Entry Locking process relies on a WordPress feature called the "Heartbeat API". The process normally takes around 15 seconds to cycle, but sometimes sites have customized the heartbeat timing, in which case the process could take longer or shorter time.

Privacy

If the person attempting to edit an entry does not have the capability to edit other people's Gravity Forms entries, GravityView will strip information about who is requesting or granting access. This makes Entry Locking more secure by preventing users from gaining usernames of site administrators.

This is what users without administrator-level access will see:

Screenshot showing the dialog 'This entry is currently locked. Click on the 'Request Control' button to let the person who is editing the entry know you'd like to take over.'

Known issue: When requesting control of an entry in GravityView, the response reads "Your request has been sent to .", with the recipient showing as blank.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us