How can I call different datasets from different dynamic pages?

I’ve got a series of data visualisation projects in a dynamic page series. They are all rather different and I have built them manually in HTML iframe elements, the code for which I store in the dynamic page dataset and pass it to the iframe for each project when its specific dynamic page loads. It works well.

However, some of the projects have quite a bit of data involved that gets processed by my visualisation projects and I’ve previously stored them in separate wix datasets. But now I’ve moved to the dynamic page setup to avoid the page limit, I need to pass this data from a variety of datasets through to the specific dynamic pages that use them - I’d rather not have to paste it as an array into the HTML code for each project. I guess my question is: can I make my dynamic page dataset have references to load 1 or more other datasets that will be different for each dynamic page? I wasn’t sure if ‘nested’ dataset references were possible. I can’t seem to add another ‘dataset’ element to the page that could have a variable reference to a collection.

e.g. I want to be able to have a column in my dynamic page dataset named “supporting data collection” within which each row will have a different collection reference like “LaunchData” so my orbital launch visualisation dynamic page can access that data collection, and another being “UKGovernmentDeficit1800-2022” so my datapoints on UK national debt can be passed to the dynamic page for that project which I plot graphs of with the HTML iframe element.

I don’t know how to do this or if it’s even possible.
Thanks in advance for the help! :slight_smile: