Internal Page Navigation Within Iframe - Need Guidance

I’m trying to add clickable links within an iframe component in NocoBase that navigate to internal pages (e.g., /admin/xxxxx), but I’m encountering navigation issues.

What I’ve Tried

  1. HTML anchor tags with various targets:

    <a href="/admin/xxxxx" target="_parent">Go to Admin Page</a>
    <a href="/admin/xxxxx" target="_top">Go to Admin Page</a>
    
  2. JavaScript approaches:

    <a href="#" onclick="window.parent.location.href='/admin/xxxxx'; return false;">Navigate</a>
    <button onclick="window.top.location.pathname='/admin/xxxxx'">Navigate</button>
    

Current Behavior

  • Links either don’t respond to clicks
  • Open blank windows within the iframe
  • Show “blank#blocked” in the URL bar

Questions

  1. What is the recommended way to create internal page navigation links within NocoBase iframes?

Currently, only absolute paths are supported for navigation inside iframes. Relative paths may not work as expected.
View this demo: https://a_lz7m0mv75jl.v7.demo.nocobase.com/admin/6ujtdw7pevw

Thank you! Are there plans to allow relative paths? I am trying to embed power bi inside the iframe but maybe I should use the HTML block instead since that allows links?