cancel
Showing results for 
Search instead for 
Did you mean: 

How to import an entire website? Thanks!

markyou
Champ in-the-making
Champ in-the-making
I have already exported an entire site, including all html, xml, and web forms.

But when I import an entire one but the xml is not relevant with the forms although they are in the war package. The xml is plain xml, can't be edited directly.

So I want to find out is it the problem of export the website or the way import is incorrect.


Could somebody help ? Thanks !
4 REPLIES 4

kvc
Champ in-the-making
Champ in-the-making
Mark:


To import an existing web project onto a new server, you can do the following:

*  Export your web forms as an ACP
*  Import your web forms ACP into your target server's Data Dictionary
*  Create your web project, and associate your imported web forms
*  Bulk import your content

As you note, your XML will not automatically be associated with your imported XML.  If you click EDIT on the XML, however, you'll note the last sentence where it prompts you to associate the XML with one of the web forms associated with your project.  Click on the hyperlink, and select the relevant web form.  You will be able to edit your content, and you will re-generated your assets.  You'll be able from then on to edit that XML or its generated assets using that web form.

Unfortunately, this is a manually, asset-by-asset, user-initiated association.  Over time, everything will get reassociated.

We have a filed improvement request to rip through all XML to associate.  That, however, is not currently scheduled for a release.

Hope that helps a bit!

Kevin

markyou
Champ in-the-making
Champ in-the-making
I tried to import the whole using ACP files,
referring http://wiki.alfresco.com/wiki/Export_and_Import
I use the following steps configuring the bootstrap process for a full restore:
   1.  Install Alfresco, but do not start (or ensure existing Alfresco installation is configured against an empty database and file system).
   2. Rename existing restore-context.xml.sample to restore-context.xml and place into the configuration extension directory /alfresco/extension.
   3. By default, restore-context.xml assumes a package name of 'export' was used. If this is not the case, replace all occurrences of 'export' with your package name.
   4. Create a directory called restore within /alfresco/extension.
   5. Place the exported files from the source Repository into /alfresco/extension/restore.
   6. Start Alfresco

but there occur error message as followed:

ERRO[[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class   org.alfresco.web.app.Contextlistener
caused by An applied patch already exist:
idSmiley Tongueatch.actionRuleDecouplingPatch


I am not sure what was wrong. The paths, names are all correct.

jninan
Champ in-the-making
Champ in-the-making
I tried importing some files of mine that were tied to some web forms which are now available in my new web project  too.

But when i edit those xml files I get an error regenerating the renditions

"filename.html does not have aspect {http://www.alfresco.org/model/wcmappmodel/1.0}rendition "

It works fine if i delete the exisitng renditions and regenerate them freshly.

If you have any work around please let me know

mgomarg
Champ in-the-making
Champ in-the-making
Hello !

I have the same problem with Alfresco. I did a complete export and later import, and it  gives me the error:

An applied patch already exist:
idSmiley Tongueatch.actionRuleDecouplingPatch


Did you resolve it?

Thanks, María