Import Export Pages Between Projects?...

User 3006919 Photo

Registered User
18 posts

Hi All,
I have my main project I'm developing.
However I needed a quick simple page to go live on my current website - just a standalone page.
Built one in SD, and uploaded to my site - all fine.

Now I also want this page in the new site I am building in SD. I don't really want to have to rebuild it all from scratch if I can help it.
But I can't see anyway of importing an existing SD page into a new SD project - am I missing this?
Is there a simple way of moving pages between SD projects?

User 187934 Photo

Senior Advisor
19,980 posts
Online Now

Open the existing project and make components from content on the page to import to new project. Or delete all the unwanted pages and content and save as new project.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
This is a site I built for use in my job.(HTML Editor)
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
User 122279 Photo

Senior Advisor
14,148 posts
Online Now

Do this: If you haven't already a wrapping container around everything on that separate page, then make one. Call it whatever you want, but preferably don't use a class name that you may be using in your 'real' project. Then make a component of it, and upload it to the component library.
Next, open your real project and import that component to a blank page. Take off that temporary wrapper, and check if any of the class names have got a '-1' appended. That often happens if you import something with class names that have been used in the project already. You need to correct it. Then you should be good to go.
Ha en riktig god dag!
Inger, Norway
This site was made before we were able to create components through the app:
Component sharing for RFF, RBB, RSD and SD:
My work in progress right now:
Components for the same as above + HTML Editor:

User 379556 Photo

Registered User
1,343 posts

I have done it successfully by wrapping the whole page in a container, making a component of that container, and exporting that component to the library. One can then open the component in a new project as long as the new project uses the same framework.

In fact my standard procedure when making a page is to start with a container, and build the whole page within that container. That saves time in doing the above.

If one hasn't done something like that, the wrapping of the whole page in a container can be done by the following steps -
1. creating a new container (with a class of, say, 'whole-page' at the foot of the Elements Tree, and, in the Elements Tree
a. clicking on Collapse All Nodes;
b. selecting the item immediately above the whole-page container;
c. pressing Ctrl+right_arrow (or the Mac equivalent) on the keyboard to move that item into the 'whole-page' container;
d. repeating steps b and c until everything is within the 'whole-page' container.


PS. I typed the above before seeing Inger's post. This post may, however, prove of use regarding the wrapping.
User 3006919 Photo

Registered User
18 posts

Many thanks for the advice gents.
Much appreciated - I didn't fancy trying to rebuild everything, especially with the breakpoints...!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.