Storing HTML within database and utilizing w/ dynamic pages

@giri-zano Thanks a lot for the tutorial. That’s exactly what I needed!
I just want to add one thing for people that might encounter problems while setting this up.

I wasn’t able to get it working until I did these steps (after following all the steps you pointed in the tutorial):

I had to create an “onMessage” event:

And then I had to type the code from your part 2 like this (of course the event name, dataset name and iframe name need to be changed):

export function commandsHtml3_message(event) {
 let urlMessage = $w('#commandsDataset').getCurrentItem().command;
    $w("#commandsHtml3").postMessage(urlMessage);
}

Just leaving this here as it might help people who aren’t corvid experts.