You nailed it!
Really nicely done.
I don’t know enough about Velo code to experiment like that. In this specific instance, it didn’t occur to me that “.value” might offer a solution. Elsewhere and in other respects, certainly (buttons, inputs, text elements, etc).
This is huge. I am now the master of my stored content. I’m so excited. There isn’t much I won’t be able to do with this.
Thanks so much.
If anyone needs it, the modified code snippet simply uses “.value” instead of “.html” on the element ID’s as follows:
function pageContent() {
$w("#dataGAM").onReady( () => {
$w("#dataGAM").getItems(0, 1)
.then( (result) => {
let items = result.items;
$w("#richContent1").value = items[0].gam1;
$w("#richContent2").value = items[0].gam2;
});
});
}
Thanks, again, Amanda. And happy coding, all…