WebSite X5Help Center

 
Adrian B.
Adrian B.
User

Copy objects and pages between projects  en

Автор: Adrian B.
Просмотрено 1226, Подписчики 1, Размещенный 0  

I thought I read a post once where you can copy objects or pages between projects?

So today I tried it - and I could copy a page in one project and place it into a different project....WOW, that would be fantastic time saver.

But when I preview I get the following "cannot load page" error screen - see file

Thank you

Размещено
9 Ответы
Esahc ..
Esahc ..
Moderator

Adrian, that should work (2 copies of WX5 running), but can you try copying individual objects from the original project to a blank page in the new project in the second instance of WX5 (just as a test)? Does that work?

Читать больше
Размещено От Esahc ..
Giuseppe Guida
Giuseppe Guida
User

Hi, the same error to what occurs when copying the objects in Header and Footer from one project to another, all documented with a video here and already reported to Incomedia:

https://youtu.be/69d1wl8MHJY

P.S. Probably the "cannot load page" error depends on some particular object present in the project

Читать больше
Размещено От Giuseppe Guida
Esahc ..
Esahc ..
Moderator

Adrian & Giuseppe

I can copy individual objects on a page between projects by opening 2 instances of WX5, but I can no longer copy a page from one project to the other in v2020.2.5 (I am sure this was possible not long ago because I did it successfully before making a post). I initially could not copy objects from the header between projects, but I copied an object from the header to a cell on a page of project 1, then copied that object from the page and successfully pasted it into the header of project 2. After this I could select, copy and paste any object from the header in project1 to the header in project 2

I will shut down and restart windows later to test again and update this post if the behaviour changes.

Читать больше
Размещено От Esahc ..
Giuseppe Guida
Giuseppe Guida
User

Thanks for your feedback Esahc.
I can copy the pages from one project to another (same version, of course) and I have no problems with this...

Читать больше
Размещено От Giuseppe Guida
Esahc ..
Esahc ..
Moderator

Giuseppe, I cannot get a consistent result. I cannot copy pages from below a level to a new project, I can copy other pages in the root, but multiple times I got the result Adrian got, and once or twice it worked as expected.

I can no longer copy objects from the header to the header in new project (and yet I could earlier)

I will approach this again tomorrow, tonight it is "doing my head in" - I cannot find a pattern or consistency

Читать больше
Размещено От Esahc ..
Adrian B.
Adrian B.
User
Автор

Glad its not just me. I will try copying objects tonight - but copying a whole page would be great....

Читать больше
Размещено От Adrian B.
Incomedia
Stefano G.
Incomedia

Hello Adrian

Copying a page should definitely be possible. However, as Objects get more and more complex, sometimes they lack data that was present in the previous project and no longer is in the new one.

When you get such an error at page load, try to go to Step 2 -> Responsive Design and Resolutions and change whatever breakpoint's size by one pixel. Then, launch the preview.

It should recreate all data. If it still doesn't work like this, let me know here and I will investigate this further

Thank you

Stefano

Читать больше
Размещено От Stefano G.
Adrian B.
Adrian B.
User
Автор

So I copied a different page from one project into another and it works fine - at least the preview works fine - I have not uploaded to the server.

The previous page I uploaded that failed has a shopping cart object - I'm thinking that is the issue.  Can shopping cart settings under the Advanced tab be copied?  

I have not tried that yet but I will.

Adrian

Читать больше
Размещено От Adrian B.
Adrian B.
Adrian B.
User
Автор

Well that worked - I copied the product level item from the cart product list to the other project - now it shows in the preview ok.  I'll try uploading to the server next and see what happens

Читать больше
Размещено От Adrian B.