except the row that’s the latest version. We use this to display the list of previous versions at the bottom of the row’s popup modal window, allowing users to view previous versions and ultimately revert a previous version.
Content (read-only) pulls in the Content from the latest version. Because we are using a formula here, the column is read-only (its content can’t be edited). This forces our user to use the Edit Topic button to make edits to a topic.
The Edit Topic button allows users to modify the topic’s existing content. The way this works is:
We use DuplicateRows() to duplicate the Latest Version row from
displays the Name of the topic and the Content (read-only). Below that we include information about the current version:
The version number, who made the last edit, and when they made that edit
Further down the window, we have a list of Previous Versions. This displays a table and includes a button to View Version. Clicking this button will OpenRow() the relevant version from
If your wiki topics are displayed as a table, you should include a button to OpenRow() rather than relying on users to find the “Expand row” hover button. I personally prefer a card view here because the user can click anywhere on the card to open the row’s modal window. Making the clickable target as large as possible is always a good thing, and we also want to prevent direct edits to the row and instead force users to use the row’s modal window.
A workflow I haven’t included in this doc is “How do I create a new topic”. You’d ultimately need a button to perform two actions:
The columns Created on and Created by are row properties, so are not editable.
The Version # is calculated with a formula. Each time a row is added to the table, the version number is incremented.
The Latest Version checkbox is also calculated with a formula. It is checked on the row with the highest Version # for each Topic.
The Revert to this Version button deletes all rows in the table with the same Topic if their Version # is higher than the given row. This effectively makes the selected row the latest version for the topic.
Content is the actual textual content for the topic. When the row is created, the latest version’s Content is copied into the new row. This allows the user to make edits to the article’s content as it currently stands.
This would have the Content column visible and editable, and the Revert to this Version button would not be displayed (currently I just disable the button).
The second view would be accessed when users want to view a previous version of a topic. This would be accessible by clicking the View Version button in the subtable of
This view would prevent edits to the Content by displaying a “read-only” version of the content (create a new canvas column, and add a formula to the column which pulls in the row’s editable Content).
And the Revert to this Version button would be visible.
You may also wish to reconsider how the Revert to this Version button works. Currently, reverting to a previous version deletes all subsequent versions which may be too destructive for your purposes. If you’d like to maintain these versions for historical reasons, you could instead DuplicateRows() the selected previous version, making a copy which then becomes the topic’s latest version. There are all sorts of cool things you could add to this workflow. Perhaps there’s a lookup which you set to the row you chose to restored, and update the Name column to display something like “Reverted back to V1” if that column isNotBlank().
DB Versions
Name
Topic
Version #
Latest Version
Created on
Created by
Content
View
Revert version
Back to Topic
Name
Topic
Version #
Latest Version
Created on
Created by
Content
View
Revert version
Back to Topic
1
Mission Statement - V1
Mission Statement
1
1/18/2024, 10:36 AM
Jono Bouwmeester
View Version
Revert to this Version
Back
2
Mission Statement - V2
Mission Statement
2
1/18/2024, 10:41 AM
Jono Bouwmeester
View Version
Revert to this Version
Back
3
Mission Statement - V3
Mission Statement
3
1/18/2024, 10:46 AM
Jono Bouwmeester
View Version
Revert to this Version
Back
4
Mission Statement - V4
Mission Statement
4
1/18/2024, 10:54 AM
Jono Bouwmeester
View Version
Revert to this Version
Back
5
Q1 2024 Goals - V1
Q1 2024 Goals
1
1/18/2024, 11:07 AM
Jono Bouwmeester
View Version
Revert to this Version
Back
6
Q1 2024 Goals - V2
Q1 2024 Goals
2
1/18/2024, 11:08 AM
Jono Bouwmeester
View Version
Revert to this Version
Back
7
Approved Software - V1
Approved Software
1
1/18/2024, 11:11 AM
Jono Bouwmeester
View Version
Revert to this Version
Back
8
Approved Software - V2
Approved Software
2
1/18/2024, 11:12 AM
Jono Bouwmeester
View Version
Revert to this Version
Back
9
Q1 2024 Goals - V3
Q1 2024 Goals
3
1/18/2024, 2:07 PM
Jono Bouwmeester
View Version
Revert to this Version
Back
10
Approved Software - V3
Approved Software
3
1/18/2024, 2:08 PM
Jono Bouwmeester
View Version
Revert to this Version
Back
11
Mission Statement - V5
Mission Statement
5
1/18/2024, 2:08 PM
Jono Bouwmeester
View Version
Revert to this Version
Back
There are no rows in this table
Want to print your doc? This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (