We have defined a service on our DNN application to migrate pages among environments.
Using TabController we find a tab and export to XML its properties, permissions and modules.
Then, we recreate the tab on another environment by calling TabController.AddTab. After that, set its properties, permissions and modules, and call TabController.UpdateTab.
When we browse to the page, the page is indeed created, but its modules are not showing. When going to edit mode, the page show the modules created and configured, but the page was not published.
We've tried calling TabController.PublishTab, but with no effect.
This used to work on DNN 6.x versions, but now we have 8.1.