Linking to frontend URL from editing interface

I’m trying to link to the frontend URL of an asset I’m currently editing from within the Edit+ interface (for Reasons), but the keyword combinations I’m trying don’t want to work.

I have a Content Container Template on a page (https://site.com/page). That CCT includes a metadata field with a description that is shown in the editing interface, which is where I’m trying to add this link.

So in that metadata description field, viewing it from https://site.com/page/_edit I’ve tried %asset_url% and ./?a=%asset_assetid%, but in each case, the result is weird.

%asset_url% returns https://site.com/page/%asset_url% and ./?a=%asset_assetid% returns https://site.com/page?a=%asset_assetid%

Can anyone help?

Found the answer ourselves! Thank you @woowoowoo

<a href="./">Link</a> does exactly what I need (in case anyone is looking for a solution).

1 Like

Just curious to know if you have tried Frontend Asset Keywords?

%frontend_asset_url%

Yep, gave that a try - same issue.