Hi,
I have a parent tab that is a template for several other tabs I am creating programmatically. I can create the new tabs and copy over the modules with the content from the parent tab using TabController, CopyTab and setting IncludeContent to True.
Dim objtab As New TabController
objtab.CopyTab(0, 10, newtabid,
True)
When I do this, instead of creating new modules it just copies over the same modules from the template tab with the same ModuleIDs. So, if I change or add content to the new pages, it shows up on the template tab also. If I change the IncludeContent to False, it adds new Modules with new ModuleIDs, but the template content is missing.
objtab.CopyTab(0, 10, newtabid, False)
Does anyone know how I can copy a tab with it's modules, but instead of just duplicating the moduleIDs from the template add new ModuleIDs? That way when I change the new tab the original template will stay the same?
Thanks for your help!
MJC