I'm working on building my own migration tool to move our sites from SharePoint 2013 into DNN/EVOQ. I already have the tool extracting the path, filename, page summary, and page content. What I'm trying to work on now is it's ability to create a matching page in DNN for that content.
I found a previous article here http://burnignorance.com/...dules-in-dotnetnuke/ which talks about it a little bit, but it doesn't go into detail about how to get reference to the "portal" when your code isn't running from within the DNN codebase. In my case this will be a windows forms application and within it I will be specifying the SharePoint server (and credentials to connect to it) AND the DNN portal (and credentials to connect to it).
The ideal process would be if the page requires a parent page (if so look up the parent pageID) then create the target page with a default HTML module, populate the filename, title, summary, page security, parentpage ID, and then populate the default HTML module content from the PageContent of SharePoint.
If anyone has any information on how to get access from a windows application to the PortalSettings that would be a great help. If anyone has done anything like this before and would be willing to share what they have or learned that would be a HUGE help. I'm planning on releasing what I have done once it's working and I've ran it through it's paces. I've got to believe it would be valuable as either a reference or a stepping stone for soneone else looking to migrate but faced with a very large amount of data to transfer.
Posted By Chris Wollesen on 16 Sep 2019 10:41 AM I found a previous article here http://burnignorance.com/...dules-in-dotnetnuke/ which talks about it a little bit, but it doesn't go into detail about how to get reference to the "portal" when your code isn't running from within the DNN codebase. In my case this will be a windows forms application and within it I will be specifying the SharePoint server (and credentials to connect to it) AND the DNN portal (and credentials to connect to it).
There have been other WF apps that addressed the database. I think there was one for removing spam users, but I'm not sure were you could find it. If you google getting the Portal from an http module (.net) you might find your answer as that's also outside of the DNN context.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.