Edit online

Delete Table Row Operation Fails When Change Tracking is Enabled

Problem

I tried to delete an empty row in table that I added myself with change tracking enabled, and I received the following error:
This operation cannot be executed on a table while change tracking is enabled.
Deactivate change tracking and try again. 

Cause

Some complex operations are blocked when change tracking in enabled to prevent breaking the XML structure.

Solution

The deletion in this particular case should not have caused an issue, so an administrator could set the changeTrackingBehavior parameter for the DeleteTableRowOperation with one of the following values:
  • Block - The operation is not executed when change tracking is activated.
  • Allow - The operation is executed when change tracking is activated. In the future, if complex table operations are performed, the resulting table layout may be broken.
  • Allow without change tracking - The operation is executed with change tracking disabled.
  • Allow - The editor decides which strategy to use, possibly asking the end user.