Scott McCulloch wrote:
If the data is in a structured format, you could load it into a temporary table and then write a sql script that would:
1.) Generate the pages
2.) Associate taxonomy
3.) Add text/html to each page
4.) Populate text/html for each page with your existing data
Thank you, Scott. I am not sure I did a good job of phrasing my question. The data is "structured" in the sense that these are pages in the source database and, as such, presumably all their elements are in the Tabs and related table. My problem is that I don't really understand a) the DNN schema or b) what scripting interfaces exist. Let me take an example...
Let's say I have a page on my source database that uses a specific module. That page is represented in the Tabs table and then there are various other tables that describe the module and where it appears on the page. If I just copy across the contents of the Tabs table then the module ID's referenced in that table won't be the same as those in the target database.
What I really need is some "import page" (and it's related content)-type API, so that this is all abstracted for me. Is that available?
I have also looked at the schema associated with taxonomy. I see the Taxonomy_Terms and Taxonomy_Vocabularies tables, for example. But, as yet, I can't see where a particular term is associated with a page.
In short, I'd love to find some "import page" API that does all this for me.
If I don't have that option then I am back to square one. For example, when you say "Generate the pages" do you mean manually (remember, I have a couple hundred)? Is there some API call that will at least create the basic page? Same for things like "Add text/html to each page". I am not sure how to go about this from a scripting perspective.
Thanks.
Mark