Iframe Component - Trigger retool query from iframe

I have an iframe component that contains a webpage with a form. Essentially when the form inside the iframe is submitted, it would be awesome to trigger a query in retool. Or even just refresh the page.

I have full ownership and control over the code of the webpage and the form.

Is this possible at all? It seems like retool is sandboxed in such a way that methods like the postMessage approach don't work.

Hi @Drew

to interact with Retool from an external webpage you should use the Custom Component instead of an iFrame that is completely sandboxed from Retool.

Here the doc to get started:

Hope this help

1 Like