Get the generated slug for {{_permalink}}

But i just thought of something else , https://www.vapid.com/dashboard/records/{{_id}}/edit should work as well.

That’s what I was going to suggest as well:

<a href="/dashboard/records/{{_id}}/edit">Edit</a>

If you want it to be host agnostic for production/local dev.