Edit the formula that opens a card in a card view (or open row button in any view)

I have a suggestion that I think may be pretty easy to implement and would step Coda up just that little bit extra.

Context:
I am building a part management system for my company where a core part of it is an inventory of parts. These parts can be of various types:

  • Custom parts
  • Purchased parts
  • Assemblies
    These are all kept in one flat table as they share a lot of properties but there are a few things that are more interesting to view with one compared with another. Because of this I have a different modal view for each part.

E.g, when I click on an assembly I get a list of all of it’s sub parts, when I click on a purchased part I can see an embedded view of the link to purchase that part.

The problem is that with the normal “Open Row” button you can’t edit the logic to open a different Layout depending on the Part Type, meaning that they all have the same Layout when opened. I have made a button which DOES do this, but it means the user needs to first open the row and then click on my button to take them to the correct details.

What I would love to be able to edit the formula which drives the “Open Row” button directly be this in a normal table view but especially in a card view (since you can’t turn off the open row on click behavior).

This would really make my Coda docs that little bit cleaner and easier to use which I think is a good thing!