Anchor link for every record

Hello,
I can’t for the love of me figure out if it’s possible to have a button or a link on a record with it’s anchor link to a specific page?
I can go and make it by hand and it takes me where I want to go, but how can I make it in a formula or something, so every record has it?
Like I can do SELF_HYPERLINK(page=2) but it only opens the page with card widget, but it’s on a first record, not the one I want.

Watch this: https://www.youtube.com/watch?v=tWXvMxgGYk4&t=567s

This is an amazing feature which I’m gonna use extensively, but that’s not what I’m asking.

I want to have a convenient shortcut to go from dashboard of all orders to a page with a card widget and linked table of order lines for one concrete order so I can edit those. Not as an external visitor, but owner of a document.

So apparently the solution is not yet implemented `GET_ANCHOR` function · Issue #673 · gristlabs/grist-core · GitHub

But it’s possible to get it working with

def GET_ANCHOR(ref):
“”"
ref: a <class ‘table.Table.init..Record’> object
typically returned by Table.lookupOne or contained in a Reference column
“”"
return f"{SELF_HYPERLINK(page=‘data’)}#a1.s2.r{ref.id}.c1"

Code from GitHub issue comments