Copying Page with 2sxc content doesn't copy the modules


I have a page with several 2sxc content modules. After copying the entire page (using the Page menu in DNN), the new page loses all of the content and even the module assignment (Data and View). This seems like a bug.

Using the Export Page/Import Page method, the resulting page retains the module data/view assignment. However(!), the data referenced by these modules is pointing to the same data from the original page. You edit the data on the new page, the data on the old page changes.

Can someone tell me what the proper way to copy a page is?


The first thing - page not copying modules - is strange and sounds like a dnn bug. Could you post more about what versions of dnn/2sxc you were using?

The export-import behavior you describe is technically correct. There's extensive documentation on export import - check it out here: <a href="http://2sxc.org/en/Learn/Import-Export" rel="nofollow">http://2sxc.org/en/Learn/Import-Export</a>

Now exactly your use case is one which doesn't "just work" because dnn-export-import or copy-page don't provide enough options or code-events for 2sxc to ensure doing what you need. Basically there are two challenges

<ol><li>pre-populating the already entered content...</li> <li>but possibly (very likely) not by pointing to any original material - it the most extreme case it would have to copy all the elements, images, etc.</li> </ol>

At the moment this is simply not implemented, but could be if needed, it's just 2-3 days of coding/testing to get it to work.

What you probably need though is something simpler: usually people want a template-page which can be re-used for new pages. This can be done fairly well because every 2sxc-module can show demo-data (so not have own data yet), and if it's copied in this mode, then later adding of data will have it's own copy and not link to existing. So what you would do is

<ol><li>create a template page with all modules, but make sure you always only close the view-picker, but don't add data yet</li> <li>export it, so it's ready for import</li> </ol>

that's it :) hope it helps.


  • Opencv 3.4.1 error invalid register for .seh_savexmm
  • What should install to work with customization of DotnetNuke?
  • How to get name & link of parent page in DNN
  • How much time “import theano” takes to run?
  • Accessing the real file name of a symbolic linked file
  • C function pointer type compatibility
  • Multiple Layouts Previews for Android in Eclipse
  • NetBeans doesn't see style.css [duplicate]
  • ggplot2 polygon world map centred with limits gives funny edges
  • Deploying pre-encrypted configuration files to a production environment
  • HTTP Module intercept requests and breaks custom errors configuration
  • Instanciate service on startup in Angular2
  • get passwords from chrome
  • How can I see a list of all files that are different between two Hg repositories?
  • Receive mouse move even cursor is outside control
  • Retaining data after updating application
  • Request response issues in biztalk
  • Most efficient way to move table rows from one table to another
  • How to handle elastic beanstalk deployment so it uploads only changed files
  • Who propagate bugfixes across branches (corporate development)?
  • Filter strings with regex before casting to numeric
  • Overlapping controls in Windows XP
  • xcode don't localize specific strings
  • std::remove_copy_if_ valgrind bytes in block are possibly lost in loss record
  • How to define custom class, title, and target in Link Browser for content elements and the new rte_c
  • Functions in global context
  • How to avoid particles glitching together in an elastic particle collision simulator?
  • ilmerge with a PFX file
  • Fetching methods from BroadcastReceiver to update UI
  • Symfony2: How to get request parameter
  • GridView Sorting works once only
  • XCode can't find symbols for a specific iOS library/framework project
  • WPF Applying a trigger on binding failure
  • Free memory of cv::Mat loaded using FileStorage API
  • coudnt use logback because of log4j
  • Memory offsets in inline assembly
  • Turn off referential integrity in Derby? is it possible?
  • Running Map reduces the dimensions of the matrices
  • Observable and ngFor in Angular 2
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize