Dynamic data to pass into the component

how to pass data from Model into used inside IFrame Code.

i have tried with the following link:
https://docs.retool.com/docs/custom-components

but here all i want data from model into the script inside IFrame Code

Hi there,

I finally managed to get custom components working for me after many failed attempts (and some help from Victoria :smile:

This post may help:

The main thing is using the window.Retool.subscribe function (see example). I put absolutely everything into that function, I'm sure you could make it more elegant but it's simple and it worked.

HTH
Dominic