How To: Roll back to a Deleted or Previous Version of a View or Form

It is important to note that this procedure is not recommended as the validation logic of the designers will be lost and could result in unexpected behavior. Before making any change to a SQL database ALWAYS make a backup or a snapshot of the SQL database. Also note that this procedure should NOT be used in production environments.

Audience Required Knowledge
  • Developers
  • View Designers
  • Form Designers
  • Views
  • Forms

The SQL command can be used for both Views and Forms. The mRevertToVersion stored procedure in the audit log will determine whether it's a View or Form from the [Form].[AuditLog] table record and redeploy the View or Form as that version. The @AuditLogID is linked to a specific View or Form. The @AuditLogID should be treated with caution as this will determine which View or Form will be reverted.

K2 smartforms Product Documentation: User Guide4.6.10
Video Links Learn Support
No videos found for this article
K2 on YouTube
No Additional links found for this article
No self-learning content for this article
Try some scenarios...
No relevant support links available for this article