Then, I changed the “Type of Order” column from the text fields (Sale/Restock) to a Relation type since I wanted to define a more robust transaction type model in a separate sheet. Suddenly, my Orders collection layout has disappeared . The Order list, detail, edit and create views that I had painstakingly customized have disappeared .
I am quite certain I did not change the data source of the tab. But that’s a good insight on duplicating the tab before making potentially breaking changes. Version management in Glide ought to come sooner!
@Darren_Murphy fair observation, and that surely would’ve been a short-n-sweet fix but here is the thing:
The Collection component disappeared in the layout editor altogether (see my 3rd screenshot above). So the preview screen would’ve been blank, but at least I should have been able to see the collection component.
When I used “Find uses” on the new relation column (and its derived lookup fields e.g Transaction Type/Name), it would show the ‘raw’ order edit/create/view screens (that is, the Glide layout editor couldn’t surface my previously-customized screens, instead showing the generic ones based out of the table)
Just one further observation. It’s not actually possible to change a Text type column to a Relation type column (or any computed column type for that matter), so you can’t have done that. I assume that you instead created a new column and gave it the same name?
You’re right, I did not rename the text column. Instead, I created a new column (of Relation type) and then replaced the references of the old (text) column with the new column (relation and its derivatives), then deleted the old column.
Somehow, one of those steps caused the custom layouts that I previously had to disappear
Firstly, I still question that filter. If “Type of Order” is a relation column, then “Type of Order is Sale” makes no sense and would not match anything. Relation columns can only ever be “empty” or “not empty”. They will never match a specific value.
Secondly, in your second screenshot I see two Orders tabs. But in your third screenshot there is only one. What happened to the extra Orders tab?