Hi, I want to connect the website embedding option to a database, is that possible?
Hi there I have not personally tested this but I think this would be the code you’re looking for (from this post )
$w.onReady(() => {
$w("#dynamicDataset").onReady(() => {
const itemUrl = $w('#dynamicDataset').getCurrentItem().url;
$w('#html1').src = itemUrl
});
});
url = The Field Key in the database where each link is stored. Change according to your Field Key.
Hi, i tried the code, but i have this error instead of the output:
Could not get staticMediaUrls TypeError: undefined is not an object (evaluating ‘this.getControllerConfig().platformAPIs.topology.media’)
Is there a solution?
Could not get staticMediaUrls TypeError: undefined is not an object (evaluating ‘this.getControllerConfig().platformAPIs.topology.media’)
Is there a solution?