14 votes

uSiteBuilder Import

PLEASE USE THIS FAR BETTER PACKAGE

http://our.umbraco.org/projects/backoffice-extensions/usitebuilder-admin

:)

 

 

 

Import your existing Umbraco Project into the excellent uSiteBuilder from the guys at http://www.vegaitsourcing.rs/ 

Latest source code here https://bitbucket.org/Offroadcode/usitebuilderimporter

The project simply reads directly from your Umbraco database, there is no writing or installing into your Umbraco project involved so it's safe to use. 

Instructions

  • Unzip to a directory
  • Open Visual Studio
  • Open that directory as website
  • Change the connection string in the web.config file to the Umbraco database you want to replicate (connection string format below) in uSiteBuilder (the code only reads the db, no writes or changes)
  • <add key="ImportDB" value="server=.\sqlexpress;database=DataBaseName;user id=UserID;password=Password"/>
  • Run the site

You should also see some summary page & two folders should be created in the root of that directory, namely “DocumentTypes” & “MasterPages”,

The two folders should contain all the uSiteBuilder classes for your site, so these need to be copied to your uSiteBuilder solution, hopefully it should build.

If you have custom datatypes such as uComponents then this project should pick these up but you will need to install them on any destination site. 

Sure there can be many improvements so open for collaboration / rewrites or whatever. Had a few requests for the code so just thought it would be easier to release here

Thanks to Gordon Saxby http://our.umbraco.org/member/1955 the tool also supports MySQL as well as SQL Server. It's not been tested with SQLCE, but can't see why it would not work.

Note: This is not an official tool of Vega so please don't report bugs to them, use the forum here.

uSiteBuilder is available here http://our.umbraco.org/projects/developer-tools/usitebuilder

Screenshots

Package owner

Rich Green

Rich Green

Rich has 3893 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
8.1.x (untested)
8.0.x (untested)
7.14.x (untested)
7.13.x (untested)
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Rich Green
  • Contributors: Gordon Saxby
  • Created: 26/11/2011
  • Current version 1.0
  • License MIT
  • Downloads: 1511

External resources