Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Export/Import multiple pagesExport/Import multiple pages
Previous
 
Next
New Post
7/30/2015 4:54 AM
 
Willem Bonekamp wrote:

Thanks Michael !

I tried this module but unfortunately you can only share users/modules and not the pages.
This doesn't do the trick for me but thanks anyway!

The pages are in the same DNN instance so it must be possible to mave them to another portal.
Isn't this possible in datadase, SQL query?

Anyone?

Willem,

that's waht I meant when I wrote that you cannot import a complete tree.

If you just want to move them (and not keep them in the same portal) this should be possible in doing that inside the database, but I would suggest to do it in a testing environment first. The following is only a guess, don't blame me if it is wrong - please test before you do it in a production environment, make a lot of backup and restores and try to find an SQL statement that does it.

First thing to change is to update the PortalID column in the Tabs table. Then you should check the TabUrls table, and the TabPermission table. Make sure that all UserIDs and RoleIDs exist in the second portal, and that the users affected belong to the same groups as in the first portal. The users should be the smaller problem, either use portal groups or add a record with the UserID and PortalID in the UserPortals table. The link between users and groups can be found in the UserRoles table. Also check the ModulePermissions table under the same point of view.

After you have done this, you should recycle the application pool to clear the cache and then see if it works. I cannot guarantee that this will work, maybe I ahve forgotten other tables that could be affected (e.g. there are modules that are using the data based on the PortalID and not ModuleID, such as Blog - then you have to change the PortalID in the corresponding tables from the module as well).

Could be a lot of work... Let me know if you need help.

Happy DNNing!
Michael

 


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
7/31/2015 12:00 PM
 
Willem Bonekamp wrote:

I have to import the pages in an existing portal.
How can I use the Site wizard to import pages in an existing portal?

 

 The Site Wizard is basically a multiple page import.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Export/Import multiple pagesExport/Import multiple pages


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out